.invcfg-app{
  --invcfg-primary:var(--invhu-primary,#ec008c);
  --invcfg-dark:var(--invhu-dark,#191919);
  --invcfg-pale:var(--invhu-pale,#fff1f8);
  --invcfg-border:#e3e3e3;
  --invcfg-muted:#6a6a6a;
  --invcfg-radius:18px;
  --invcfg-shadow:0 16px 40px rgba(0,0,0,.06);
  color:var(--invcfg-dark);
  font:inherit;
}
.invcfg-app *{box-sizing:border-box}
.invcfg-shell{max-width:1240px;margin:0 auto;padding:32px 20px 90px}
.invcfg-hero{max-width:780px;margin:0 0 28px}
.invcfg-eyebrow,.invcfg-step-kicker{display:block;color:var(--invcfg-primary);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}
.invcfg-hero h2,.invcfg-step-heading h3{margin:0;color:var(--invcfg-dark);line-height:1.12}
.invcfg-hero h2{font-size:clamp(1.9rem,3.5vw,3.1rem)}
.invcfg-hero p{font-size:1.05rem;line-height:1.65;color:var(--invcfg-muted);margin:16px 0 0}
.invcfg-progress{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}
.invcfg-progress span{padding:8px 14px;border-radius:999px;background:#f1f1f1;color:#747474;font-size:.84rem;font-weight:700}
.invcfg-progress span.is-active{background:var(--invcfg-primary);color:#fff}
.invcfg-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px;align-items:start}
.invcfg-main,.invcfg-summary-panel{background:#fff;border:1px solid var(--invcfg-border);border-radius:var(--invcfg-radius);box-shadow:var(--invcfg-shadow)}
.invcfg-main{padding:24px}
.invcfg-summary-panel{position:sticky;top:28px;padding:20px}
.invcfg-summary-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--invcfg-border);padding-bottom:14px;margin-bottom:14px}
.invcfg-summary-head span{font-weight:800;font-size:1.05rem}
.invcfg-summary-head strong,.invcfg-mobile-summary strong{display:grid;place-items:center;min-width:30px;height:30px;padding:0 8px;background:var(--invcfg-primary);color:#fff;border-radius:999px;font-size:.82rem}
.invcfg-summary-content{display:grid;gap:12px}
.invcfg-summary-quote-cta{margin-top:16px;padding-top:16px;border-top:1px solid var(--invcfg-border)}
.invcfg-summary-quote-cta[hidden]{display:none!important}
.invcfg-summary-quote-cta .invcfg-button{width:100%;min-height:46px;padding-left:14px;padding-right:14px}
.invcfg-empty{color:var(--invcfg-muted);margin:0}
.invcfg-summary-product{border-bottom:1px solid var(--invcfg-border);padding-bottom:12px}
.invcfg-summary-product:last-child{border-bottom:0}
.invcfg-summary-product strong{display:block}
.invcfg-summary-product ul{margin:8px 0 0 18px;padding:0;color:var(--invcfg-muted);font-size:.9rem}
.invcfg-price-note{font-size:.78rem;line-height:1.5;color:var(--invcfg-muted);border-top:1px solid var(--invcfg-border);padding-top:14px;margin:16px 0 0}
.invcfg-step{display:none}
.invcfg-step.is-active{display:block}
.invcfg-step-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:20px}
.invcfg-step-heading h3{font-size:clamp(1.5rem,2.3vw,2.2rem)}
.invcfg-back{display:inline-flex;align-items:center;border:0;background:transparent;padding:10px 14px;margin:0 0 10px -14px;color:var(--invcfg-muted);cursor:pointer;font:inherit;font-weight:700;border-radius:999px;transition:background .18s ease,color .18s ease}
.invcfg-back:hover,.invcfg-back:focus-visible{background:var(--invcfg-pale);color:var(--invcfg-primary);outline:none}
.invcfg-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.invcfg-card{appearance:none;width:100%;border:1px solid var(--invcfg-border);border-radius:16px;background:#fff;padding:0;text-align:left;color:inherit;overflow:hidden;cursor:pointer;transition:.18s ease;position:relative}
.invcfg-card:hover:not(:disabled){border-color:var(--invcfg-primary);background:var(--invcfg-pale);transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.08)}
.invcfg-card.is-selected{border-color:var(--invcfg-primary);background:var(--invcfg-primary);color:#fff;transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.10)}
.invcfg-card.is-selected .invcfg-card-body strong,.invcfg-card.is-selected .invcfg-card-body small,.invcfg-card.is-selected .invcfg-badge{color:#fff}
.invcfg-card.is-selected .invcfg-badge{background:rgba(255,255,255,.18)}
.invcfg-card.is-selected .invcfg-card-arrow{color:#fff}
.invcfg-card:disabled{cursor:not-allowed;opacity:.58}
.invcfg-category-card .invcfg-card-media{height:170px;background:#fafafa}
.invcfg-card-media{height:150px;display:grid;place-items:center;background:#f7f7f7;overflow:hidden}
.invcfg-card-media img{width:100%;height:100%;object-fit:contain;padding:8px}
.invcfg-placeholder{display:grid;place-items:center;width:70px;height:70px;border-radius:50%;background:var(--invcfg-primary);color:#fff;font-weight:900}
.invcfg-card-body{display:flex;flex-direction:column;padding:16px 44px 16px 16px;min-height:112px}
.invcfg-card-body strong{display:block;line-height:1.35;margin-bottom:6px;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:normal}
.invcfg-card-body small{display:block;color:var(--invcfg-muted);line-height:1.35}
.invcfg-product-title{min-height:2.7em}
.invcfg-product-size{margin-top:auto}
.invcfg-card-arrow{position:absolute;right:16px;bottom:18px;color:var(--invcfg-primary);font-size:1.25rem;font-weight:900}
.invcfg-option-group{margin-top:24px}
.invcfg-option-group:first-child{margin-top:0}
.invcfg-option-group-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.invcfg-option-group h4{margin:0;font-size:1.12rem}
.invcfg-option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.invcfg-option-card{display:grid;grid-template-columns:76px 1fr;min-height:102px}
.invcfg-option-card .invcfg-card-media{height:100%;min-height:100px}
.invcfg-option-card .invcfg-card-body{min-height:auto;padding:14px}
.invcfg-option-meta{display:flex;align-items:center;gap:8px;margin-top:8px}
.invcfg-badge{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;background:#f0f0f0;color:#555;font-size:.74rem;font-weight:700}
.invcfg-badge.is-disabled{background:#fff1cc;color:#7b5d00}
.invcfg-qty{display:flex;align-items:center;gap:8px;margin-top:10px}
.invcfg-qty button{width:30px;height:30px;border:1px solid var(--invcfg-border);background:#fff;border-radius:50%;cursor:pointer;font:inherit}
.invcfg-qty span{min-width:24px;text-align:center;font-weight:800}
.invcfg-step-actions{display:flex;justify-content:flex-end;margin-top:24px}
.invcfg-step-actions-split{justify-content:space-between;gap:12px}
.invcfg-button{appearance:none;border:1px solid var(--invcfg-primary);border-radius:999px;padding:13px 20px;font:inherit;font-weight:800;cursor:pointer}
.invcfg-button-primary{background:var(--invcfg-primary);color:#fff}
.invcfg-button-secondary{background:#fff;color:var(--invcfg-primary)}
.invcfg-message{margin-top:18px;padding:14px 16px;border-radius:12px;background:#fff4f4;color:#8b1e1e}
.invcfg-loading{grid-column:1/-1;padding:30px;text-align:center;color:var(--invcfg-muted)}
.invcfg-final-summary{display:grid;gap:14px}
.invcfg-final-card{border:1px solid var(--invcfg-border);border-radius:16px;padding:18px}
.invcfg-final-card h4{margin:0 0 8px}
.invcfg-final-card ul{margin:0 0 0 18px;color:var(--invcfg-muted)}
.invcfg-mobile-summary{display:none}
@media(max-width:1024px){
  .invcfg-layout{grid-template-columns:1fr}
  .invcfg-summary-panel{position:static}
  .invcfg-card-grid,.invcfg-option-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .invcfg-shell{padding:20px 14px 88px}
  .invcfg-main{padding:16px}
  .invcfg-progress{overflow:auto;flex-wrap:nowrap;padding-bottom:4px}
  .invcfg-progress span{white-space:nowrap}
  .invcfg-card-grid,.invcfg-option-grid{grid-template-columns:1fr}
  .invcfg-card-media{height:180px}
  .invcfg-option-card{grid-template-columns:92px 1fr}
  .invcfg-option-card .invcfg-card-media{height:100%}
  .invcfg-summary-panel{display:none}
  .invcfg-mobile-summary{display:flex;position:fixed;left:12px;right:12px;bottom:12px;z-index:9999;align-items:center;justify-content:center;gap:12px;border:0;border-radius:999px;background:var(--invcfg-dark);color:#fff;padding:13px 18px;box-shadow:0 12px 32px rgba(0,0,0,.22);font:inherit;font-weight:800}
  .invcfg-step-actions-split{flex-direction:column-reverse}
  .invcfg-button{width:100%}
}

.invcfg-family-filters{display:flex;gap:8px;flex-wrap:wrap;margin:-4px 0 18px}
.invcfg-filter-pill{appearance:none;border:1px solid var(--invcfg-border);background:#fff;color:var(--invcfg-dark);border-radius:999px;padding:9px 13px;font:inherit;font-size:.84rem;font-weight:750;cursor:pointer;transition:.18s ease}
.invcfg-filter-pill:hover,.invcfg-filter-pill:focus-visible{border-color:var(--invcfg-primary);color:var(--invcfg-primary);outline:none}
.invcfg-filter-pill.is-active{background:var(--invcfg-dark);border-color:var(--invcfg-dark);color:#fff}
.invcfg-filter-pill span{opacity:.65;margin-left:4px}
.invcfg-product-card[hidden]{display:none!important}
@media(max-width:680px){
  .invcfg-family-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px;margin-bottom:14px}
  .invcfg-filter-pill{white-space:nowrap;flex:0 0 auto}
  .invcfg-card-body{min-height:104px}
  .invcfg-product-title{min-height:auto}
}

.invcfg-step-subtitle{margin:8px 0 0;color:var(--invcfg-muted);font-size:.96rem;line-height:1.5}
.invcfg-filter-label{display:inline-flex;align-items:center;padding:8px 4px 8px 0;color:var(--invcfg-muted);font-size:.82rem;font-weight:750}
.invcfg-model-card .invcfg-card-body{min-height:104px}
.invcfg-size-card .invcfg-card-body{min-height:96px}
.invcfg-size-title{font-size:1.08rem}
.invcfg-size-card:disabled .invcfg-card-arrow{display:none}
@media(max-width:680px){
  .invcfg-filter-label{display:none}
  .invcfg-model-card .invcfg-card-media,.invcfg-size-card .invcfg-card-media{height:165px}
}

.invcfg-model-reference{margin-bottom:6px;font-size:.78rem;color:var(--invcfg-muted);font-weight:700}
.invcfg-card:hover:not(:disabled) .invcfg-model-reference{color:#444}
.invcfg-option-group{border:1px solid var(--invcfg-border);border-radius:14px;padding:0;background:#fff;overflow:hidden}
.invcfg-option-group + .invcfg-option-group{margin-top:12px}
.invcfg-option-group-head{list-style:none;cursor:pointer;padding:14px 16px;margin:0!important;display:flex;align-items:center;justify-content:space-between;background:#fafafa}
.invcfg-option-group-head::-webkit-details-marker{display:none}
.invcfg-option-group-head h4{margin:0}
.invcfg-option-group-head span{font-size:1.25rem;line-height:1;color:var(--invcfg-primary)}
.invcfg-option-group[open] .invcfg-option-group-head span{transform:rotate(45deg)}
.invcfg-option-group .invcfg-option-grid{padding:14px}
.invcfg-summary-actions{display:flex;gap:10px;margin-top:10px}
.invcfg-summary-actions button{appearance:none;border:0;background:transparent;color:var(--invcfg-primary);font:inherit;font-size:.82rem;font-weight:800;padding:4px 0;cursor:pointer}
.invcfg-summary-actions button:hover,.invcfg-summary-actions button:focus-visible{text-decoration:underline;outline:none}
.invcfg-toast{position:fixed;right:20px;bottom:20px;z-index:10000;display:flex;align-items:center;gap:14px;max-width:min(440px,calc(100vw - 32px));padding:13px 16px;border-radius:14px;background:var(--invcfg-dark);color:#fff;box-shadow:0 16px 40px rgba(0,0,0,.28)}
.invcfg-toast button{appearance:none;border:0;background:transparent;color:#fff;font:inherit;font-weight:800;text-decoration:underline;cursor:pointer}
@media(max-width:680px){
  .invcfg-toast{left:16px;right:16px;bottom:72px}
}


/* v0.4.5 UX consolidation */
.invcfg-app .invcfg-card:hover:not(:disabled){background:var(--invcfg-pale)!important;color:var(--invcfg-dark)!important}
.invcfg-app .invcfg-card:hover:not(:disabled) .invcfg-card-body strong{color:var(--invcfg-dark)!important}
.invcfg-app .invcfg-card:hover:not(:disabled) .invcfg-card-body small{color:#4f4f4f!important}
.invcfg-app .invcfg-card:hover:not(:disabled) .invcfg-card-arrow{color:var(--invcfg-primary)!important}
.invcfg-app .invcfg-card.is-selected,.invcfg-app .invcfg-card.is-selected:hover{background:var(--invcfg-primary)!important;color:#fff!important}
.invcfg-app .invcfg-card.is-selected .invcfg-card-body strong,.invcfg-app .invcfg-card.is-selected .invcfg-card-body small,.invcfg-app .invcfg-card.is-selected .invcfg-card-arrow{color:#fff!important}
.invcfg-app .invcfg-filter-pill:hover:not(.is-active),.invcfg-app .invcfg-filter-pill:focus-visible:not(.is-active){background:var(--invcfg-pale)!important;border-color:var(--invcfg-primary)!important;color:var(--invcfg-primary)!important}
.invcfg-app .invcfg-filter-pill.is-active,.invcfg-app .invcfg-filter-pill.is-active:hover{background:var(--invcfg-dark)!important;border-color:var(--invcfg-dark)!important;color:#fff!important}
.invcfg-choice-card .invcfg-card-body{min-height:88px}
.invcfg-size-choice-panel{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;padding:6px 0}
.invcfg-size-filter-choice{padding:11px 16px!important;font-size:.92rem!important}
.invcfg-summary-reference{display:block;margin-top:4px;color:var(--invcfg-muted);font-size:.8rem;font-weight:700}
.invcfg-summary-actions{gap:8px;flex-wrap:wrap}
.invcfg-summary-actions button{padding:9px 13px!important;border-radius:999px!important;text-decoration:none!important;background:var(--invcfg-pale)!important;color:var(--invcfg-primary)!important;line-height:1.1}
.invcfg-summary-actions button:hover,.invcfg-summary-actions button:focus-visible{background:var(--invcfg-primary)!important;color:#fff!important;text-decoration:none!important}
.invcfg-option-toggle{margin-top:10px;width:auto;padding:9px 14px}
.invcfg-managed-page-main{width:100%;margin:0;padding:0}
body.invcfg-managed-page .entry-title,body.invcfg-managed-page .page-title{display:none!important}
body.invcfg-managed-page main#primary{max-width:none!important;width:100%!important}
@media(max-width:680px){.invcfg-summary-actions button{padding:10px 14px!important}}

/* v0.4.6 explicit commit + continuation flow */
.invcfg-config-actions{justify-content:flex-end;gap:10px;flex-wrap:wrap}
.invcfg-add-success{margin-top:18px;padding:18px;border:1px solid #dce9df;border-radius:16px;background:#f5fbf6}
.invcfg-success-head{display:flex;align-items:flex-start;gap:12px}
.invcfg-success-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#18864b;color:#fff;font-weight:900}
.invcfg-success-head strong{display:block;font-size:1rem}
.invcfg-success-head p{margin:4px 0 0;color:var(--invcfg-muted);line-height:1.45}
.invcfg-success-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}
.invcfg-next-products{margin-top:16px;padding-top:15px;border-top:1px solid #dce9df}
.invcfg-next-products>strong{display:block;margin-bottom:9px;font-size:.9rem}
.invcfg-next-chips{display:flex;gap:8px;flex-wrap:wrap}
.invcfg-next-chips button{appearance:none;border:1px solid var(--invcfg-border);background:#fff;color:var(--invcfg-dark);border-radius:999px;padding:9px 13px;font:inherit;font-size:.82rem;font-weight:800;cursor:pointer;transition:.18s ease}
.invcfg-next-chips button:hover,.invcfg-next-chips button:focus-visible{border-color:var(--invcfg-primary);background:var(--invcfg-pale);color:var(--invcfg-primary);outline:none}
@media(max-width:680px){
  .invcfg-config-actions,.invcfg-success-actions{flex-direction:column}
  .invcfg-config-actions .invcfg-button,.invcfg-success-actions .invcfg-button{width:100%}
  .invcfg-next-chips{flex-direction:column}
  .invcfg-next-chips button{width:100%;text-align:left}
}

.invcfg-disambiguation{display:block;margin-top:5px;color:var(--invcfg-muted);font-size:.76rem;line-height:1.35}
.invcfg-card:hover:not(:disabled) .invcfg-disambiguation{color:#444}
.invcfg-card.is-selected .invcfg-disambiguation{color:#fff}

/* v0.4.8 mobile choice wrapping + local project restore */
.invcfg-restore-prompt{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px;padding:16px 18px;border:1px solid #d9dfe6;border-radius:16px;background:#f7f9fb;box-shadow:0 8px 24px rgba(0,0,0,.04)}
.invcfg-restore-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.invcfg-restore-copy strong{font-size:1rem;color:var(--invcfg-dark)}
.invcfg-restore-copy span{font-size:.84rem;color:var(--invcfg-muted);line-height:1.4}
.invcfg-restore-actions{display:flex;gap:8px;flex:0 0 auto}
.invcfg-restore-actions .invcfg-button{padding:10px 15px}

@media(max-width:680px){
  .invcfg-family-filters{
    flex-wrap:wrap!important;
    overflow-x:visible!important;
    padding-bottom:0!important;
    gap:8px!important;
  }
  .invcfg-family-filters .invcfg-filter-pill{
    white-space:normal!important;
    flex:0 1 auto!important;
    min-height:44px;
  }
  .invcfg-size-choice-panel{
    display:grid!important;
    grid-template-columns:repeat(auto-fit,minmax(108px,1fr))!important;
    gap:8px!important;
    overflow-x:visible!important;
    padding:6px 0!important;
  }
  .invcfg-size-choice-panel .invcfg-size-filter-choice{
    width:100%!important;
    min-height:46px;
    white-space:normal!important;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
  }
  .invcfg-next-chips{
    display:grid!important;
    grid-template-columns:1fr!important;
    overflow:visible!important;
  }
  .invcfg-restore-prompt{
    align-items:stretch;
    flex-direction:column;
    gap:12px;
    padding:15px;
  }
  .invcfg-restore-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
  }
  .invcfg-restore-actions .invcfg-button{
    width:100%;
  }
}
@media(max-width:390px){
  .invcfg-size-choice-panel{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .invcfg-restore-actions{
    grid-template-columns:1fr;
  }
}

/* v0.4.9 mobile/restore hotfix */
.invcfg-restore-prompt[hidden]{
  display:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  min-height:0!important;
  box-shadow:none!important;
}

@media(max-width:680px){
  .invcfg-main,
  .invcfg-step,
  .invcfg-product-grid,
  .invcfg-family-filters,
  .invcfg-size-choice-panel{
    min-width:0!important;
    max-width:100%!important;
  }

  /* Navigation chips / active filters: wrap in a real grid instead of a carousel. */
  .invcfg-family-filters{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    overflow:visible!important;
    overflow-x:visible!important;
    overscroll-behavior-x:none!important;
    padding:0!important;
    margin:-4px 0 16px!important;
  }
  .invcfg-family-filters .invcfg-filter-pill{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:44px!important;
    flex:none!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    text-align:center!important;
    justify-content:center!important;
  }

  /* Sizes are short values, so show multiple rows at once. */
  .invcfg-size-choice-panel{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    overflow:visible!important;
    overflow-x:visible!important;
    overscroll-behavior-x:none!important;
    padding:4px 0!important;
  }
  .invcfg-size-choice-panel .invcfg-size-filter-choice{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:46px!important;
    flex:none!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    padding:10px 8px!important;
  }

  .invcfg-restore-prompt:not([hidden]){
    display:flex!important;
  }
}

@media(max-width:420px){
  .invcfg-family-filters{
    grid-template-columns:1fr!important;
  }
  .invcfg-size-choice-panel{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* v0.4.10 mobile progress navigation */
@media(max-width:680px){
  .invcfg-progress{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    overflow:visible!important;
    overflow-x:visible!important;
    padding:0!important;
  }
  .invcfg-progress span{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    flex:none!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    text-align:center!important;
    justify-content:center!important;
    min-height:44px!important;
    display:flex!important;
    align-items:center!important;
    padding:10px 8px!important;
    box-sizing:border-box!important;
  }
}

/* v0.4.11 inquiry-state UX */
.invcfg-badge.is-inquiry{
  background:#fff4d6;
  color:#765200;
  border:1px solid #eed69a;
}
.invcfg-card.is-selected .invcfg-badge.is-inquiry{
  background:rgba(255,255,255,.18);
  border-color:rgba(255,255,255,.35);
  color:#fff;
}
.invcfg-summary-inquiry{
  display:block;
  margin-top:5px;
  color:#8a6100;
  font-size:.78rem;
  font-weight:800;
  line-height:1.35;
}

/* v0.4.13 option controls, cross-sell and image zoom */
.invcfg-qty{
  display:inline-grid;
  grid-template-columns:40px minmax(34px,auto) 40px;
  align-items:center;
  gap:7px;
  margin-top:12px;
  width:max-content;
}
.invcfg-qty-btn{
  position:relative;
  width:40px!important;
  height:40px!important;
  padding:0!important;
  border:1px solid var(--invcfg-border)!important;
  border-radius:50%!important;
  background:#fff!important;
  color:var(--invcfg-dark)!important;
  cursor:pointer;
  transition:.16s ease;
}
.invcfg-qty-btn:hover:not(:disabled),
.invcfg-qty-btn:focus-visible:not(:disabled){
  border-color:var(--invcfg-primary)!important;
  background:var(--invcfg-pale)!important;
  outline:none;
}
.invcfg-qty-btn:disabled{opacity:.35;cursor:default}
.invcfg-qty-btn>span::before,
.invcfg-qty-btn>span::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:14px;
  height:2px;
  border-radius:2px;
  background:currentColor;
  transform:translate(-50%,-50%);
}
.invcfg-qty-plus>span::after{
  transform:translate(-50%,-50%) rotate(90deg);
}
.invcfg-qty-minus>span::after{display:none}
.invcfg-qty-value{
  min-width:34px;
  text-align:center;
  font:inherit;
  font-weight:800;
  color:inherit;
}

.invcfg-related-note{
  margin-top:14px;
  padding:14px 16px;
  border:1px dashed #d8c1cf;
  border-radius:14px;
  background:#fff9fc;
}
.invcfg-related-note strong{display:block;margin-bottom:4px}
.invcfg-related-note p{margin:0;color:var(--invcfg-muted);font-size:.88rem;line-height:1.45}

.invcfg-related-recommendations{
  margin-top:18px;
  padding-top:17px;
  border-top:1px solid #dce9df;
}
.invcfg-related-heading{display:flex;flex-direction:column;gap:3px;margin-bottom:11px}
.invcfg-related-heading>strong{font-size:.95rem}
.invcfg-related-heading>span{color:var(--invcfg-muted);font-size:.8rem}
.invcfg-related-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.invcfg-related-card{
  appearance:none;
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  gap:0;
  width:100%;
  min-width:0;
  padding:0;
  border:1px solid var(--invcfg-border);
  border-radius:14px;
  background:#fff;
  color:var(--invcfg-dark);
  overflow:hidden;
  text-align:left;
  cursor:pointer;
  transition:.18s ease;
}
.invcfg-related-card:hover,
.invcfg-related-card:focus-visible{
  border-color:var(--invcfg-primary);
  background:var(--invcfg-pale);
  outline:none;
  transform:translateY(-1px);
}
.invcfg-related-card .invcfg-card-media{
  height:100%;
  min-height:100px;
  border-right:1px solid var(--invcfg-border);
}
.invcfg-related-card-copy{
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  padding:12px;
}
.invcfg-related-card-copy>small{
  color:var(--invcfg-primary);
  font-size:.7rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.invcfg-related-card-copy>strong{
  margin:4px 0 7px;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.invcfg-related-card-copy>em{
  margin-top:8px;
  color:var(--invcfg-primary);
  font-size:.78rem;
  font-style:normal;
  font-weight:800;
}

.invcfg-image-zoom-preview{
  position:fixed;
  z-index:2147483000;
  width:360px;
  height:360px;
  display:none;
  place-items:center;
  padding:16px;
  border:1px solid #ddd;
  border-radius:18px;
  background:#fff;
  box-shadow:0 22px 60px rgba(0,0,0,.22);
  pointer-events:none;
}
.invcfg-image-zoom-preview.is-visible{display:grid}
.invcfg-image-zoom-preview img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}

@media(max-width:680px){
  .invcfg-qty{
    grid-template-columns:44px minmax(38px,auto) 44px;
  }
  .invcfg-qty-btn{
    width:44px!important;
    height:44px!important;
  }
  .invcfg-related-grid{
    grid-template-columns:1fr;
  }
  .invcfg-related-card{
    grid-template-columns:92px minmax(0,1fr);
  }
  .invcfg-related-card .invcfg-card-media{
    min-height:108px;
  }
  .invcfg-related-note{
    padding:13px 14px;
  }
}

/* v0.4.14 generic requested-items / context-product UX */
.invcfg-request-scope{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,420px);
  gap:18px;
  align-items:center;
  margin-bottom:16px;
  padding:16px 18px;
  border:1px solid var(--invcfg-border);
  border-radius:16px;
  background:#fafafa;
}
.invcfg-request-scope-copy strong{display:block;margin-bottom:4px;font-size:1rem}
.invcfg-request-scope-copy p{margin:0;color:var(--invcfg-muted);font-size:.86rem;line-height:1.45}

.invcfg-base-toggle{
  display:grid;
  grid-template-columns:auto auto minmax(0,1fr);
  gap:10px;
  align-items:center;
  cursor:pointer;
}
.invcfg-base-toggle>input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
.invcfg-base-toggle-control{
  position:relative;
  width:46px;
  height:26px;
  border-radius:999px;
  background:#c8ccd2;
  transition:.18s ease;
}
.invcfg-base-toggle-control::after{
  content:"";
  position:absolute;
  top:3px;
  left:3px;
  width:20px;
  height:20px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.18);
  transition:.18s ease;
}
.invcfg-base-toggle>input:checked + .invcfg-base-toggle-control{background:var(--invcfg-primary)}
.invcfg-base-toggle>input:checked + .invcfg-base-toggle-control::after{transform:translateX(20px)}
.invcfg-base-toggle>input:focus-visible + .invcfg-base-toggle-control{outline:3px solid rgba(211,0,105,.18);outline-offset:2px}
.invcfg-base-toggle>span:last-child{display:flex;min-width:0;flex-direction:column}
.invcfg-base-toggle>span:last-child strong{font-size:.9rem}
.invcfg-base-toggle>span:last-child small{margin-top:2px;color:var(--invcfg-muted);font-size:.76rem;line-height:1.35}

.invcfg-commit-preview{
  margin-top:18px;
  padding:17px 18px;
  border:1px solid #d9dfe6;
  border-radius:16px;
  background:#f7f9fb;
}
.invcfg-commit-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.invcfg-commit-preview-head strong{display:block;font-size:.98rem}
.invcfg-commit-preview-head span{display:block;margin-top:3px;color:var(--invcfg-muted);font-size:.78rem}
.invcfg-commit-list{display:grid;gap:8px;margin:13px 0 0;padding:0;list-style:none}
.invcfg-commit-list li{
  display:grid;
  grid-template-columns:100px minmax(0,1fr);
  column-gap:10px;
  row-gap:2px;
  align-items:baseline;
  padding:9px 10px;
  border-radius:10px;
  background:#fff;
}
.invcfg-commit-kind{
  color:var(--invcfg-muted);
  font-size:.72rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.invcfg-commit-list li>strong{font-size:.88rem;overflow-wrap:anywhere}
.invcfg-commit-list li>small{grid-column:2;color:var(--invcfg-muted);font-size:.74rem}
.invcfg-commit-empty{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:12px;
  padding:11px 12px;
  border-radius:10px;
  background:#fff4d6;
  color:#765200;
}
.invcfg-commit-empty span{font-size:.8rem;line-height:1.4}

.invcfg-context-reference{
  display:grid;
  gap:3px;
  margin-top:12px;
  padding:11px 12px;
  border-left:3px solid var(--invcfg-primary);
  border-radius:0 10px 10px 0;
  background:#fff;
}
.invcfg-context-reference>span{
  color:var(--invcfg-primary);
  font-size:.7rem;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.invcfg-context-reference>strong{font-size:.86rem;overflow-wrap:anywhere}
.invcfg-context-reference>small{color:var(--invcfg-muted);font-size:.76rem}
.invcfg-context-only{
  display:block;
  margin-top:5px;
  color:var(--invcfg-primary);
  font-size:.76rem;
  font-weight:800;
  line-height:1.35;
}
.invcfg-context-reference-inline{
  padding:10px 12px;
  border-left:3px solid var(--invcfg-primary);
  background:#faf7f9;
  font-size:.84rem;
  line-height:1.45;
}
.invcfg-button:disabled{
  opacity:.48!important;
  cursor:not-allowed!important;
  transform:none!important;
  box-shadow:none!important;
}

@media(max-width:760px){
  .invcfg-request-scope{grid-template-columns:1fr;gap:13px;padding:15px}
  .invcfg-base-toggle{
    grid-template-columns:auto minmax(0,1fr);
    padding:12px;
    border-radius:12px;
    background:#fff;
  }
  .invcfg-base-toggle-control{grid-row:1 / span 1}
  .invcfg-base-toggle>span:last-child{grid-column:2}
  .invcfg-commit-preview{padding:15px}
  .invcfg-commit-list li{grid-template-columns:1fr;gap:3px}
  .invcfg-commit-kind{grid-column:1}
  .invcfg-commit-list li>small{grid-column:1}
}

/* v0.4.15 actionable related-product flow */
.invcfg-related-recommendations{
  margin-top:18px;
  padding:18px;
  border:1px solid #ead5e0;
  border-radius:16px;
  background:#fff9fc;
}
.invcfg-related-heading{
  margin-bottom:12px;
}
.invcfg-related-heading>strong{
  display:block;
  font-size:1rem;
}
.invcfg-related-heading>span{
  display:block;
  margin-top:4px;
  color:var(--invcfg-muted);
  font-size:.8rem;
  line-height:1.45;
}
.invcfg-related-card{
  box-shadow:0 2px 10px rgba(0,0,0,.035);
}
.invcfg-related-card-copy>em{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:7px 9px;
  border-radius:8px;
  background:var(--invcfg-pale);
}
.invcfg-related-reference{
  display:block;
  margin-top:-3px;
  margin-bottom:5px;
  color:var(--invcfg-muted);
  font-size:.72rem;
  line-height:1.3;
}
.invcfg-related-card.is-loading{
  opacity:.6;
  pointer-events:none;
}
.invcfg-related-card.is-loading .invcfg-related-card-copy>em::after{
  content:" …";
}
.invcfg-success-actions{
  margin-top:16px;
}

@media(max-width:680px){
  .invcfg-related-recommendations{
    padding:14px;
    border-radius:14px;
  }
  .invcfg-related-card{
    min-height:108px;
  }
}


/* v0.4.16 – related-product bubble readability fixes */
.invcfg-related-grid{
  align-items:stretch;
}

.invcfg-related-card{
  align-items:stretch;
  transition:border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}

.invcfg-related-card .invcfg-card-media{
  flex:0 0 80px;
}

.invcfg-related-card-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  min-width:0;
  width:100%;
}

.invcfg-related-card-copy small{
  display:block;
  margin:0;
  line-height:1.25;
  white-space:normal;
}

.invcfg-related-card-copy strong{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width:0;
  max-width:100%;
  line-height:1.28;
  white-space:normal;
  overflow-wrap:break-word;
  word-break:normal;
  hyphens:auto;
  color:var(--invcfg-text);
}

.invcfg-related-card-copy em{
  margin-top:auto;
  color:var(--invcfg-primary);
  font-style:normal;
  font-weight:700;
  line-height:1.2;
  white-space:normal;
}

.invcfg-related-card:hover,
.invcfg-related-card:focus-visible{
  background:#fff;
  border-color:var(--invcfg-primary);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  transform:translateY(-1px);
}

.invcfg-related-card:hover .invcfg-related-card-copy strong,
.invcfg-related-card:focus-visible .invcfg-related-card-copy strong{
  color:var(--invcfg-text);
}

.invcfg-related-card:hover .invcfg-related-card-copy small,
.invcfg-related-card:focus-visible .invcfg-related-card-copy small{
  color:var(--invcfg-primary);
}

.invcfg-related-card:hover .invcfg-related-card-copy em,
.invcfg-related-card:focus-visible .invcfg-related-card-copy em{
  background:var(--invcfg-pale);
  color:var(--invcfg-primary);
}

@media(max-width:680px){
  .invcfg-related-card{
    grid-template-columns:72px minmax(0,1fr);
    column-gap:12px;
  }

  .invcfg-related-card .invcfg-card-media{
    flex-basis:72px;
  }

  .invcfg-related-card-copy strong{
    -webkit-line-clamp:3;
    font-size:.94rem;
  }

  .invcfg-related-card-copy em{
    width:100%;
    justify-content:center;
    text-align:center;
  }
}


/* v0.4.17 – prevent generic card hover from blanking related-product text */
.invcfg-related-card,
.invcfg-related-card:hover,
.invcfg-related-card:focus-visible,
.invcfg-related-card:active{
  color:var(--invcfg-dark)!important;
  background:#fff!important;
}

.invcfg-related-card .invcfg-related-card-copy,
.invcfg-related-card:hover .invcfg-related-card-copy,
.invcfg-related-card:focus-visible .invcfg-related-card-copy{
  color:var(--invcfg-dark)!important;
}

.invcfg-related-card .invcfg-related-card-copy strong,
.invcfg-related-card:hover .invcfg-related-card-copy strong,
.invcfg-related-card:focus-visible .invcfg-related-card-copy strong,
.invcfg-related-card:active .invcfg-related-card-copy strong{
  color:var(--invcfg-dark)!important;
}

.invcfg-related-card .invcfg-related-card-copy small,
.invcfg-related-card:hover .invcfg-related-card-copy small,
.invcfg-related-card:focus-visible .invcfg-related-card-copy small,
.invcfg-related-card:active .invcfg-related-card-copy small{
  color:var(--invcfg-primary)!important;
}

.invcfg-related-card .invcfg-related-reference,
.invcfg-related-card:hover .invcfg-related-reference,
.invcfg-related-card:focus-visible .invcfg-related-reference,
.invcfg-related-card:active .invcfg-related-reference{
  color:var(--invcfg-muted)!important;
}

.invcfg-related-card .invcfg-related-card-copy em,
.invcfg-related-card:hover .invcfg-related-card-copy em,
.invcfg-related-card:focus-visible .invcfg-related-card-copy em,
.invcfg-related-card:active .invcfg-related-card-copy em{
  color:var(--invcfg-primary)!important;
  background:var(--invcfg-pale)!important;
}

.invcfg-related-card:hover,
.invcfg-related-card:focus-visible{
  border-color:var(--invcfg-primary)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.08)!important;
}

.invcfg-related-card:hover .invcfg-badge.is-inquiry,
.invcfg-related-card:focus-visible .invcfg-badge.is-inquiry{
  color:#765200!important;
  background:#fff4d6!important;
  border-color:#eed69a!important;
}


/* v0.4.18 – mobile related-card contrast + universal image centering */

/*
 * Keep all configurator product imagery centered inside its visual frame.
 * Explicit object-position overrides theme/third-party rules that may align
 * images to the top.
 */
.invcfg-app .invcfg-card-media{
  display:grid!important;
  place-items:center!important;
  align-items:center!important;
  justify-items:center!important;
}

.invcfg-app .invcfg-card-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  margin:auto!important;
  padding:8px!important;
  object-fit:contain!important;
  object-position:50% 50%!important;
}

/* Related cards use the same centered image behavior. */
.invcfg-app .invcfg-related-card .invcfg-card-media{
  display:grid!important;
  place-items:center!important;
  align-items:center!important;
  justify-items:center!important;
}

.invcfg-app .invcfg-related-card .invcfg-card-media img{
  object-fit:contain!important;
  object-position:center center!important;
}

/*
 * Touch browsers can keep :hover/:active/focus states "sticky".
 * Make the related-card text palette explicit for every interactive state,
 * including WebKit text fill, so neither theme CSS nor generic button styles
 * can turn the content white.
 */
.invcfg-app .invcfg-related-card,
.invcfg-app .invcfg-related-card:hover,
.invcfg-app .invcfg-related-card:focus,
.invcfg-app .invcfg-related-card:focus-visible,
.invcfg-app .invcfg-related-card:active{
  background:#fff!important;
  color:var(--invcfg-dark)!important;
  -webkit-text-fill-color:var(--invcfg-dark)!important;
}

.invcfg-app .invcfg-related-card .invcfg-related-card-copy,
.invcfg-app .invcfg-related-card:hover .invcfg-related-card-copy,
.invcfg-app .invcfg-related-card:focus .invcfg-related-card-copy,
.invcfg-app .invcfg-related-card:focus-visible .invcfg-related-card-copy,
.invcfg-app .invcfg-related-card:active .invcfg-related-card-copy{
  color:var(--invcfg-dark)!important;
  -webkit-text-fill-color:var(--invcfg-dark)!important;
}

.invcfg-app .invcfg-related-card .invcfg-related-card-copy strong,
.invcfg-app .invcfg-related-card:hover .invcfg-related-card-copy strong,
.invcfg-app .invcfg-related-card:focus .invcfg-related-card-copy strong,
.invcfg-app .invcfg-related-card:focus-visible .invcfg-related-card-copy strong,
.invcfg-app .invcfg-related-card:active .invcfg-related-card-copy strong{
  color:var(--invcfg-dark)!important;
  -webkit-text-fill-color:var(--invcfg-dark)!important;
}

.invcfg-app .invcfg-related-card .invcfg-related-card-copy small,
.invcfg-app .invcfg-related-card:hover .invcfg-related-card-copy small,
.invcfg-app .invcfg-related-card:focus .invcfg-related-card-copy small,
.invcfg-app .invcfg-related-card:focus-visible .invcfg-related-card-copy small,
.invcfg-app .invcfg-related-card:active .invcfg-related-card-copy small,
.invcfg-app .invcfg-related-card .invcfg-related-card-copy em,
.invcfg-app .invcfg-related-card:hover .invcfg-related-card-copy em,
.invcfg-app .invcfg-related-card:focus .invcfg-related-card-copy em,
.invcfg-app .invcfg-related-card:focus-visible .invcfg-related-card-copy em,
.invcfg-app .invcfg-related-card:active .invcfg-related-card-copy em{
  color:var(--invcfg-primary)!important;
  -webkit-text-fill-color:var(--invcfg-primary)!important;
}

.invcfg-app .invcfg-related-card .invcfg-related-reference,
.invcfg-app .invcfg-related-card:hover .invcfg-related-reference,
.invcfg-app .invcfg-related-card:focus .invcfg-related-reference,
.invcfg-app .invcfg-related-card:focus-visible .invcfg-related-reference,
.invcfg-app .invcfg-related-card:active .invcfg-related-reference{
  color:var(--invcfg-muted)!important;
  -webkit-text-fill-color:var(--invcfg-muted)!important;
}

.invcfg-app .invcfg-related-card .invcfg-badge.is-inquiry,
.invcfg-app .invcfg-related-card:hover .invcfg-badge.is-inquiry,
.invcfg-app .invcfg-related-card:focus .invcfg-badge.is-inquiry,
.invcfg-app .invcfg-related-card:focus-visible .invcfg-badge.is-inquiry,
.invcfg-app .invcfg-related-card:active .invcfg-badge.is-inquiry{
  color:#765200!important;
  -webkit-text-fill-color:#765200!important;
  background:#fff4d6!important;
  border-color:#eed69a!important;
}

/* Do not emulate desktop hover on touch devices. */
@media (hover:none), (pointer:coarse){
  .invcfg-app .invcfg-related-card:hover,
  .invcfg-app .invcfg-related-card:focus,
  .invcfg-app .invcfg-related-card:active{
    background:#fff!important;
    border-color:var(--invcfg-border)!important;
    box-shadow:0 2px 10px rgba(0,0,0,.035)!important;
    transform:none!important;
  }

  .invcfg-app .invcfg-related-card:focus-visible{
    border-color:var(--invcfg-primary)!important;
    box-shadow:0 0 0 3px rgba(211,0,105,.12)!important;
  }
}


/* v0.4.19 – visually centered product thumbnails
 *
 * `contain` centered the file canvas but not the product inside the photo.
 * Cards now use a centered, non-distorted crop (`cover`) so the actual
 * product occupies more of the available card area. The desktop hover
 * preview still uses `contain`, therefore the complete source image remains
 * available without cropping.
 */
.invcfg-app .invcfg-card-media{
  overflow:hidden!important;
  background:#f7f7f7!important;
}

.invcfg-app .invcfg-card-media img{
  width:100%!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:none!important;
}

/* Category imagery benefits from a small extra visual zoom because these
 * are broad lifestyle/category photos rather than technical packshots.
 */
.invcfg-app .invcfg-category-card .invcfg-card-media img{
  object-fit:cover!important;
  object-position:center center!important;
}

/* Product, option and related cards use the same centered crop. */
.invcfg-app .invcfg-product-card .invcfg-card-media img,
.invcfg-app .invcfg-option-card .invcfg-card-media img,
.invcfg-app .invcfg-related-card .invcfg-card-media img{
  object-fit:cover!important;
  object-position:center center!important;
}

/* The hover magnifier must always show the entire original image. */
.invcfg-image-zoom-preview img{
  width:100%!important;
  height:100%!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}

/* Give the image area a stable visual ratio where cards are large enough.
 * This makes mixed source aspect ratios feel consistent.
 */
.invcfg-category-card .invcfg-card-media{
  aspect-ratio:3 / 2;
  height:auto!important;
  min-height:160px;
}

@media(max-width:680px){
  .invcfg-category-card .invcfg-card-media{
    min-height:132px;
  }

  /* Small accessory/related thumbnails still crop centrally but keep enough
   * height for recognisability on touch devices.
   */
  .invcfg-option-card .invcfg-card-media,
  .invcfg-related-card .invcfg-card-media{
    min-height:96px;
  }
}


/* v0.4.20 – structural related-card fix + visual focal-point fix */

/* Related recommendations are now role=button DIVs, not HTML buttons.
 * This intentionally avoids site/theme button:hover rules on mobile.
 */
.invcfg-app div.invcfg-related-card{
  appearance:none!important;
  -webkit-appearance:none!important;
  text-decoration:none!important;
  color:var(--invcfg-dark)!important;
  -webkit-text-fill-color:initial!important;
  background:#fff!important;
  font:inherit!important;
  line-height:normal!important;
}

.invcfg-app div.invcfg-related-card *,
.invcfg-app div.invcfg-related-card:hover *,
.invcfg-app div.invcfg-related-card:focus *,
.invcfg-app div.invcfg-related-card:focus-visible *,
.invcfg-app div.invcfg-related-card:active *{
  -webkit-text-fill-color:initial!important;
}

.invcfg-app div.invcfg-related-card .invcfg-related-card-copy{
  min-width:0!important;
  width:100%!important;
  color:var(--invcfg-dark)!important;
}

.invcfg-app div.invcfg-related-card .invcfg-related-card-copy strong{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:2px 0 4px!important;
  color:var(--invcfg-dark)!important;
  -webkit-text-fill-color:var(--invcfg-dark)!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  overflow:visible!important;
  text-overflow:clip!important;
  -webkit-line-clamp:unset!important;
  -webkit-box-orient:initial!important;
  line-height:1.3!important;
}

.invcfg-app div.invcfg-related-card .invcfg-related-card-copy small{
  display:block!important;
  width:100%!important;
  color:var(--invcfg-primary)!important;
  -webkit-text-fill-color:var(--invcfg-primary)!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  line-height:1.25!important;
}

.invcfg-app div.invcfg-related-card .invcfg-related-reference{
  color:var(--invcfg-muted)!important;
  -webkit-text-fill-color:var(--invcfg-muted)!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}

.invcfg-app div.invcfg-related-card .invcfg-related-card-copy em{
  color:var(--invcfg-primary)!important;
  -webkit-text-fill-color:var(--invcfg-primary)!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}

.invcfg-app div.invcfg-related-card:hover,
.invcfg-app div.invcfg-related-card:focus-visible{
  background:#fff!important;
  color:var(--invcfg-dark)!important;
  border-color:var(--invcfg-primary)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.08)!important;
  transform:translateY(-1px);
  outline:none!important;
}

.invcfg-app div.invcfg-related-card:focus-visible{
  box-shadow:0 0 0 3px rgba(211,0,105,.12),0 10px 24px rgba(0,0,0,.08)!important;
}

.invcfg-app div.invcfg-related-card.is-loading{
  opacity:.55!important;
  pointer-events:none!important;
}

/* Touch devices: no sticky pseudo-hover treatment at all. */
@media (hover:none), (pointer:coarse){
  .invcfg-app div.invcfg-related-card,
  .invcfg-app div.invcfg-related-card:hover,
  .invcfg-app div.invcfg-related-card:focus,
  .invcfg-app div.invcfg-related-card:active{
    background:#fff!important;
    color:var(--invcfg-dark)!important;
    border-color:var(--invcfg-border)!important;
    box-shadow:0 2px 10px rgba(0,0,0,.035)!important;
    transform:none!important;
  }

  .invcfg-app div.invcfg-related-card .invcfg-related-card-copy strong,
  .invcfg-app div.invcfg-related-card:hover .invcfg-related-card-copy strong,
  .invcfg-app div.invcfg-related-card:focus .invcfg-related-card-copy strong,
  .invcfg-app div.invcfg-related-card:active .invcfg-related-card-copy strong{
    color:var(--invcfg-dark)!important;
    -webkit-text-fill-color:var(--invcfg-dark)!important;
  }

  .invcfg-app div.invcfg-related-card .invcfg-related-card-copy small,
  .invcfg-app div.invcfg-related-card:hover .invcfg-related-card-copy small,
  .invcfg-app div.invcfg-related-card:focus .invcfg-related-card-copy small,
  .invcfg-app div.invcfg-related-card:active .invcfg-related-card-copy small,
  .invcfg-app div.invcfg-related-card .invcfg-related-card-copy em,
  .invcfg-app div.invcfg-related-card:hover .invcfg-related-card-copy em,
  .invcfg-app div.invcfg-related-card:focus .invcfg-related-card-copy em,
  .invcfg-app div.invcfg-related-card:active .invcfg-related-card-copy em{
    color:var(--invcfg-primary)!important;
    -webkit-text-fill-color:var(--invcfg-primary)!important;
  }
}

/* Natural wrapping on small screens: one card per row and no forced truncation. */
@media(max-width:680px){
  .invcfg-app .invcfg-related-grid{
    grid-template-columns:1fr!important;
  }

  .invcfg-app div.invcfg-related-card{
    grid-template-columns:88px minmax(0,1fr)!important;
    min-height:112px!important;
  }

  .invcfg-app div.invcfg-related-card .invcfg-related-card-copy{
    padding:12px 14px!important;
    justify-content:center!important;
  }

  .invcfg-app div.invcfg-related-card .invcfg-related-card-copy strong{
    font-size:.94rem!important;
  }

  .invcfg-app div.invcfg-related-card .invcfg-related-card-copy em{
    display:inline-block!important;
    width:auto!important;
    max-width:100%!important;
    text-align:left!important;
  }
}

/*
 * Visual focal point:
 * many Inventini source photos place the actual product in the lower half
 * (sky/empty background above it). A mathematically centered crop therefore
 * still looks "top aligned". Bias the crop downward so the PRODUCT, not the
 * source canvas, sits closer to the visual centre.
 */
.invcfg-app{
  --invcfg-thumb-y:60%;
  --invcfg-category-thumb-y:66%;
}

.invcfg-app .invcfg-card-media img{
  object-fit:cover!important;
  object-position:50% var(--invcfg-thumb-y)!important;
}

/* Category lifestyle photos have the strongest lower-half bias. */
.invcfg-app .invcfg-category-card .invcfg-card-media img{
  object-position:50% var(--invcfg-category-thumb-y)!important;
}

/* Actual product/options remain only mildly lower-biased. */
.invcfg-app .invcfg-product-card .invcfg-card-media img,
.invcfg-app .invcfg-option-card .invcfg-card-media img,
.invcfg-app div.invcfg-related-card .invcfg-card-media img{
  object-position:50% 58%!important;
}

/* Full desktop hover preview is deliberately unaffected. */
.invcfg-image-zoom-preview img{
  object-fit:contain!important;
  object-position:center center!important;
}


/* v0.4.21 – real visual crop instead of ineffective same-ratio centering */

/*
 * The previous category frame was 3:2 and most source images are also close
 * to 3:2. In that situation object-position cannot visibly reframe the photo.
 * The 16:9 frame below creates actual vertical crop room.
 */
.invcfg-app .invcfg-category-card .invcfg-card-media{
  aspect-ratio:16 / 9!important;
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
  background:#f3f3f3!important;
}

.invcfg-app .invcfg-category-card .invcfg-card-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:50% 78%!important;
  padding:0!important;
  margin:0!important;
}

/*
 * Large product/facet cards get a controlled 4:3 crop. This is intentionally
 * different from the category frame: technical/product imagery generally
 * needs a little more vertical space than lifestyle category imagery.
 */
.invcfg-app .invcfg-product-card .invcfg-card-media,
.invcfg-app .invcfg-choice-card .invcfg-card-media{
  aspect-ratio:4 / 3!important;
  height:auto!important;
  min-height:0!important;
  overflow:hidden!important;
}

.invcfg-app .invcfg-product-card .invcfg-card-media img,
.invcfg-app .invcfg-choice-card .invcfg-card-media img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:50% 68%!important;
  padding:0!important;
  margin:0!important;
}

/*
 * Compact option/related thumbnails retain their existing frame dimensions,
 * but use a slightly lower focal point so products sitting low in the source
 * image are visually centered.
 */
.invcfg-app .invcfg-option-card .invcfg-card-media img,
.invcfg-app div.invcfg-related-card .invcfg-card-media img{
  object-fit:cover!important;
  object-position:50% 65%!important;
  padding:0!important;
  margin:0!important;
}

/*
 * The magnifier is deliberately independent from thumbnail framing:
 * users can always inspect the complete source image.
 */
.invcfg-image-zoom-preview img{
  object-fit:contain!important;
  object-position:50% 50%!important;
  width:100%!important;
  height:100%!important;
  padding:0!important;
  margin:0!important;
}

@media(max-width:680px){
  .invcfg-app .invcfg-category-card .invcfg-card-media{
    aspect-ratio:16 / 9!important;
  }

  .invcfg-app .invcfg-product-card .invcfg-card-media,
  .invcfg-app .invcfg-choice-card .invcfg-card-media{
    aspect-ratio:4 / 3!important;
  }
}


/* v0.4.22 – full-image centered thumbnails
 *
 * Final correction after visual comparison:
 * do NOT crop product imagery. The whole source image is shown with `contain`
 * inside a deliberately taller media frame and is vertically/horizontally
 * centered. This makes the visual centering obvious and prevents tents,
 * flags and other tall products from being cut off.
 */

/* Universal media frame */
.invcfg-app .invcfg-card-media{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  place-items:center!important;
  overflow:hidden!important;
  background:#f7f7f7!important;
}

/* Universal full-image behavior */
.invcfg-app .invcfg-card-media img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  margin:0 auto!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}

/* Category cards: taller than before, so a landscape source image has
 * visible breathing room above and below instead of sitting against the top.
 */
.invcfg-app .invcfg-category-card .invcfg-card-media{
  height:220px!important;
  min-height:220px!important;
  aspect-ratio:auto!important;
  padding:10px!important;
}

.invcfg-app .invcfg-category-card .invcfg-card-media img{
  object-fit:contain!important;
  object-position:center center!important;
}

/* Product / choice cards */
.invcfg-app .invcfg-product-card .invcfg-card-media,
.invcfg-app .invcfg-choice-card .invcfg-card-media{
  height:190px!important;
  min-height:190px!important;
  aspect-ratio:auto!important;
  padding:8px!important;
}

.invcfg-app .invcfg-product-card .invcfg-card-media img,
.invcfg-app .invcfg-choice-card .invcfg-card-media img{
  object-fit:contain!important;
  object-position:center center!important;
}

/* Compact option cards: keep the compact layout, but never crop the item. */
.invcfg-app .invcfg-option-card .invcfg-card-media{
  padding:7px!important;
}

.invcfg-app .invcfg-option-card .invcfg-card-media img{
  object-fit:contain!important;
  object-position:center center!important;
}

/* Related product cards: full image, centered. */
.invcfg-app div.invcfg-related-card .invcfg-card-media{
  padding:6px!important;
}

.invcfg-app div.invcfg-related-card .invcfg-card-media img{
  object-fit:contain!important;
  object-position:center center!important;
}

/* Hover preview remains full-source and uncropped. */
.invcfg-image-zoom-preview img{
  object-fit:contain!important;
  object-position:center center!important;
  width:100%!important;
  height:100%!important;
  padding:0!important;
  margin:0!important;
}

@media(max-width:680px){
  .invcfg-app .invcfg-category-card .invcfg-card-media{
    height:180px!important;
    min-height:180px!important;
    padding:8px!important;
  }

  .invcfg-app .invcfg-product-card .invcfg-card-media,
  .invcfg-app .invcfg-choice-card .invcfg-card-media{
    height:165px!important;
    min-height:165px!important;
    padding:7px!important;
  }

  .invcfg-app .invcfg-option-card .invcfg-card-media,
  .invcfg-app div.invcfg-related-card .invcfg-card-media{
    padding:6px!important;
  }
}


/* v0.4.23 – size chips with separate count badge
 *
 * The count inside size bubbles is visually separated from the size label.
 * Works on desktop and mobile, with explicit hover/focus contrast handling.
 */

.invcfg-app .invcfg-size-filter-choice{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  white-space:nowrap!important;
}

.invcfg-app .invcfg-size-filter-choice .invcfg-size-filter-label{
  display:inline-block!important;
  color:inherit!important;
  line-height:1.2!important;
}

.invcfg-app .invcfg-size-filter-choice .invcfg-size-filter-count{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:22px!important;
  height:22px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  background:var(--invcfg-pale)!important;
  color:var(--invcfg-primary)!important;
  border:1px solid rgba(229, 0, 120, .18)!important;
  font-size:.76rem!important;
  font-weight:900!important;
  line-height:1!important;
  box-sizing:border-box!important;
  flex:0 0 auto!important;
}

/* default hover / focus */
.invcfg-app .invcfg-size-filter-choice:hover:not(.is-active),
.invcfg-app .invcfg-size-filter-choice:focus-visible:not(.is-active){
  background:var(--invcfg-pale)!important;
  border-color:var(--invcfg-primary)!important;
  color:var(--invcfg-primary)!important;
  outline:none!important;
}

.invcfg-app .invcfg-size-filter-choice:hover:not(.is-active) .invcfg-size-filter-label,
.invcfg-app .invcfg-size-filter-choice:focus-visible:not(.is-active) .invcfg-size-filter-label{
  color:var(--invcfg-primary)!important;
}

.invcfg-app .invcfg-size-filter-choice:hover:not(.is-active) .invcfg-size-filter-count,
.invcfg-app .invcfg-size-filter-choice:focus-visible:not(.is-active) .invcfg-size-filter-count{
  background:var(--invcfg-primary)!important;
  color:#fff!important;
  border-color:var(--invcfg-primary)!important;
}

/* selected / active future-safe state */
.invcfg-app .invcfg-size-filter-choice.is-active,
.invcfg-app .invcfg-size-filter-choice.is-active:hover{
  background:var(--invcfg-dark)!important;
  border-color:var(--invcfg-dark)!important;
  color:#fff!important;
}
.invcfg-app .invcfg-size-filter-choice.is-active .invcfg-size-filter-label{
  color:#fff!important;
}
.invcfg-app .invcfg-size-filter-choice.is-active .invcfg-size-filter-count{
  background:#fff!important;
  color:var(--invcfg-dark)!important;
  border-color:#fff!important;
}

@media(max-width:680px){
  .invcfg-app .invcfg-size-choice-panel .invcfg-size-filter-choice{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    padding:10px 8px!important;
    white-space:normal!important;
    text-align:center!important;
  }

  .invcfg-app .invcfg-size-choice-panel .invcfg-size-filter-label{
    display:inline!important;
    overflow-wrap:anywhere!important;
  }

  .invcfg-app .invcfg-size-choice-panel .invcfg-size-filter-count{
    min-width:20px!important;
    height:20px!important;
    padding:0 6px!important;
    font-size:.72rem!important;
  }
}


/* v0.4.24 – mobile parity hardening
 * Mirrors the critical inline override in includes/frontend.php.
 */
@media(max-width:680px){
  .invcfg-app .invcfg-size-choice-panel .invcfg-size-filter-choice{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
  }
  .invcfg-app .invcfg-size-choice-panel .invcfg-size-filter-choice>.invcfg-size-filter-count,
  .invcfg-app .invcfg-size-choice-panel .invcfg-size-filter-choice>span:last-child:not(.invcfg-size-filter-label){
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:22px!important;
    height:22px!important;
    margin:0!important;
    padding:0 7px!important;
    opacity:1!important;
    border:1px solid var(--invcfg-primary)!important;
    border-radius:999px!important;
    background:var(--invcfg-primary)!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    font-size:.74rem!important;
    font-weight:900!important;
    line-height:1!important;
    flex:0 0 auto!important;
  }

  .invcfg-app .invcfg-category-card .invcfg-card-media{
    height:clamp(220px,68vw,280px)!important;
    min-height:220px!important;
    aspect-ratio:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:10px!important;
  }
  .invcfg-app .invcfg-product-card .invcfg-card-media,
  .invcfg-app .invcfg-choice-card .invcfg-card-media{
    height:clamp(190px,60vw,250px)!important;
    min-height:190px!important;
    aspect-ratio:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:9px!important;
  }
  .invcfg-app .invcfg-category-card .invcfg-card-media img,
  .invcfg-app .invcfg-product-card .invcfg-card-media img,
  .invcfg-app .invcfg-choice-card .invcfg-card-media img,
  .invcfg-app .invcfg-option-card .invcfg-card-media img,
  .invcfg-app div.invcfg-related-card .invcfg-card-media img{
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:100%!important;
    margin:auto!important;
    padding:0!important;
    object-fit:contain!important;
    object-position:center center!important;
    transform:none!important;
  }
}

/* v0.5.0 – quote request flow */
.invcfg-quote-form{display:grid;gap:16px}
.invcfg-form-section{padding:18px;border:1px solid var(--invcfg-border);border-radius:16px;background:#fff}
.invcfg-form-section h4{margin:0 0 14px;font-size:1rem;color:var(--invcfg-dark)}
.invcfg-form-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.invcfg-form-section-head h4{margin:0}
.invcfg-quote-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}
.invcfg-quote-grid label,.invcfg-block-label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:.84rem;font-weight:700;color:var(--invcfg-dark)}
.invcfg-quote-grid label.is-wide{grid-column:1/-1}
.invcfg-quote-grid input,.invcfg-block-label textarea{width:100%;box-sizing:border-box;border:1px solid var(--invcfg-border);border-radius:10px;background:#fff;color:var(--invcfg-dark);font:inherit;font-weight:500;padding:11px 12px;min-height:44px;outline:none;transition:.16s ease}
.invcfg-quote-grid input:focus,.invcfg-block-label textarea:focus{border-color:var(--invcfg-primary);box-shadow:0 0 0 3px rgba(224,0,119,.1)}
.invcfg-inline-check,.invcfg-consent{display:flex;align-items:flex-start;gap:9px;color:var(--invcfg-dark);font-size:.82rem;line-height:1.4;cursor:pointer}
.invcfg-inline-check input,.invcfg-consent input{margin-top:2px;accent-color:var(--invcfg-primary)}
.invcfg-consent{margin-top:12px}
.invcfg-consent a{color:var(--invcfg-primary);font-weight:800}
.invcfg-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.invcfg-quote-submit{min-width:220px}
.invcfg-quote-success{display:grid;grid-template-columns:auto minmax(0,1fr);gap:15px;align-items:flex-start;padding:20px;border:1px solid #cde8d6;border-radius:16px;background:#f2fbf5}
.invcfg-quote-success[hidden]{display:none!important}
.invcfg-quote-success-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#159455;color:#fff;font-weight:900;font-size:1.2rem}
.invcfg-quote-success h4{margin:0 0 6px;font-size:1.1rem}
.invcfg-quote-success p{margin:6px 0;line-height:1.45}
.invcfg-quote-warning{padding:10px 12px;border-radius:10px;background:#fff4d6;color:#765200;font-size:.84rem}

@media(max-width:760px){
 .invcfg-quote-grid{grid-template-columns:1fr}
 .invcfg-quote-grid label.is-wide{grid-column:auto}
 .invcfg-form-section{padding:15px}
 .invcfg-form-section-head{display:grid;gap:10px}
 .invcfg-quote-submit{width:100%;min-width:0;min-height:48px}
 .invcfg-quote-success{grid-template-columns:1fr;padding:16px}
 .invcfg-quote-success-icon{width:34px;height:34px}
}


/* v0.5.1 – premium quote confirmation; no public document download */
.invcfg-quote-success{
  display:block!important;padding:26px!important;border:1px solid #eadce4!important;border-radius:20px!important;
  background:linear-gradient(180deg,#fff 0%,#fff9fc 100%)!important;box-shadow:0 16px 38px rgba(2,13,28,.07)!important;color:var(--invcfg-dark)!important
}
.invcfg-quote-success-top{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:start}
.invcfg-quote-success-icon{display:grid!important;place-items:center!important;width:46px!important;height:46px!important;border-radius:50%!important;background:var(--invcfg-primary)!important;color:#fff!important;font-weight:900!important;font-size:1.25rem!important;box-shadow:0 8px 20px rgba(224,0,119,.2)}
.invcfg-quote-success-kicker{display:block;margin:1px 0 5px;color:var(--invcfg-primary);font-size:.72rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.invcfg-quote-success h4{margin:0 0 8px!important;font-size:1.3rem!important;line-height:1.25;color:var(--invcfg-dark)}
.invcfg-quote-success-lead{margin:0!important;max-width:720px;color:var(--invcfg-muted);font-size:.92rem;line-height:1.55!important}
.invcfg-quote-reference{display:grid;grid-template-columns:auto minmax(0,1fr);gap:3px 12px;align-items:center;margin-top:20px;padding:15px 16px;border:1px solid #f0d5e3;border-radius:14px;background:#fff}
.invcfg-quote-reference>span{grid-row:1;color:var(--invcfg-muted);font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.invcfg-quote-reference>strong{grid-row:1;color:var(--invcfg-dark);font-size:1.05rem;letter-spacing:.025em;justify-self:end}
.invcfg-quote-reference>small{grid-column:1/-1;color:var(--invcfg-muted);font-size:.76rem;line-height:1.4}
.invcfg-quote-next{margin-top:18px;padding-top:17px;border-top:1px solid #eee}
.invcfg-quote-next>strong{display:block;margin-bottom:10px;font-size:.9rem}
.invcfg-quote-next ol{display:grid;gap:8px;margin:0;padding-left:22px;color:var(--invcfg-dark);font-size:.86rem;line-height:1.45}
.invcfg-quote-next li::marker{color:var(--invcfg-primary);font-weight:900}
.invcfg-quote-mail-note{margin:16px 0 0!important;color:var(--invcfg-muted);font-size:.8rem!important}
.invcfg-quote-status-note{display:grid;gap:3px;margin-top:16px;padding:11px 13px;border-radius:11px;background:#fff4d6;color:#765200;font-size:.8rem;line-height:1.4}
.invcfg-quote-success-actions{display:flex;justify-content:flex-start;gap:10px;margin-top:20px}
.invcfg-quote-success-actions .invcfg-button{min-height:44px}
@media(max-width:760px){
  .invcfg-quote-success{padding:20px!important;border-radius:16px!important}.invcfg-quote-success-top{grid-template-columns:1fr;gap:12px}.invcfg-quote-success-icon{width:40px!important;height:40px!important}.invcfg-quote-success h4{font-size:1.15rem!important}.invcfg-quote-reference{grid-template-columns:1fr;gap:4px}.invcfg-quote-reference>strong{justify-self:start}.invcfg-quote-success-actions{display:grid}.invcfg-quote-success-actions .invcfg-button{width:100%}
}


/* v0.5.2 – quote submission processing feedback */
.invcfg-quote-processing{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:13px;
  align-items:center;
  margin-top:14px;
  padding:14px 16px;
  border:1px solid #ead5e0;
  border-radius:14px;
  background:#fff9fc;
  color:var(--invcfg-dark);
}
.invcfg-quote-processing[hidden]{display:none!important}
.invcfg-quote-spinner{
  width:28px;
  height:28px;
  border:3px solid rgba(224,0,119,.18);
  border-top-color:var(--invcfg-primary);
  border-radius:50%;
  animation:invcfg-quote-spin .8s linear infinite;
}
.invcfg-quote-processing-copy{display:flex;min-width:0;flex-direction:column;gap:3px}
.invcfg-quote-processing-copy strong{font-size:.9rem;color:var(--invcfg-dark)}
.invcfg-quote-processing-copy small{color:var(--invcfg-muted);font-size:.78rem;line-height:1.4}
.invcfg-quote-form.is-busy .invcfg-quote-submit{cursor:wait!important;opacity:.78}
@keyframes invcfg-quote-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.invcfg-quote-spinner{animation:none;border-top-color:var(--invcfg-primary);border-right-color:var(--invcfg-primary)}}
@media(max-width:680px){
  .invcfg-quote-processing{grid-template-columns:32px minmax(0,1fr);padding:13px 14px}
  .invcfg-quote-spinner{width:26px;height:26px}
}


/* v0.5.3 – hide the quote form completely after successful submission */
.invcfg-app .invcfg-quote-form[hidden],
.invcfg-app .invcfg-quote-form.is-submitted{
  display:none!important;
}

/* v0.5.5 – dedicated success page with self-contained design tokens.
   The thank-you template lives outside .invcfg-app, therefore it must define
   its own variables instead of relying on configurator-container inheritance. */
.invcfg-thankyou-main{
  --invcfg-primary:var(--invhu-primary,#ec008c);
  --invcfg-dark:var(--invhu-dark,#061426);
  --invcfg-pale:var(--invhu-pale,#fff1f8);
  --invcfg-muted:#69717d;
  padding:clamp(28px,5vw,72px) 18px;
  color:var(--invcfg-dark);
  font:inherit;
}
.invcfg-thankyou-main *{box-sizing:border-box}
.invcfg-thankyou{width:min(860px,100%);margin:0 auto}
.invcfg-thankyou-card{position:relative;padding:clamp(24px,4vw,48px);border:1px solid #eadfe5;border-radius:24px;background:#fff;box-shadow:0 18px 50px rgba(2,13,28,.08);text-align:left}
.invcfg-thankyou-icon{display:grid!important;place-items:center!important;width:54px;height:54px;margin-bottom:18px;border-radius:50%;background:var(--invcfg-primary,#ec008c)!important;color:#fff!important;font-size:1.45rem!important;font-weight:900!important;line-height:1!important;box-shadow:0 10px 24px rgba(224,0,119,.2)}
.invcfg-thankyou-kicker{display:block;margin-bottom:7px;color:var(--invcfg-primary,#ec008c)!important;font-size:.76rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.invcfg-thankyou-card h1{margin:0 0 12px!important;color:var(--invcfg-dark,#061426)!important;font-size:clamp(2rem,3vw,2.75rem)!important;line-height:1.12!important;letter-spacing:-.02em}
.invcfg-thankyou-lead{max-width:720px;margin:0;color:var(--invcfg-muted,#69717d)!important;font-size:1rem;line-height:1.65}
.invcfg-thankyou-reference{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 16px;align-items:center;margin-top:26px;padding:18px 20px;border:1px solid #efd6e3;border-radius:16px;background:linear-gradient(135deg,#fff 0%,#fff7fb 100%)}
.invcfg-thankyou-reference[hidden]{display:none!important}
.invcfg-thankyou-reference>span{color:var(--invcfg-muted);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.invcfg-thankyou-reference>strong{justify-self:end;color:var(--invcfg-dark);font-size:1.12rem;letter-spacing:.04em}
.invcfg-thankyou-reference>small{grid-column:1/-1;color:var(--invcfg-muted);font-size:.8rem;line-height:1.45}
.invcfg-thankyou-next{margin-top:24px;padding-top:22px;border-top:1px solid #eceff2}
.invcfg-thankyou-next>strong{display:block;margin-bottom:12px;color:var(--invcfg-dark)}
.invcfg-thankyou-next ol{display:grid;gap:10px;margin:0;padding-left:24px;color:var(--invcfg-dark);line-height:1.5}
.invcfg-thankyou-next li::marker{color:var(--invcfg-primary);font-weight:900}
.invcfg-thankyou-mail,.invcfg-thankyou-direct{margin:20px 0 0;padding:13px 15px;border-radius:12px;background:var(--invcfg-pale);color:var(--invcfg-muted);font-size:.86rem;line-height:1.5}
.invcfg-thankyou-direct[hidden]{display:none!important}
.invcfg-thankyou-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.invcfg-thankyou-actions .invcfg-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 20px;border-radius:999px!important;font-weight:800!important;line-height:1.2;text-decoration:none!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,color .16s ease}
.invcfg-thankyou-actions .invcfg-button-primary{border:1px solid var(--invcfg-primary,#ec008c)!important;background:var(--invcfg-primary,#ec008c)!important;color:#fff!important}
.invcfg-thankyou-actions .invcfg-button-secondary{border:1px solid #e4c7d6!important;background:#fff!important;color:var(--invcfg-primary,#ec008c)!important}
.invcfg-thankyou-actions .invcfg-button:hover,.invcfg-thankyou-actions .invcfg-button:focus-visible{transform:translateY(-1px);box-shadow:0 8px 20px rgba(2,13,28,.10);text-decoration:none!important}
.invcfg-thankyou-actions .invcfg-button-primary:hover,.invcfg-thankyou-actions .invcfg-button-primary:focus-visible{background:#cc006f!important;border-color:#cc006f!important;color:#fff!important}
.invcfg-thankyou-actions .invcfg-button-secondary:hover,.invcfg-thankyou-actions .invcfg-button-secondary:focus-visible{background:var(--invcfg-pale,#fff1f8)!important;color:#b80065!important}
@media(max-width:680px){
 .invcfg-thankyou-main{padding:22px 12px 36px}
 .invcfg-thankyou-card{padding:22px 17px;border-radius:18px}
 .invcfg-thankyou-reference{grid-template-columns:1fr;gap:5px;padding:15px}
 .invcfg-thankyou-reference>strong{justify-self:start}
 .invcfg-thankyou-reference>small{grid-column:auto}
 .invcfg-thankyou-actions{flex-direction:column}
 .invcfg-thankyou-actions .invcfg-button{width:100%;justify-content:center}
}


/* v0.6.0 – lead recovery / callback request */
body.invcfg-lead-modal-open{overflow:hidden!important}.invcfg-lead-modal[hidden],.invcfg-lead-helper[hidden],.invcfg-lead-processing[hidden],.invcfg-lead-error[hidden]{display:none!important}.invcfg-lead-modal{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:18px}.invcfg-lead-backdrop{position:absolute;inset:0;display:block;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:rgba(2,13,28,.64)!important;background-color:rgba(2,13,28,.64)!important;box-shadow:none!important;opacity:1!important;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);cursor:default}.invcfg-lead-backdrop:hover,.invcfg-lead-backdrop:focus,.invcfg-lead-backdrop:focus-visible,.invcfg-lead-backdrop:active{background:rgba(2,13,28,.64)!important;background-color:rgba(2,13,28,.64)!important;box-shadow:none!important;outline:0!important;opacity:1!important}.invcfg-lead-dialog{position:relative;z-index:1;width:min(620px,100%);max-height:min(760px,calc(100vh - 32px));overflow:auto;padding:clamp(22px,4vw,36px);border:1px solid #ecdce4;border-radius:22px;background:#fff;box-shadow:0 28px 70px rgba(2,13,28,.28)}.invcfg-lead-close{position:absolute;right:13px;top:12px;display:grid!important;place-items:center!important;width:38px!important;height:38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#f2f4f6!important;color:var(--invcfg-dark)!important;font-size:1.45rem!important;line-height:1!important;cursor:pointer}.invcfg-lead-kicker{display:block;margin-bottom:7px;color:var(--invcfg-primary);font-size:.76rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.invcfg-lead-dialog h3{margin:0 40px 8px 0!important;color:var(--invcfg-dark)!important;font-size:clamp(1.55rem,3vw,2rem)!important;line-height:1.15!important}.invcfg-lead-dialog>p{margin:0 0 20px;color:var(--invcfg-muted);font-size:.92rem;line-height:1.55}.invcfg-lead-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.invcfg-lead-grid label{display:grid;gap:6px}.invcfg-lead-grid label>span{font-size:.78rem;font-weight:800;color:var(--invcfg-dark)}.invcfg-lead-grid input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #dce2e7;border-radius:11px;background:#fff;color:var(--invcfg-dark);font:inherit;box-sizing:border-box}.invcfg-lead-grid input:focus{border-color:var(--invcfg-primary);outline:0;box-shadow:0 0 0 3px rgba(224,0,119,.10)}.invcfg-lead-privacy{display:flex;gap:9px;align-items:flex-start;margin:16px 0;color:var(--invcfg-muted);font-size:.78rem;line-height:1.45}.invcfg-lead-privacy input{margin-top:2px}.invcfg-lead-privacy a{color:var(--invcfg-primary)!important}.invcfg-lead-actions{display:flex;gap:10px;flex-wrap:wrap}.invcfg-lead-error{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:#fff0f0;color:#9a2424;font-size:.82rem}.invcfg-lead-processing{display:flex;align-items:center;gap:11px;margin-top:13px;padding:11px 13px;border-radius:11px;background:#fff8fc}.invcfg-lead-processing>span:last-child{display:flex;flex-direction:column;gap:2px}.invcfg-lead-processing strong{font-size:.83rem}.invcfg-lead-processing small{color:var(--invcfg-muted);font-size:.76rem}.invcfg-lead-helper{position:fixed;right:16px;bottom:78px;z-index:990;max-width:220px;padding:11px 16px!important;border:0!important;border-radius:999px!important;background:#020D1C!important;color:#fff!important;font-weight:800!important;box-shadow:0 12px 28px rgba(2,13,28,.22);cursor:pointer}.invcfg-lead-helper:hover,.invcfg-lead-helper:focus-visible{background:#162438!important;color:#fff!important}.invcfg-lead-thankyou-icon{background:#020D1C!important;box-shadow:0 10px 24px rgba(2,13,28,.20)!important}.invcfg-lead-thankyou-kicker{color:#020D1C!important}
@media(max-width:680px){.invcfg-lead-modal{align-items:end;padding:0}.invcfg-lead-dialog{width:100%;max-height:88vh;padding:24px 17px 18px;border-radius:20px 20px 0 0}.invcfg-lead-grid{grid-template-columns:1fr}.invcfg-lead-actions{display:grid}.invcfg-lead-actions .invcfg-button{width:100%}.invcfg-lead-helper{right:10px;bottom:72px;max-width:calc(100vw - 20px);font-size:.82rem}}
