:root{
  --imc-quote-ink:#0d1418;
  --imc-quote-panel:#111a20;
  --imc-quote-panel-2:#0a1116;
  --imc-quote-lime:#9bea2f;
  --imc-quote-lime-dark:#70ad16;
  --imc-quote-text:#25312b;
  --imc-quote-muted:#6e7b74;
  --imc-quote-line:#dfe7df;
  --imc-quote-soft:#f5f8f4;
}

.imc-quote-page{
  background:
    radial-gradient(circle at 8% 16%,rgba(155,234,47,.06),transparent 18%),
    linear-gradient(180deg,#f8faf7 0,#fff 28%,#fff 100%);
  color:var(--imc-quote-text);
}

.imc-quote-hero{
  position:relative;
  overflow:hidden;
  padding:62px 0 58px;
  background:
    radial-gradient(circle at 85% 10%,rgba(155,234,47,.16),transparent 24%),
    radial-gradient(circle at 12% 100%,rgba(42,135,104,.12),transparent 28%),
    linear-gradient(135deg,#081116,#111a1d 58%,#0a1216);
  color:#fff;
  border-bottom:1px solid rgba(155,234,47,.14);
}
.imc-quote-hero:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.12;
  background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:58px 58px;
}
.imc-quote-hero .container{position:relative;z-index:1}
.imc-quote-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);
  gap:40px;
  align-items:end;
}
.imc-quote-breadcrumb{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:17px;
  font-size:11px;
  font-weight:700;
  color:#9eaaa4;
}
.imc-quote-breadcrumb a{color:#cad3ce;text-decoration:none}
.imc-quote-breadcrumb a:hover{color:var(--imc-quote-lime)}
.imc-quote-breadcrumb i{font-size:8px;color:#63716a}
.imc-quote-kicker,.imc-quote-mini-kicker{
  display:block;
  color:var(--imc-quote-lime);
  font-size:10px;
  line-height:1.3;
  font-weight:800;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.imc-quote-hero h1{
  max-width:760px;
  margin:8px 0 16px;
  color:#fff;
  font-size:clamp(19px,2.1vw,33px);
  line-height:1;
  font-weight:800;
  letter-spacing:-.045em;
}
.imc-quote-hero p{
  max-width:740px;
  margin:0;
  color:#cbd4cf;
  font-size:15px;
  line-height:1.75;
}
.imc-quote-hero-badge{
  display:flex;
  align-items:center;
  gap:16px;
  padding:20px;
  border:1px solid rgba(155,234,47,.18);
  border-radius:20px;
  background:rgba(255,255,255,.035);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.imc-quote-hero-badge>i{
  flex:0 0 auto;
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:16px;
  color:#10170f;
  background:linear-gradient(135deg,#b6f54c,var(--imc-quote-lime));
  box-shadow:0 10px 24px rgba(155,234,47,.2);
  font-size:20px;
}
.imc-quote-hero-badge strong{display:block;margin-bottom:4px;color:#fff;font-size:14px}
.imc-quote-hero-badge span{display:block;color:#aebbb4;font-size:11px;line-height:1.45}

.imc-quote-content{padding-top:34px;padding-bottom:76px}

.imc-quote-progress{
  display:grid;
  grid-template-columns:auto 1fr auto 1fr auto;
  align-items:center;
  gap:15px;
  margin-bottom:28px;
  padding:16px 20px;
  border:1px solid #e2e8e1;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(25,40,30,.04);
}
.imc-quote-progress-step{display:flex;align-items:center;gap:10px;min-width:0}
.imc-quote-progress-step>span{
  flex:0 0 auto;
  width:36px;height:36px;display:grid;place-items:center;
  border-radius:11px;background:#edf2ed;color:#6c776f;font-size:10px;font-weight:800
}
.imc-quote-progress-step.is-active>span{background:var(--imc-quote-lime);color:#10170f}
.imc-quote-progress-step strong{display:block;color:#1b2520;font-size:11px;line-height:1.25}
.imc-quote-progress-step small{display:block;margin-top:2px;color:#839087;font-size:9px;line-height:1.3}
.imc-quote-progress-line{height:1px;background:#dfe6df}

.imc-quote-list-panel,
.imc-quote-summary,
.imc-quote-empty{
  border:1px solid #dfe7df;
  border-radius:24px;
  background:#fff;
  box-shadow:0 16px 42px rgba(29,42,34,.07);
}
.imc-quote-list-panel{overflow:hidden}
.imc-quote-panel-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:24px 26px 20px;
  border-bottom:1px solid #edf1ec;
}
.imc-quote-panel-heading h2,
.imc-quote-summary h2,
.imc-quote-empty h2{
  margin:6px 0 0;
  color:#101713;
  font-size:clamp(25px,2.2vw,34px);
  line-height:1.04;
  font-weight:800;
  letter-spacing:-.035em;
}
.imc-quote-add-more{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 13px;
  border:1px solid #d7e1d4;
  border-radius:11px;
  background:#f8faf7;
  color:#405044;
  font-size:10px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
  transition:.2s ease;
}
.imc-quote-add-more:hover{border-color:#afd277;background:#eff8e3;color:#31520f;transform:translateY(-1px)}
.imc-quote-add-more i{color:var(--imc-quote-lime-dark)}

.imc-quote-items{padding:0 26px}
.imc-quote-item{
  position:relative;
  display:grid;
  grid-template-columns:150px minmax(0,1fr) 118px;
  gap:20px;
  align-items:center;
  padding:22px 0;
  border-bottom:1px solid #edf1ec;
}
.imc-quote-item:last-child{border-bottom:0}
.imc-quote-remove{
  position:absolute;
  top:18px;
  right:0;
  z-index:2;
  width:30px;height:30px;
  display:grid;place-items:center;
  padding:0;border-radius:50%;
  border:1px solid #e1e7e1;
  background:#fff;
  color:#859087;
  cursor:pointer;
  transition:.18s ease;
}
.imc-quote-remove:hover{border-color:#efb4b0;background:#fff1f0;color:#d8483e;transform:rotate(4deg)}
.imc-quote-product-image{
  display:flex;
  align-items:center;
  justify-content:center;
  height:128px;
  padding:10px;
  border:1px solid #e6ece5;
  border-radius:16px;
  background:linear-gradient(180deg,#fbfcfa,#f3f7f1);
  overflow:hidden;
}
.imc-quote-product-image img{display:block;width:100%;height:100%;object-fit:contain}
.imc-quote-product-label{display:block;margin-bottom:5px;color:#79ab23;font-size:8px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.imc-quote-product-info{min-width:0;padding-right:24px}
.imc-quote-product-info h3{margin:0 0 10px;font-size:18px;line-height:1.22;font-weight:800}
.imc-quote-product-info h3 a{color:#152018;text-decoration:none}
.imc-quote-product-info h3 a:hover{color:#6b9f17}
.imc-quote-options{
  margin-top:9px;
  padding:10px 12px;
  border-radius:12px;
  background:#f7f9f6;
  border:1px solid #e6ebe5;
}
.imc-quote-options>span{display:block;margin-bottom:4px;color:#69756d;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.imc-quote-options p{margin:0;color:#3e4b43;font-size:10.5px;line-height:1.6;font-weight:600}
.imc-quote-qty-block{align-self:center;padding-top:18px}
.imc-quote-qty-label{display:block;margin-bottom:7px;color:#6e7b73;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;text-align:center}
.imc-quote-quantity{
  display:grid!important;
  grid-template-columns:34px 42px 34px;
  gap:4px;
  width:auto!important;
  float:none!important;
  margin:0 auto!important;
}
.imc-quote-quantity .minus,
.imc-quote-quantity .plus,
.imc-quote-quantity .qty{
  width:100%!important;
  height:34px!important;
  min-height:34px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #d6ded6!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#1f2a23!important;
  font-size:13px!important;
  font-weight:800!important;
  text-align:center!important;
  box-shadow:none!important;
}
.imc-quote-quantity .minus,.imc-quote-quantity .plus{cursor:pointer;transition:.18s ease}
.imc-quote-quantity .minus:hover,.imc-quote-quantity .plus:hover{border-color:#8ccf27!important;background:#eff8e2!important;color:#31530f!important}
.imc-quote-list-footer{
  display:flex;
  align-items:center;
  gap:9px;
  padding:15px 26px;
  border-top:1px solid #edf1ec;
  background:#fafcf9;
  color:#758079;
  font-size:10px;
}
.imc-quote-list-footer i{color:#7fad2c}

.imc-quote-summary{
  position:sticky;
  top:100px;
  padding:26px;
  background:
    radial-gradient(circle at 92% 8%,rgba(155,234,47,.13),transparent 24%),
    linear-gradient(145deg,#0c1418,#111b18);
  border-color:rgba(155,234,47,.15);
  color:#fff;
}
.imc-quote-summary .imc-quote-mini-kicker{color:var(--imc-quote-lime)}
.imc-quote-summary h2{color:#fff;font-size:30px}
.imc-quote-summary>p{margin:12px 0 20px;color:#b8c4be;font-size:11.5px;line-height:1.65}
.imc-quote-total-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:15px 0;
  border-top:1px solid rgba(255,255,255,.09);
  border-bottom:1px solid rgba(255,255,255,.09);
}
.imc-quote-total-row span{color:#c9d2cd;font-size:11px;font-weight:700}
.imc-quote-total-row strong{color:var(--imc-quote-lime);font-size:30px;line-height:1;font-weight:800}
.imc-quote-benefits{list-style:none;margin:18px 0;padding:0;display:grid;gap:10px}
.imc-quote-benefits li{display:flex;align-items:flex-start;gap:8px;color:#d4ddd8;font-size:10.5px;line-height:1.45}
.imc-quote-benefits i{flex:0 0 auto;width:19px;height:19px;display:grid;place-items:center;border-radius:50%;background:rgba(155,234,47,.12);color:var(--imc-quote-lime);font-size:8px}
.imc-quote-proceed{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:12px 17px;
  border-radius:13px;
  background:linear-gradient(135deg,#b2f443,var(--imc-quote-lime));
  color:#0e160f!important;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 12px 26px rgba(155,234,47,.16);
  transition:.2s ease;
}
.imc-quote-proceed:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(155,234,47,.24)}
.imc-quote-help{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:10px;
  padding:10px;
  color:#d2dbd6!important;
  border:1px solid rgba(255,255,255,.1);
  border-radius:11px;
  font-size:9.5px;
  font-weight:700;
  text-decoration:none;
}
.imc-quote-help:hover{border-color:rgba(155,234,47,.35);color:var(--imc-quote-lime)!important}

.imc-quote-empty{
  max-width:840px;
  margin:12px auto 0;
  padding:58px 40px;
  text-align:center;
}
.imc-quote-empty-icon{
  width:82px;height:82px;
  display:grid;place-items:center;
  margin:0 auto 18px;
  border-radius:24px;
  background:linear-gradient(135deg,#eff9df,#f8fbf3);
  border:1px solid #dcebc8;
  color:#76ad1d;
  font-size:30px;
}
.imc-quote-empty h2{font-size:38px}
.imc-quote-empty>p{max-width:590px;margin:14px auto 22px;color:#748078;font-size:13px;line-height:1.7}
.imc-quote-empty-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.imc-quote-empty-secondary{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:12px 17px;border:1px solid #d7dfd6;border-radius:13px;
  background:#fff;color:#354239!important;font-size:10.5px;font-weight:800;text-decoration:none
}
.imc-quote-empty-secondary:hover{border-color:#a7cd6a;background:#f4f9ed}

@media(max-width:1199px){
  .imc-quote-item{grid-template-columns:130px minmax(0,1fr) 112px;gap:16px}
  .imc-quote-product-image{height:116px}
}
@media(max-width:991px){
  .imc-quote-hero{padding:48px 0 44px}
  .imc-quote-hero-grid{grid-template-columns:1fr;gap:24px}
  .imc-quote-hero-badge{max-width:480px}
  .imc-quote-progress{grid-template-columns:1fr;gap:8px}
  .imc-quote-progress-line{display:none}
  .imc-quote-progress-step{padding:7px 0;border-bottom:1px solid #edf1ec}
  .imc-quote-progress-step:last-child{border-bottom:0}
  .imc-quote-summary{position:static;top:auto}
}
@media(max-width:767px){
  .imc-quote-hero{padding:36px 0 34px}
  .imc-quote-hero h1{font-size:19.5px}
  .imc-quote-content{padding-top:22px;padding-bottom:52px}
  .imc-quote-panel-heading{align-items:flex-start;flex-direction:column;padding:20px 18px 16px}
  .imc-quote-items{padding:0 18px}
  .imc-quote-item{grid-template-columns:94px minmax(0,1fr);gap:13px;padding:18px 0}
  .imc-quote-product-image{height:92px;padding:6px;border-radius:13px}
  .imc-quote-product-info{padding-right:0}
  .imc-quote-product-info h3{font-size:15px;padding-right:26px}
  .imc-quote-options{padding:8px 9px}
  .imc-quote-qty-block{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding-top:0}
  .imc-quote-qty-label{margin:0;text-align:left}
  .imc-quote-quantity{margin:0!important}
  .imc-quote-remove{top:16px}
  .imc-quote-list-footer{padding:13px 18px;align-items:flex-start}
  .imc-quote-summary{padding:22px 20px;border-radius:20px}
  .imc-quote-summary h2{font-size:28px}
  .imc-quote-empty{padding:40px 22px;border-radius:20px}
  .imc-quote-empty h2{font-size:31px}
  .imc-quote-empty-actions{flex-direction:column}
  .imc-quote-empty-actions a{width:100%}
}


/* RC29 — final H1 cascade guard.
   The Porto/theme stylesheets include generic H1 sizing. This rule is deliberately
   more specific and uses !important so the quotation flow cannot inherit a larger H1. */
html body.imc-quote-page-body .main .imc-quote-hero h1,
html body.imc-quote-page-body .imc-quote-hero h1 {
  font-size: clamp(18px, 1.7vw, 28px) !important;
  line-height: 1.12 !important;
  margin-bottom: 10px !important;
}
@media (max-width: 767px) {
  html body.imc-quote-page-body .main .imc-quote-hero h1,
  html body.imc-quote-page-body .imc-quote-hero h1 {
    font-size: 20px !important;
    line-height: 1.15 !important;
  }
}
