.eleveb-calc{
  --accent:#6528F7;
  --border:#0F172A;
  --heading:#2F2F2F;
  --placeholder:#54595F;
  --soft:rgba(101,40,247,.08);
  --soft-2:rgba(15,23,42,.05);
  width:100%;
  max-width:none;
  font-family:'Montserrat',sans-serif;
  color:var(--heading);
}
.eleveb-calc,.eleveb-calc *{box-sizing:border-box}
.eleveb-calc__form{display:block;width:100%;max-width:none;margin:0;padding:0}
.eleveb-calc__hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;opacity:0!important}
.eleveb-calc__section{margin:0 0 28px;padding:0}
.eleveb-calc__section--intro{margin-bottom:34px}
.eleveb-calc__eyebrow{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--accent);margin-bottom:8px}
.eleveb-calc__title{margin:0 0 10px;font-size:clamp(28px,4vw,46px);line-height:1.05;color:var(--heading);font-weight:700}
.eleveb-calc__lead{margin:0;max-width:820px;font-size:15px;line-height:1.65;color:var(--placeholder)}
.eleveb-calc__label,.eleveb-field__label{display:block;font-size:13px;font-weight:500;line-height:1.35;color:var(--heading);margin:0 0 8px}
.eleveb-calc__section-title{font-size:18px;font-weight:700;color:var(--heading);margin:0 0 14px}
.eleveb-calc__grid{display:grid;gap:14px}
.eleveb-calc__grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.eleveb-calc__cards{display:grid;gap:14px}
.eleveb-calc__cards--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.eleveb-calc__cards--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.eleveb-choice-card{position:relative;display:flex;min-height:132px;flex-direction:column;justify-content:flex-end;gap:5px;padding:20px;border:1.5px solid var(--border);border-radius:18px;background:transparent;cursor:pointer;transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease,background-color .25s ease}
.eleveb-choice-card:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:0 10px 28px rgba(15,23,42,.08)}
.eleveb-choice-card input{position:absolute;opacity:0;pointer-events:none}
.eleveb-choice-card:has(input:checked){border-color:var(--accent);background:rgba(101,40,247,.04);box-shadow:0 0 0 4px rgba(101,40,247,.10)}
.eleveb-choice-card__check{position:absolute;right:15px;top:15px;width:25px;height:25px;border:1.5px solid var(--border);border-radius:8px;display:flex;align-items:center;justify-content:center;color:transparent;font-size:14px;font-weight:700;transition:.2s ease}
.eleveb-choice-card:has(input:checked) .eleveb-choice-card__check{border-color:var(--accent);background:var(--accent);color:#fff}
.eleveb-choice-card__name{font-size:17px;font-weight:700;color:var(--heading)}
.eleveb-choice-card__price{font-size:12px;line-height:1.4;color:var(--placeholder)}
.eleveb-choice-card--compact{min-height:100px}
.eleveb-field{display:block;margin:0 0 14px}
.eleveb-field input[type="text"],.eleveb-field input[type="email"],.eleveb-field input[type="tel"],.eleveb-field input[type="url"],.eleveb-field input[type="number"],.eleveb-field textarea,.eleveb-field input[type="file"]{width:100%;font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;color:var(--heading);background:transparent;border:1.5px solid var(--border);border-radius:15px;padding:14px 16px;outline:none;transition:border-color .25s ease,box-shadow .25s ease,transform .25s ease,background-color .25s ease}
.eleveb-field textarea{min-height:120px;resize:vertical}
.eleveb-field input::placeholder,.eleveb-field textarea::placeholder{color:var(--placeholder);opacity:1}
.eleveb-field input:hover,.eleveb-field textarea:hover{border-color:var(--accent);transform:translateY(-2px)}
.eleveb-field input:focus,.eleveb-field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 5px rgba(101,40,247,.12);transform:translateY(-2px)}
.eleveb-field input[type="file"]{padding:11px 12px;color:var(--placeholder)}
.eleveb-field input[type="file"]::file-selector-button{font-family:'Montserrat',sans-serif;margin-right:10px;border:1.5px solid var(--border);background:transparent;color:var(--heading);border-radius:10px;padding:8px 12px;cursor:pointer}
.eleveb-field__hint{display:block;margin-top:6px;font-size:11px;line-height:1.45;color:var(--placeholder)}
.eleveb-inline-options{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 14px}
.eleveb-inline-options label{position:relative;cursor:pointer}
.eleveb-inline-options input{position:absolute;opacity:0}
.eleveb-inline-options span{display:block;border:1.5px solid var(--border);border-radius:13px;padding:11px 16px;font-size:13px;color:var(--heading);background:transparent;transition:.2s ease}
.eleveb-inline-options label:hover span,.eleveb-inline-options input:checked+span{border-color:var(--accent);color:var(--accent);box-shadow:0 0 0 4px rgba(101,40,247,.08)}
.eleveb-inline-options small{font-size:10px;color:var(--placeholder)}
.eleveb-checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.eleveb-checkbox-grid--services{grid-template-columns:repeat(3,minmax(0,1fr))}
.eleveb-check{position:relative;display:flex;align-items:center;gap:10px;cursor:pointer;font-size:13px;color:var(--heading)}
.eleveb-check input{position:absolute;opacity:0}
.eleveb-check__box{flex:0 0 24px;width:24px;height:24px;border:1.5px solid var(--border);border-radius:7px;color:transparent;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;transition:.2s ease}
.eleveb-check input:checked+.eleveb-check__box{background:var(--accent);border-color:var(--accent);color:#fff}
.eleveb-check--service{align-items:flex-start;min-height:92px;border:1.5px solid var(--border);border-radius:15px;padding:16px;transition:.2s ease}
.eleveb-check--service:hover,.eleveb-check--service:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 4px rgba(101,40,247,.08)}
.eleveb-check--service strong,.eleveb-check--service small{display:block}
.eleveb-check--service strong{font-size:14px;margin-bottom:4px}
.eleveb-check--service small{font-size:10px;line-height:1.4;color:var(--placeholder)}
.eleveb-check--consent{margin-top:5px;align-items:flex-start;line-height:1.5;color:var(--placeholder)}
.eleveb-calc__subpanel{margin-top:14px;padding:18px;border:1.5px solid rgba(15,23,42,.18);border-radius:16px;background:transparent}
.eleveb-calc__subpanel>.eleveb-field:last-child{margin-bottom:0}
.eleveb-notice{margin-top:10px;padding:14px 16px;border-left:3px solid var(--accent);background:rgba(101,40,247,.04);font-size:14px;font-weight:500;line-height:1.6;color:var(--heading)}
.eleveb-price{position:static;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:34px 0 0;padding:18px 20px;border:1.5px solid var(--border);border-radius:18px;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 16px 46px rgba(15,23,42,.12)}
.eleveb-price__caption{display:block;font-size:10px;font-weight:700;letter-spacing:.11em;color:var(--accent);margin-bottom:4px}
.eleveb-price__main{font-size:24px;font-weight:700;color:var(--heading);line-height:1.2}
.eleveb-price__main small{font-size:11px;font-weight:500;color:var(--placeholder)}
.eleveb-price__monthly{font-size:12px;color:var(--placeholder);margin-top:4px}
.eleveb-price__monthly strong{color:var(--accent)}
.eleveb-price__note{margin:6px 0 0;font-size:13px;font-weight:500;line-height:1.45;color:var(--placeholder)}
.eleveb-calc__button{appearance:none;border:1.5px solid var(--border);border-radius:15px;background:transparent;color:var(--heading);font-family:'Montserrat',sans-serif;font-size:13px;font-weight:600;padding:13px 20px;cursor:pointer;transition:.25s ease;white-space:nowrap}
.eleveb-calc__button:hover,.eleveb-calc__button:focus{border-color:var(--accent);background:var(--accent)!important;color:#fff!important;box-shadow:0 0 0 4px rgba(101,40,247,.10);transform:translateY(-2px);outline:none}
.eleveb-calc__button:disabled{opacity:.55;cursor:not-allowed;transform:none}
.eleveb-calc__message{margin-top:14px;padding:0;font-size:13px;line-height:1.5}
.eleveb-calc__message.is-success,.eleveb-calc__message.is-error{padding:13px 15px;border:1.5px solid var(--accent);border-radius:14px}
.eleveb-calc__message.is-success{color:var(--heading);background:rgba(101,40,247,.05)}
.eleveb-calc__message.is-error{color:#8B1E1E;border-color:#8B1E1E;background:rgba(139,30,30,.04)}
.eleveb-calc [hidden]{display:none!important}
.eleveb-calc .is-entering{animation:none}
@keyframes elevebRollOut{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.eleveb-calc__cards--3,.eleveb-checkbox-grid--services{grid-template-columns:1fr}.eleveb-price{position:static}}
@media(max-width:768px){.eleveb-calc__grid--2,.eleveb-calc__cards--2,.eleveb-checkbox-grid{grid-template-columns:1fr}.eleveb-price{align-items:stretch;flex-direction:column}.eleveb-calc__button{width:100%}.eleveb-choice-card{min-height:112px}}

.eleveb-calc__turnstile{margin-left:auto}
@media(max-width:768px){.eleveb-calc__turnstile{margin-left:0}}

/* v1.2 layout corrections */
.eleveb-calc,
.eleveb-calc__form,
.eleveb-calc__section,
.eleveb-calc__cards,
.eleveb-calc__rollout,
.eleveb-calc__contact,
.eleveb-price{
  width:100%!important;
  max-width:none!important;
  min-width:0;
}
.elementor-widget-shortcode:has(.eleveb-calc),
.elementor-widget-shortcode:has(.eleveb-calc) > .elementor-widget-container,
.elementor-widget-shortcode:has(.eleveb-calc) .elementor-shortcode{
  width:100%!important;
  max-width:none!important;
  align-self:stretch!important;
}
.eleveb-choice-card{
  min-height:72px;
  height:auto;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  padding:16px 56px 16px 18px;
}
.eleveb-choice-card__check{
  top:50%;
  right:16px;
  transform:translateY(-50%);
}
.eleveb-choice-card:hover .eleveb-choice-card__check,
.eleveb-choice-card:has(input:checked) .eleveb-choice-card__check{
  transform:translateY(-50%);
}
.eleveb-choice-card__name{line-height:1.25}
.eleveb-choice-card__price{font-size:12px;line-height:1.35}
.eleveb-inline-options small{display:none!important}
.eleveb-price{
  display:block;
  background:transparent;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.eleveb-price__toprow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  width:100%;
}
.eleveb-price__summary{min-width:0}
.eleveb-calc__turnstile{
  display:block;
  width:100%;
  margin:18px 0 0!important;
  clear:both;
}
.eleveb-calc__turnstile .cf-turnstile{margin:0!important}
@media(max-width:768px){
  .eleveb-price__toprow{align-items:stretch;flex-direction:column}
  .eleveb-choice-card{min-height:64px}
}


/* v1.3 spacing, progress and responsive refinements */
.eleveb-calc{position:relative;overflow:visible}
.eleveb-calc__form{position:relative;padding-right:22px!important}

/* More breathing room between logical blocks */
.eleveb-calc__section{margin-bottom:36px;padding:8px 0}
.eleveb-calc__rollout>.eleveb-calc__section{padding-top:12px;padding-bottom:12px}
.eleveb-calc__section-title{margin-bottom:16px}
.eleveb-calc__subpanel{margin-top:18px;padding:20px}

/* Keep small content checkboxes neatly together instead of stretching across the row */
.eleveb-checkbox-grid:not(.eleveb-checkbox-grid--services){
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  gap:12px 26px;
}
.eleveb-checkbox-grid:not(.eleveb-checkbox-grid--services) .eleveb-check{width:auto;flex:0 0 auto}

/* Vertical completion indicator */
.eleveb-progress{
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  width:8px;
  pointer-events:none;
  z-index:3;
}
.eleveb-progress__track{
  position:sticky;
  top:110px;
  width:8px;
  height:160px;
  border-radius:999px;
  background:rgba(15,23,42,.10);
  overflow:hidden;
}
.eleveb-progress__fill{
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:var(--accent);
  transform:scaleY(0);
  transform-origin:top;
  transition:transform .45s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}

/* Turnstile gets its own clean row and is explicitly light-rendered in PHP */
.eleveb-calc__turnstile{overflow:visible}
.eleveb-calc__turnstile .cf-turnstile{display:block;min-height:65px}

/* Initial service cards: compact, readable, one-row where space permits */
.eleveb-calc__cards--3 .eleveb-choice-card{
  min-height:70px;
  padding-top:17px;
  padding-bottom:17px;
}

@media(max-width:900px){
  .eleveb-calc__form{padding-right:16px!important}
  .eleveb-progress{width:5px}
  .eleveb-progress__track{width:5px;height:130px;top:90px}
  .eleveb-calc__section{margin-bottom:30px;padding:6px 0}
}

@media(max-width:768px){
  .eleveb-calc__form{padding-right:9px!important}
  .eleveb-progress{width:3px;right:0}
  .eleveb-progress__track{width:3px;height:100px;top:76px}
  .eleveb-calc__section{margin-bottom:26px;padding:5px 0}
  .eleveb-calc__subpanel{padding:16px;margin-top:15px}
  .eleveb-checkbox-grid:not(.eleveb-checkbox-grid--services){gap:10px 18px}
  .eleveb-calc__cards--3 .eleveb-choice-card{min-height:62px;padding:14px 50px 14px 15px}
  .eleveb-choice-card__name{font-size:15px}
  .eleveb-price{padding:16px}
  .eleveb-price__main{font-size:22px}
  .eleveb-calc__turnstile{max-width:100%;overflow-x:auto;padding-bottom:2px}
}

/* v1.4 polished transitions, field alignment and progress rail */
.eleveb-calc,
.eleveb-calc__form{
  margin-top:0!important;
  padding-top:0!important;
}
.eleveb-calc__form > .eleveb-calc__section:first-of-type{
  padding-top:0!important;
  margin-top:0!important;
}

/* Smooth reveal for conditional sections. No whole-form repaint/flicker. */
.eleveb-calc .is-entering{
  animation:elevebSmoothReveal .34s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes elevebSmoothReveal{
  from{opacity:0;transform:translateY(-10px)}
  to{opacity:1;transform:translateY(0)}
}

/* Design sample controls stay visually identical in height even with a longer label. */
[data-design-sample] .eleveb-calc__grid{
  align-items:stretch;
}
[data-design-sample] .eleveb-field{
  display:flex;
  flex-direction:column;
  height:100%;
}
[data-design-sample] .eleveb-field__label{
  min-height:38px;
  display:flex;
  align-items:flex-end;
}
[data-design-sample] input[type="file"],
[data-design-sample] input[type="url"]{
  height:52px;
  min-height:52px;
}
[data-design-sample] input[type="file"]{
  padding-top:8px;
  padding-bottom:8px;
}

/* Clear selected-state badge for Jah/Ei and other pill radios. */
.eleveb-inline-options label{
  position:relative;
  overflow:visible;
}
.eleveb-inline-options label:has(input:checked)::after{
  content:'✓';
  position:absolute;
  top:-7px;
  right:-7px;
  width:18px;
  height:18px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--accent);
  color:#fff;
  border:2px solid #fff;
  font-size:10px;
  line-height:1;
  font-weight:800;
  z-index:2;
  box-shadow:0 2px 7px rgba(15,23,42,.14);
  animation:elevebCheckPop .22s ease-out both;
}
@keyframes elevebCheckPop{
  from{opacity:0;transform:scale(.55)}
  to{opacity:1;transform:scale(1)}
}

/* Full-height, static progress rail with more breathing room from the form. */
.eleveb-calc__form{
  padding-right:34px!important;
}
.eleveb-progress{
  top:0;
  right:6px;
  bottom:0;
  width:7px;
  height:100%;
}
.eleveb-progress__track{
  position:absolute;
  inset:0;
  width:7px;
  height:100%;
  border-radius:999px;
  background:rgba(15,23,42,.08);
  overflow:hidden;
}
.eleveb-progress__fill{
  background:#9A78F3;
}

/* Turnstile only takes space when real widget markup exists. */
.eleveb-calc__turnstile{
  min-height:0!important;
  height:auto!important;
  margin-top:18px!important;
  padding:0!important;
  overflow:visible;
}
.eleveb-calc__turnstile:empty{display:none!important}
.eleveb-calc__turnstile .cf-turnstile{
  min-height:0!important;
  height:auto;
}

@media(max-width:900px){
  .eleveb-calc__form{padding-right:24px!important}
  .eleveb-progress{right:5px;width:5px}
  .eleveb-progress__track{width:5px}
}
@media(max-width:768px){
  .eleveb-calc__form{padding-right:14px!important}
  .eleveb-progress{right:3px;width:3px}
  .eleveb-progress__track{width:3px}
  [data-design-sample] .eleveb-field__label{min-height:0}
  [data-design-sample] input[type="file"],
  [data-design-sample] input[type="url"]{height:52px;min-height:52px}
}

/* v1.6 refinements */
.eleveb-calc__message.is-success{
  border-color:#2E7D32;
  background:rgba(46,125,50,.06);
  color:#245C28;
}
.eleveb-success__title{font-weight:600;margin-bottom:10px}
.eleveb-success__gift{display:flex;gap:10px;align-items:flex-start;line-height:1.55;color:var(--heading)}
.eleveb-success__gift strong{color:var(--accent);font-weight:700;letter-spacing:.04em}
.eleveb-price__breakdown{margin-top:10px;display:grid;gap:5px;font-size:13px;line-height:1.45;color:var(--heading)}
.eleveb-price__breakdown div{font-weight:500}
.eleveb-calc [name="graphic_design_url"],
.eleveb-calc [name="graphic_design_file"]{min-height:50px;height:50px}
.eleveb-calc [name="graphic_design_file"]{padding-top:10px;padding-bottom:10px}
.eleveb-checkbox-grid--services{align-items:start}
.eleveb-check--service{min-height:0;height:auto;align-self:start}
@media(max-width:768px){
  .eleveb-success__gift{font-size:13px}
  .eleveb-price__breakdown{font-size:12px}
}


/* v2.0.1 päringuvoog – säilitab v1.6.0 visuaali */
[data-mode-select]{margin-bottom:28px}
.eleveb-price__toprow{width:100%;display:flex;justify-content:flex-end}
@media(max-width:768px){.eleveb-price__toprow{display:block}}

/* Projektipäring v2.0.2 – submit without price box + aligned file controls */
.eleveb-price[data-price-box]{
  display:block;
  margin:26px 0 0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.eleveb-price[data-price-box] .eleveb-price__toprow{justify-content:flex-start;}
.eleveb-field input[type="file"]{height:50px;padding:6px 12px;line-height:34px;}
.eleveb-field input[type="file"]::file-selector-button{margin-top:0;margin-bottom:0;vertical-align:middle;}
@media(max-width:768px){.eleveb-price[data-price-box] .eleveb-calc__button{width:auto;align-self:flex-start;}}

/* Projektipäring v2.0.3 – numbered flow + clean native file control */
.eleveb-step-no{font-weight:700;}
.eleveb-step-three{margin:4px 0 16px;}
.eleveb-field input[type="file"]{height:auto!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;line-height:normal!important;background:transparent!important;box-shadow:none!important;}
.eleveb-field input[type="file"]::file-selector-button{margin:0 12px 0 0!important;padding:10px 14px!important;border:1.5px solid var(--border)!important;border-radius:10px!important;background:transparent!important;vertical-align:middle!important;line-height:20px!important;}

/* v2.1 service-first request flow */
.eleveb-service-intro{margin:-10px 0 14px}
.eleveb-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.eleveb-check--service small{display:block;margin-top:4px;font-size:11px;line-height:1.4;font-weight:400;color:var(--placeholder)}
@media(max-width:900px){.eleveb-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.eleveb-service-grid{grid-template-columns:1fr}.eleveb-service-grid .eleveb-choice-card{min-height:76px}}

/* v2.2 service-first clarity */
.eleveb-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.eleveb-service-panel{
  min-width:0;
  width:100%;
  margin:0 0 34px;
  padding:24px 22px 18px;
  border:1.5px solid var(--border);
  border-radius:18px;
  background:transparent;
}
.eleveb-service-panel legend{
  width:auto;
  max-width:calc(100% - 28px);
  margin-left:2px;
  padding:7px 14px;
  border:1.5px solid var(--accent);
  border-radius:12px;
  background:#fff;
  color:var(--accent);
  font-family:'Montserrat',sans-serif;
  font-size:15px;
  font-weight:700;
  line-height:1.2;
}
.eleveb-service-panel .eleveb-calc__section-title{font-size:15px;margin:2px 0 12px}
.eleveb-service-panel .eleveb-calc__cards{margin-bottom:20px}
.eleveb-service-panel>.eleveb-field:last-child,.eleveb-service-panel>div:last-child>.eleveb-field:last-child{margin-bottom:0}
.eleveb-checkbox-grid--services{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:768px){
  .eleveb-service-grid,.eleveb-checkbox-grid--services{grid-template-columns:1fr!important}
  .eleveb-service-panel{padding:20px 15px 14px;margin-bottom:28px;border-radius:16px}
  .eleveb-service-panel legend{font-size:14px;padding:6px 11px}
}


/* v2.3 spacing and detailed service forms */
.eleveb-service-panel .eleveb-checkbox-grid--services{margin-bottom:24px!important;}
.eleveb-service-panel .eleveb-checkbox-grid--services + .eleveb-field{margin-top:22px!important;}
.eleveb-detail-flow{padding-top:4px;}
.eleveb-detail-group{margin:0 0 28px;padding:0 0 24px;border-bottom:1px solid rgba(17,24,39,.12);}
.eleveb-detail-group:last-of-type{margin-bottom:22px;}
.eleveb-detail-group .eleveb-calc__section-title{margin:0 0 12px!important;}
.eleveb-detail-group .eleveb-inline-options{margin-bottom:16px;}
.eleveb-detail-group .eleveb-calc__grid{margin-top:14px;}
@media(max-width:768px){.eleveb-detail-group{margin-bottom:24px;padding-bottom:20px}.eleveb-service-panel .eleveb-checkbox-grid--services + .eleveb-field{margin-top:18px!important}}

/* Global inquiry mode selector */
.eleveb-mode-section{margin-bottom:28px;}
.eleveb-mode-cards .eleveb-choice-card{min-height:78px;}
.eleveb-mode-cards .eleveb-choice-card__price{display:block;}

/* Päringu tüübi valiku eraldus */
.eleveb-mode-section .eleveb-calc__helper{margin-bottom:18px!important;}
.eleveb-mode-section .eleveb-mode-cards{margin-top:14px!important;}
.eleveb-calc__attachments{margin-top:24px;}
.eleveb-calc__attachments input[type="file"]{max-width:100%;padding:12px;border:1px solid #1b2238;border-radius:12px;}

/* Common contact, comments and attachments remain visible in both modes. */
.eleveb-calc .eleveb-common-extra{margin-top:24px;}
.eleveb-calc .eleveb-common-extra .eleveb-calc__attachments{margin-top:20px;}


/* v2.4.3 – consistent hover and keyboard focus for attachments and consent */
.eleveb-calc .eleveb-calc__attachments input[type="file"]{
  cursor:pointer; color:var(--placeholder); border:1.5px solid var(--border)!important;
  border-radius:14px!important; padding:10px 12px!important;
  background:transparent!important; transition:border-color .25s ease,box-shadow .25s ease,background-color .25s ease,transform .25s ease;
}
.eleveb-calc .eleveb-calc__attachments input[type="file"]::file-selector-button{
  cursor:pointer; font-family:inherit; font-weight:600; color:var(--heading)!important;
  border:1.5px solid var(--border)!important; border-radius:10px!important;
  background:transparent!important; padding:10px 14px!important;
  transition:background-color .25s ease,color .25s ease,border-color .25s ease;
}
.eleveb-calc .eleveb-calc__attachments input[type="file"]:hover,
.eleveb-calc .eleveb-calc__attachments input[type="file"]:focus-visible{
  border-color:var(--accent)!important; box-shadow:0 0 0 4px rgba(101,40,247,.08)!important;
}
.eleveb-calc .eleveb-calc__attachments input[type="file"]:hover::file-selector-button,
.eleveb-calc .eleveb-calc__attachments input[type="file"]:focus-visible::file-selector-button{
  border-color:var(--accent)!important; background:var(--accent)!important; color:#fff!important;
}
.eleveb-calc .eleveb-check--consent{padding:10px 12px; margin-left:-12px; border-radius:12px; transition:background-color .25s ease,color .25s ease;}
.eleveb-calc .eleveb-check--consent:hover{background:rgba(101,40,247,.045);color:var(--heading);}
.eleveb-calc .eleveb-check--consent:hover .eleveb-check__box,
.eleveb-calc .eleveb-check--consent input:focus-visible + .eleveb-check__box{
  border-color:var(--accent);box-shadow:0 0 0 4px rgba(101,40,247,.10);
}
.eleveb-calc .eleveb-check--consent input:checked + .eleveb-check__box{
  background:var(--accent);border-color:var(--accent);color:#fff;
}

/* v2.4.8 – static purple gift outline; no 3D or rotation */
.eleveb-calc .eleveb-gift-teaser{display:flex;align-items:center;gap:13px;pointer-events:none;user-select:none}
.eleveb-calc .eleveb-gift-teaser__copy{display:flex;flex-direction:column;gap:4px;line-height:1.35}
.eleveb-calc .eleveb-gift-teaser__copy strong{font-size:14px;color:var(--heading)}
.eleveb-calc .eleveb-gift-teaser__copy small{font-size:12px;color:var(--placeholder)}
.eleveb-calc .eleveb-gift-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 54px;width:54px;height:54px}
.eleveb-calc .eleveb-gift-icon svg{display:block;width:42px;height:42px;transform:none;animation:none}
.eleveb-calc .eleveb-gift-thanks{margin:0 0 12px}
.eleveb-calc .eleveb-gift-reveal{margin-top:14px;padding:20px;border:1px solid rgba(101,40,247,.25);border-radius:16px;background:rgba(101,40,247,.045);animation:eleveb-gift-appear .5s ease both}
.eleveb-calc .eleveb-gift-reveal strong{display:block;font-size:18px;color:var(--heading)}
.eleveb-calc .eleveb-gift-reveal p{margin:9px 0 14px;color:var(--heading)}
.eleveb-calc .eleveb-gift-code-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.eleveb-calc .eleveb-gift-code-row code{font-size:20px;font-weight:800;letter-spacing:2px;padding:11px 17px;border:1px dashed var(--accent);border-radius:10px;color:var(--accent);background:#fff}
.eleveb-calc .eleveb-gift-copy{border:1px solid var(--accent);border-radius:10px;background:transparent;color:var(--accent);padding:11px 16px;cursor:pointer;font-weight:600;transition:background .2s,color .2s}
.eleveb-calc .eleveb-gift-copy:hover,.eleveb-calc .eleveb-gift-copy:focus-visible{background:var(--accent);color:white}
@keyframes eleveb-gift-appear{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.eleveb-calc .eleveb-gift-reveal{animation:none}}

/* v2.4.9 — mobile service cards and submit/gift spacing */
@media (max-width: 768px) {
  .eleveb-calc .eleveb-service-grid .eleveb-choice-card {
    display:grid;
    grid-template-columns:minmax(92px, 0.85fr) minmax(0, 1.5fr) 26px;
    align-items:center;
    justify-content:initial;
    column-gap:10px;
    min-height:82px;
    padding:13px 15px;
    width:100%;
  }
  .eleveb-calc .eleveb-service-grid .eleveb-choice-card__name {
    grid-column:1;
    font-size:14px;
    line-height:1.3;
    overflow-wrap:normal;
    word-break:normal;
    hyphens:none;
    min-width:0;
  }
  .eleveb-calc .eleveb-service-grid .eleveb-choice-card__price {
    grid-column:2;
    font-size:12px;
    line-height:1.4;
    min-width:0;
  }
  .eleveb-calc .eleveb-service-grid .eleveb-choice-card__check {
    position:static;
    grid-column:3;
    grid-row:1;
    justify-self:end;
    width:25px;
    height:25px;
  }
  .eleveb-calc .eleveb-price[data-price-box] .eleveb-price__toprow {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:22px;
    padding:0 12px 12px 0;
  }
  .eleveb-calc .eleveb-price[data-price-box] .eleveb-calc__button {
    width:auto;
    max-width:100%;
    margin:0;
  }
  .eleveb-calc .eleveb-gift-teaser {
    width:100%;
    max-width:100%;
    gap:12px;
    align-items:center;
    padding:0 4px;
  }
  .eleveb-calc .eleveb-gift-icon {flex:0 0 44px;width:44px;height:44px;}
  .eleveb-calc .eleveb-gift-icon svg {width:38px;height:38px;}
  .eleveb-calc .eleveb-gift-teaser__copy {min-width:0;overflow-wrap:break-word;}
  .eleveb-calc .eleveb-gift-teaser__copy strong {font-size:13px;line-height:1.4;}
  .eleveb-calc .eleveb-gift-teaser__copy small {font-size:11px;line-height:1.45;}
}
@media (max-width: 350px) {
  .eleveb-calc .eleveb-service-grid .eleveb-choice-card {
    grid-template-columns:minmax(80px, 0.85fr) minmax(0, 1.35fr) 24px;
    column-gap:7px;
    padding:12px 10px;
  }
  .eleveb-calc .eleveb-service-grid .eleveb-choice-card__name {font-size:13px;}
  .eleveb-calc .eleveb-service-grid .eleveb-choice-card__price {font-size:11px;}
}
