.calcHero{padding:38px 0 14px}
.breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:14px;margin-bottom:14px}
.breadcrumbs a{color:var(--muted)}
.breadcrumbs span{opacity:.7}
/* .calcWrap{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:start} */
.calcWrap{
  display:flex;
  flex-direction:column;
  gap:22px;
}
.calcCard{
  background:rgba(70,70,70,.60);
  border:1px solid rgba(255,255,255,.06);
  border-radius:18px;
  padding:22px;
  box-shadow:0 6px 18px rgba(0,0,0,.25);
}
.calcLead{margin:0 0 16px;color:#dcdcdc;font-size:17px}
.calcInfo p{margin:0 0 14px;color:var(--muted)}
.calcInfo ul{margin:0;padding-left:18px;color:var(--muted)}
.calcInfo li{margin:0 0 8px}
.calcRow {
  display:flex;
  justify-content:space-between;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.calcTotal {
  margin-top:15px;
  font-size:20px;
  font-weight:bold;
  color:#2e7d32;
  display:flex;
  justify-content:space-between;
}

.calcRowToggle{
  cursor:pointer;
  user-select:none;
}

.calcRowLabel{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.calcExpandIcon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  min-width:16px;
  height:16px;
  font-size:11px;
  line-height:1;
  border-radius:3px;
  background:rgba(255,255,255,.08);
  color:#fff;
  transition:transform .18s ease, background .18s ease;
}

.calcRowToggle:hover .calcExpandIcon{
  background:rgba(255,255,255,.16);
}

.calcRowToggle.is-open .calcExpandIcon{
  transform:rotate(90deg);
}

.calcSubRows{
  display:none;
  padding:4px 0 0 22px;
}

.calcSubRows.open{
  display:block;
}

.calcSubRow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:5px 0;
  border-bottom:1px solid rgba(255,255,255,.05);
  font-size:14px;
}

.calcSubRow span{
  text-align:left;
  color:rgba(238,241,245,.88);
}

.calcSubRow strong{
  min-width:110px;
  text-align:right;
  white-space:nowrap;
  color:#dfe5ea;
}

.calcLabelText{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
}

.calcMiniTip{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  min-width:16px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:11px;
  line-height:1;
  cursor:help;
}

.calcMiniTipText{
  position:absolute;
  left:50%;
  bottom:130%;
  transform:translateX(-50%);
  width:220px;
  max-width:220px;
  padding:8px 10px;
  border-radius:8px;
  background:#111;
  color:#fff;
  font-size:12px;
  line-height:1.35;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
  box-shadow:0 8px 20px rgba(0,0,0,.4);
  z-index:60;
  white-space:normal;
}

.calcMiniTipText::after{
  content:"";
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  border-width:6px;
  border-style:solid;
  border-color:#111 transparent transparent transparent;
}

.calcMiniTip:hover .calcMiniTipText,
.calcMiniTip:focus .calcMiniTipText{
  opacity:1;
}

.calcRow strong,
.calcSubRow strong,
.calcTotal span:last-child{
  width:140px;
  min-width:140px;
  max-width:140px;
  flex:0 0 140px;
  text-align:right;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}

@media (max-width:680px){
  .calcRow,
  .calcSubRow,
  .calcTotal{
    gap:8px;
  }

  .calcRow span,
  .calcRowLabel,
  .calcSubRow span{
    min-width:0;
  }

  .calcRow strong,
  .calcSubRow strong,
  .calcTotal span:last-child{
    width:145px;
    min-width:145px;
    max-width:145px;
    flex:0 0 145px;
    font-size:15px;
  }
}

.regcalcGrid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}
.field{grid-column:span 4;display:flex;flex-direction:column;min-width:0;position:relative}
.fieldQuarter{grid-column:span 3}
.fieldHalf{grid-column:span 6}
.fieldWide{grid-column:span 12}
.rowBreak{height:0;min-height:0;padding:0!important;margin:0!important;border:0!important;background:transparent!important}
.field label{margin-bottom:7px;color:rgba(245,247,251,.94);font-weight:800;font-size:14px}
.field input,.field select{
  width:100%;height:50px;min-height:50px;padding:0 14px;border-radius:14px;border:1px solid rgba(255,255,255,.08);
  background:rgba(47,47,47,.92);color:var(--text);font-size:15px;outline:none;transition:border-color .18s ease,background .18s ease;
}
.field input::placeholder{color:rgba(208,208,208,.68)}
.field input:focus,.field select:focus{border-color:rgba(198,40,40,.72);background:rgba(52,52,52,.98)}
.fieldError label{color:#ffb4b4}
.fieldError input,.fieldError select,.fieldError .checkRow{border-color:#d32f2f!important;box-shadow:0 0 0 2px rgba(211,47,47,.18)}
.fieldTipBubble{
  position:absolute;
  left:10px;
  bottom:100%;
  transform:translateY(-8px);
  background:#111;
  color:#fff;
  padding:8px 10px;
  border-radius:8px;
  font-size:13px;
  line-height:1.35;
  white-space:normal;
  max-width:240px;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 8px 20px rgba(0,0,0,.4);
  z-index:20;
}
.fieldTipBubble::after{
  content:"";
  position:absolute;
  top:100%;
  left:12px;
  border-width:6px;
  border-style:solid;
  border-color:#111 transparent transparent transparent;
}
.field.showTip .fieldTipBubble,
.field.fieldError .fieldTipBubble{
  opacity:1;
}
.field.showTip .fieldTipBubble{
  transform:translateY(-10px);
}
.field.fieldError .fieldTipBubble{
  background:#8b1e1e;
  border-color:#d32f2f;
}
.field.fieldError .fieldTipBubble::after{
  border-color:#8b1e1e transparent transparent transparent;
}
.checkRow{height:50px;display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:0 14px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(47,47,47,.92);cursor:pointer}
.checkRow input[type="checkbox"]{position:absolute;opacity:0;pointer-events:none}
.checkRow span{color:var(--text);font-weight:700}
.toggleRow{position:relative;user-select:none}
.togglePill{
  width:54px;height:28px;border-radius:999px;display:inline-flex;align-items:center;
  padding:3px;background:#5b5b5b;transition:background .18s ease;
}
.toggleKnob{
  width:22px;height:22px;border-radius:50%;background:#fff;transform:translateX(0);
  transition:transform .18s ease;
}
.toggleRow.is-on .togglePill{background:#2e7d32}
.toggleRow.is-on .toggleKnob{transform:translateX(26px)}
.regcalcActions{
  display:grid;
  grid-template-columns:minmax(210px,1.2fr) minmax(140px,.75fr) minmax(210px,1.2fr);
  gap:12px;
  margin-top:20px;
  align-items:stretch;
}

.regcalcActions .btn{
  width:100%;
  min-height:52px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-weight:800;
}

.regcalcActions #regCalcPreviewBtn,
.regcalcActions #transferTaxBtn{
  min-height:56px;
  font-size:16px;
  padding:0 18px;
  box-shadow:0 8px 22px rgba(0,0,0,.18);
}

.regcalcActions button[type="reset"]{
  min-height:50px;
  font-size:15px;
}

.regcalcActions a {margin-left: auto}

@media (max-width:760px){
  .regcalcActions{
    grid-template-columns:1fr;
  }

  .regcalcActions .btn,
  .regcalcActions #regCalcPreviewBtn,
  .regcalcActions #transferTaxBtn,
  .regcalcActions button[type="reset"]{
    min-height:52px;
    font-size:16px;
  }
}
.regcalcResult{margin-top:18px;padding:18px;border-radius:16px;border:1px solid rgba(255,255,255,.08);background:rgba(47,47,47,.72);scroll-margin-top:90px}
.regcalcResult h3{margin:0 0 12px;color:rgba(245,247,251,.95)}

.regcalcItem{padding:10px 12px;border-radius:12px;background:rgba(70,70,70,.55);border:1px solid rgba(255,255,255,.05)}
.regcalcItem strong{display:block;margin-bottom:4px;color:rgba(245,247,251,.92);font-size:13px}
.regcalcItem span{color:var(--muted);font-size:14px}
.regcalcNote{margin:14px 0 0;color:var(--muted);font-size:14px}
.seoBlock p{color:var(--muted);margin:0 0 14px}
.seoBlock h2,.seoBlock h3{margin:0 0 10px}
@media(max-width:980px){.calcWrap{grid-template-columns:1fr}.field{grid-column:span 6}.fieldQuarter{grid-column:span 6}.fieldHalf{grid-column:span 12}}
@media(max-width:680px){.field,.fieldQuarter,.fieldHalf,.fieldWide{grid-column:span 12}
.rowBreak{height:0;min-height:0;padding:0!important;margin:0!important;border:0!important;background:transparent!important}.regcalcSummary{grid-template-columns:1fr}.calcCard{padding:18px}}
.labelWithTip {
  display: flex;
  align-items: center;
  gap: 6px;
}

.miniTip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 12px;
  border-radius: 50%;
  background: #444;
  color: #fff;
  cursor: pointer;
}

.miniTipText {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;

  background: #111;
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;

  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 50;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}

.miniTipText::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #111 transparent transparent transparent;
}

.miniTip:hover .miniTipText,
.miniTip:focus .miniTipText {
  opacity: 1;
}

/* IZRAČUNAJ */

/* IZRAČUNAJ - crveno */
#regCalcPreviewBtn {
  background: linear-gradient(135deg, #dc3545, #bb2d3b);
  color: #ffffff;
  border: none;
}

#regCalcPreviewBtn:hover {
  background: linear-gradient(135deg, #bb2d3b, #a52834);
}

/* POREZ ostaje plav */
#transferTaxBtn {
  background: linear-gradient(135deg, #3d8bfd, #6ea8fe);
  color: #ffffff;
  border: none;
}

#regCalcPreviewBtn {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  color: #ffffff;
  border: none;
}

/* pulsiranje */
#regCalcPreviewBtn.pulse {
  animation: pulseBtn 1.6s infinite;
}

@keyframes pulseBtn {
  0% { box-shadow: 0 0 0 0 rgba(229,57,53,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(229,57,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,57,53,0); }
}

#regCalcPreviewBtn:hover {
  background: linear-gradient(135deg, #0b5ed7, #0a58ca);
}

/* POREZ */
#transferTaxBtn {
  background: linear-gradient(135deg, #3d8bfd, #6ea8fe);
  color: #ffffff;
  border: none;
}

#transferTaxBtn:hover {
  background: linear-gradient(135deg, #2f7cf6, #5c9cfd);
}


/* HOVER ANIMATION */
.regcalcActions .btn {
  transition: all 0.2s ease;
}

.regcalcActions .btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

.regcalcActions .btn:active {
  transform: scale(0.98);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


/* IZRAČUNAJ - FINAL CRVENO */
#regCalcPreviewBtn {
  background: linear-gradient(135deg, #e53935, #c62828);
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 25px rgba(229,57,53,0.35);
}

#regCalcPreviewBtn:hover {
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
}

/* CLICK FLASH EFFECT */
#regCalcPreviewBtn.clicked {
  animation: clickFlash 0.4s ease;
}

@keyframes clickFlash {
  0% { box-shadow: 0 0 0 0 rgba(229,57,53,0.7); }
  50% { box-shadow: 0 0 0 12px rgba(229,57,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,57,53,0); }
}


/* Result highlight after calculation */
#regCalcResult.flashResult {
  animation: flashResultBg 1.2s ease;
}

@keyframes flashResultBg {
  0% { box-shadow: 0 0 0 0 rgba(229,57,53,0.00); background: rgba(47,47,47,.72); }
  20% { box-shadow: 0 0 0 8px rgba(229,57,53,0.18); background: rgba(70,70,70,.88); }
  100% { box-shadow: 0 0 0 0 rgba(229,57,53,0.00); background: rgba(47,47,47,.72); }
} 

.subList {
  margin-top: 6px;
  padding-left: 18px;
}

.subList li {
  list-style: disc;
  margin-bottom: 4px;
}

.subList a {
  font-size: 0.95em;
}
.miniTipText {
  position: relative;
}

.miniTipClose {
  position: absolute;
  top: 6px;
  right: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
} 

@media (max-width: 768px) {
  .calcMiniTipText {
    pointer-events: auto;
  }

  .calcMiniTip:hover .calcMiniTipText {
    opacity: 0; /* isključi hover na mobilnom */
  }

  .calcMiniTip.active .calcMiniTipText {
    opacity: 1;
  }
}  

.fieldTipBubble{
  position:absolute;
  left:10px;
  bottom:100%;
  transform:translateY(-8px);
  background:#8b1e1e;
  color:#fff;
  padding:12px 34px 10px 10px;
  border-radius:8px;
  font-size:13px;
  line-height:1.35;
  white-space:normal;
  max-width:240px;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  border:1px solid #d32f2f;
  box-shadow:0 8px 20px rgba(0,0,0,.4);
  z-index:20;
}

.fieldTipBubble::after{
  content:"";
  position:absolute;
  top:100%;
  left:12px;
  border-width:6px;
  border-style:solid;
  border-color:#8b1e1e transparent transparent transparent;
}

.field.showTip .fieldTipBubble,
.field.fieldError .fieldTipBubble{
  opacity:1;
  pointer-events:auto;
}

.fieldTipClose{
  position:absolute;
  top:4px;
  right:6px;
  width:22px;
  height:22px;
  border:0;
  background:#f1f1f1;
  color:#111;
  font-size:18px;
  line-height:1;
  cursor:pointer;
  padding:0;
  z-index:30;
  pointer-events:auto;
  touch-action:manipulation;
  border-radius:4px;
}

.miniTipIcon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
}

.miniTip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  cursor: pointer;
}

.miniTipText {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;

  background: #111;
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;

  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 50;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}

.miniTipText::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #111 transparent transparent transparent;
}

/* hover + fokus (desktop + mobile tap) */
.miniTip:hover .miniTipText,
.miniTip:focus-within .miniTipText {
  opacity: 1;
  pointer-events: auto;
} 

.calcCTA {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  font-weight: 500;
}

.calcCTA a {
  color: #d32f2f;
  font-weight: 700;
  text-decoration: none;
}

.calcCTA a:hover {
  text-decoration: underline;
}      

/* ===== UKUPNO highlight (light glow) ===== */
.calcTotal {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;

  background: linear-gradient(
    135deg,
    rgba(46,125,50,.18),
    rgba(46,125,50,.08)
  );

  border: 1px solid rgba(46,125,50,.25);

  box-shadow:
    0 0 0 1px rgba(46,125,50,.15) inset,
    0 0 20px rgba(46,125,50,.18),
    0 6px 18px rgba(0,0,0,.25);

  transition: all 0.25s ease;
}

.calcTotal span:first-child {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.calcTotal span:last-child {
  font-size: 24px;
  font-weight: 900;

  color: #4caf50;

  text-shadow:
    0 0 10px rgba(76,175,80,.35),
    0 0 20px rgba(76,175,80,.25);
}

/* MOBILE još jače */
@media (max-width: 768px) {
  .calcTotal {
    padding: 16px;
    box-shadow:
      0 0 0 1px rgba(46,125,50,.25) inset,
      0 0 28px rgba(46,125,50,.22),
      0 8px 20px rgba(0,0,0,.28);
  }

  .calcTotal span:first-child {
    font-size: 19px;
  }

  .calcTotal span:last-child {
    font-size: 28px;
  }
}

/* ===== UKUPNO refined soft glow + subtle pulse ===== */
.calcTotal {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(76,175,80,.12),
    rgba(76,175,80,.05)
  );
  border: none;
  box-shadow:
    0 0 30px rgba(76,175,80,.18),
    inset 0 0 20px rgba(76,175,80,.08),
    0 10px 25px rgba(0,0,0,.25);
  animation: calcTotalPulse 3.2s ease-in-out infinite;
}

.calcTotal span:first-child {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.calcTotal span:last-child {
  font-size: 26px;
  font-weight: 900;
  color: #7edc82;
  text-shadow:
    0 0 12px rgba(126,220,130,.45),
    0 0 28px rgba(126,220,130,.25);
}

@keyframes calcTotalPulse {
  0%, 100% {
    box-shadow:
      0 0 24px rgba(76,175,80,.14),
      inset 0 0 18px rgba(76,175,80,.06),
      0 10px 25px rgba(0,0,0,.25);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 38px rgba(76,175,80,.22),
      inset 0 0 24px rgba(76,175,80,.10),
      0 12px 28px rgba(0,0,0,.28);
    transform: scale(1.01);
  }
}

@media (max-width: 768px) {
  .calcTotal {
    padding: 18px;
    box-shadow:
      0 0 40px rgba(76,175,80,.22),
      inset 0 0 24px rgba(76,175,80,.10),
      0 12px 30px rgba(0,0,0,.30);
  }

  .calcTotal span:first-child {
    font-size: 19px;
  }

  .calcTotal span:last-child {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calcTotal {
    animation: none !important;
  }
}     

@media (max-width: 768px) {
  .calcTotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .calcTotal span:first-child {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 18px;
  }

  .calcTotal span:last-child {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: none;
    text-align: right;
    white-space: nowrap;
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.05;
  }
}



/* Share FAB - side centered */
/* ===== SHARE FAB - CLEAN APP STYLE ===== */
.calcShareFab{
  position: fixed;

  right: 14px;
  top: 58%;
  transform: translateY(-50%);

  width: 56px;
  height: 56px;
  border-radius: 50%;

  background: linear-gradient(135deg,#e53935,#c62828);
  color:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:
    0 8px 22px rgba(0,0,0,.35),
    0 0 18px rgba(229,57,53,.25);

  z-index: 9999;
  cursor:pointer;

  transition: all .18s ease;
}

.calcShareFab svg{
  width: 28px;
  height: 28px;
}

.calcShareFab:hover{
  transform: translateY(-50%) scale(1.06);
}

.calcShareFab:active{
  transform: translateY(-50%) scale(.92);
}

.calcShareFab.is-visible{
  animation: fabSoftPop .5s ease;
}

@keyframes fabSoftPop{
  0%{transform:translateY(-50%) scale(.7);opacity:0;}
  70%{transform:translateY(-50%) scale(1.08);opacity:1;}
  100%{transform:translateY(-50%) scale(1);}
}

/* MOBILE */
@media (max-width:768px){
  .calcShareFab{
    right: 12px;
    top: 62%;
    width: 54px;
    height: 54px;
  }

  .calcShareFab svg{
    width: 26px;
    height: 26px;
  }
}

.calcShareFab::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,0));
  pointer-events:none;
}

.calcShareFab.is-visible{
  animation: shareFabPopSide .8s ease;
}

@keyframes shareFabPopSide{
  0%{ transform: translateY(-50%) translateX(12px) scale(.78); opacity: 0; }
  55%{ transform: translateY(-50%) translateX(-2px) scale(1.08); opacity: 1; }
  100%{ transform: translateY(-50%) translateX(0) scale(1); opacity: 1; }
}

.calcShareFab.shareBounce{
  animation: shareBounceSide .9s ease 2;
}

@keyframes shareBounceSide{
  0%,100%{ transform: translateY(-50%) translateX(0); }
  35%{ transform: translateY(-50%) translateX(-8px); }
  65%{ transform: translateY(-50%) translateX(0); }
}

.calcShareToast{
  position: fixed;
  right: 84px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(28,28,30,.94);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  z-index: 1001;
  box-shadow: 0 10px 24px rgba(0,0,0,.32);
  white-space: nowrap;
}

@media (max-width: 768px){
  .calcShareFab{ right: 8px; width: 60px; height: 60px; }
  .calcShareFab svg{ width: 28px; height: 28px; }
  .calcShareToast{ right: 76px; font-size: 13px; max-width: 180px; white-space: normal; }
}

@media (prefers-reduced-motion: reduce){
  .calcShareFab, .calcShareFab.is-visible, .calcShareFab.shareBounce{ animation:none !important; }
}

.calcShareFab[hidden]{
  display:none !important;
}

/* ===== SHARE HINT ===== */
.shareHintFloating{
  position: fixed;
  right: 86px;
  top: 58%;

  transform: translateY(-50%) translateX(12px) scale(.96);

  max-width: 260px;
  padding: 12px 14px;
  border-radius: 14px;

  background: rgba(28,28,30,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;

  z-index: 1002;

  box-shadow:
    0 14px 32px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.06) inset;

  opacity: 0;
  filter: blur(6px);

  pointer-events: none;

  transition:
    opacity .35s ease,
    transform .35s ease,
    filter .35s ease;
}

/* 🔥 ULaz animacija */
.shareHintFloating.show{
  opacity: 1;
  filter: blur(0);
  transform: translateY(-50%) translateX(0) scale(1);
}

.shareHintFloating::after{
  content:"";
  position:absolute;
  right:-6px;
  top:50%;
  transform:translateY(-50%);
  border-width:6px;
  border-style:solid;
  border-color:transparent transparent transparent rgba(28,28,30,.96);
}

@media (max-width:768px){
  .shareHintFloating{
    right: 76px;
    top: 62%;
    max-width: 200px;

    font-size: 13px;
    padding: 10px 12px;

    transform: translateY(10px) scale(.96);
  }

  .shareHintFloating.show{
    transform: translateY(0) scale(1);
  }
}

/* ===== SHARE FAB SOFT PULSE - max 2 ciklusa ===== */
.calcShareFab.pulseSoft{
  animation: sharePulseSoft 1.1s ease-out 2;
}

@keyframes sharePulseSoft{
  0%{
    box-shadow:
      0 8px 22px rgba(0,0,0,.35),
      0 0 0 0 rgba(229,57,53,.26);
    transform: translateY(-50%) scale(1);
  }
  45%{
    box-shadow:
      0 8px 22px rgba(0,0,0,.35),
      0 0 0 12px rgba(229,57,53,0);
    transform: translateY(-50%) scale(1.04);
  }
  100%{
    box-shadow:
      0 8px 22px rgba(0,0,0,.35),
      0 0 0 0 rgba(229,57,53,0);
    transform: translateY(-50%) scale(1);
  }
}

@media (prefers-reduced-motion: reduce){
  .shareHintFloating,
  .shareHintFloating.show,
  .calcShareFab.pulseSoft{
    animation:none !important;
    transition:none !important;
  }
}

/* ===== ENGINE + PAYLOAD U ISTI RED ===== */
#fieldEnginePower{
  grid-column: span 3;
}

#fieldEngineCcm{
  grid-column: span 3;
}

#fieldPayload{
  grid-column: span 3;
}

@media (max-width: 680px){
  #fieldEnginePower,
  #fieldEngineCcm,
  #fieldPayload{
    grid-column: span 12 !important;
  }

  #productionYear{
    width: 100%;
  }
}

@media (max-width: 768px) {
  .calcInfo .cta {
    display: flex;
    flex-direction: column;
    gap: 14px; /* 👈 razmak */
  }

  .calcInfo .cta .btn {
    width: 100%;
  }
} 

.calcInfo{
  margin: 0;
}

.calcInfoSection{
  padding: 22px 0 0;
}

.calcInfoSection .calcCard{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px;
  box-sizing: border-box;
}

#altapayNote{
  font-size:13,5px;
  line-height:1.42;
  color:#aaa;
}

#altapayNote strong{
  color:#ffffff;
  font-weight:800;
}

#altapayNote strong:last-child{
  color:#ffd180;
  text-shadow:0 0 8px rgba(255,209,128,.18);
}

#altapayNote a{
  color:#ffd180;
  text-decoration:none;
  font-weight:800;
}

#altapayNote a:hover{
  text-decoration:underline;
}

@media (max-width: 768px){

  .regcalcResult{
    padding:16px;
  }

  .regcalcResult h3{
    font-size:18px;
    margin-bottom:12px;
  }

  .calcRow{
    padding:9px 0;
    line-height:1.28;
  }

  .calcSubRow{
    padding:6px 0;
    font-size:14px;
    line-height:1.25;
  }

  .calcSubRows{
    padding:4px 0 0 20px;
  }

  .calcRow span,
  .calcRowLabel,
  .calcSubRow span{
    font-size:14.5px;
    line-height:1.28;
  }

  .calcRow strong,
  .calcSubRow strong{
    width:126px;
    min-width:126px;
    max-width:126px;
    flex:0 0 126px;
    font-size:14px;
    line-height:1.18;
  }

  .calcTotal{
    margin-top:14px;
    padding:14px 16px;
  }

  .calcTotal span:first-child{
    font-size:17px;
  }

  .calcTotal span:last-child{
    font-size:clamp(23px, 6.2vw, 27px);
  }

  .regcalcNote{
    font-size:14px;
    line-height:1.34;
    margin-top:12px;
    margin-bottom:6px;
  }

  .calcCTA{
    font-size:14px;
    line-height:1.34;
    margin-top:12px;
    padding-top:8px;
  }

  #altapayNote{
    font-size:13px;
    line-height:1.32;
    margin-top:10px;
    color:#adadad;
  }

  #altapayNote strong{
    color:#fff;
    font-weight:800;
  }

  #altapayNote strong:last-child{
    color:#ffd180;
    text-shadow:none;
  }

  #altapayNote a{
    color:#ffd180;
    text-decoration:underline;
  }

  #ctaCallBtn{
    min-height:50px;
    font-size:16px;
    padding:12px 16px;
  }

  #ctaCallBtn + div{
    font-size:12px !important;
    margin-top:5px !important;
    line-height:1.2;
  }
}  

/* ===== CTA BUTTON SOFT PULSE ===== */
#ctaCallBtn.pulseSoft{
  animation:pulseSoftBtn 1.2s ease;
}

@keyframes pulseSoftBtn{
  0%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(229,57,53,.35);
  }
  50%{
    transform:scale(1.05);
    box-shadow:0 0 0 12px rgba(229,57,53,0);
  }
  100%{
    transform:scale(1);
    box-shadow:0 0 0 0 rgba(229,57,53,0);
  }
}

.seoRegLink{
  margin-top:24px;
  padding:18px;
  border-radius:14px;
  background:rgba(198,40,40,.08);
  border:1px solid rgba(198,40,40,.25);
  text-align:center;
}

.seoRegLink p{
  margin:8px 0 14px;
}