/* Body text font: IBM Plex Sans (umjesto HKGroteskPro). Naslovi ostaju Libre Franklin. */
:root {
  --bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
body {
  font-family: var(--bs-body-font-family);
}

/* Mobilni header: manji vertikalni padding + kompaktniji logo */
@media (max-width: 991.98px) {
  .navbar {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
  .navbar-brand-img.logo {
    height: 52px;
    width: auto;
  }
}

.libre-franklin {
  font-family: "Libre Franklin", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

html,
body {
  height: 100%;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

h2 {
  font-family: "Libre Franklin", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  text-wrap: balance;

}


h1,
h3,
h4,
h5,
.display-1,
.display-2,
.display-3 {
  font-family: "Libre Franklin", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  text-wrap: balance;
}

.naslovPrva {
  font-size: 90px;
}

.cijena {
  color: #1F363D;
  background-color: #DEDCD9;
}

.container {
  max-width: 1300px;
}

.linijeKartica {
  border: 1px solid #29c5f1c9;
}

.linijaRecenzija {
  border-top: 1px solid #69b406;
}

.borderEndContact {
  border-right: 1px solid #69b406;
}

.borderBottomContact {
  border-bottom: 1px solid #69b406;
}

.badgeKartica {
  display: inline-block !important;
  background-color: #1F363D;
  color: #ffffff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .3px;
  width: fit-content;
  align-self: flex-start;
}

.pozadinaKartice {
  background-color: #e7e7e7;
}

.nav-link {
  color: #1F363D !important;
}

.nav-link:hover {
  color: #69b406 !important;
}

.bojaAside {
  background-color: #dedcd9;
}

.book {
  background-color: #29c5f1c9;
  color: white;
}

.card {

  --bs-card-row-spacer-y: 4rem;
}

.sectionBg {
  background-color: #f5f5f3;
}

.cardBg {
  background-color: #ffffff;
  border: 1px solid #e8e8e6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  transition: border-color .2s, box-shadow .2s;
}

.cardBg:hover {
  border-color: #69b406;
  box-shadow: 0 4px 12px rgba(105, 180, 6, .12);
}

.listBg {
  background-color: #1F363D;
  color: white;
}

.bgStepLine {
  background-color: #1F363D;
  color: white;
}

.btnNext {
  background-color: #69b406;
  color: #ffffff;
  font-weight: 600;
  border: none;
  transition: all .2s;
}

.btnNext:hover {
  background-color: #5a9c05;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(105, 180, 6, .3);
}

.flickity-prev-next-button {
  align-items: center;
  background-color: #ffffff;
  color: #000000;
}

.flickity-prev-next-button:hover {
  align-items: center;
  background-color: #ffffff;
  color: #000000;
}

.flickity-button-white .flickity-prev-next-button {
  background-color: var(--bs-white);
  color: #5a9c05 !important;
}

.book:hover {
  background-color: #29c5f1c9;
  color: white;
}

.logo {
  width: 140px;
}

.logo-futer {
  width: 40px;
}

.header {
  background-color: #ffffff;
  color: black;
}

#prva {
  height: auto;
}

.formaPozadina {
  background-color: #69b406;

}

.formaPozadina2 {
  background-color: #1F363D;

}

.dugme {
  background-color: #29c5f1c9;
  color: white;
  width: 150px;
}

.dugme:hover {
  background-color: #29c5f1c9;
  color: white;
  width: 150px;
}

.okvirnaLinija {
  border: 1px solid #000000;
  border-radius: 10px;
}

.badge-rounded-circle {
  background-color: white !important;
}

.rounded-circle {
  width: 50px;
  /* Visina i širina za krug */
  height: 50px;
  /* Visina i širina za krug */
  background-color: black;
  /* Boja pozadine */
  color: white;
  /* Boja teksta */
  display: flex;
  justify-content: center;
  /* Centriranje teksta horizontalno */
  align-items: center;
  /* Centriranje teksta vertikalno */
  text-decoration: none;
  /* Uklanja podcrtavanje */
  border-radius: 50%;
  /* Zaokružuje uglove za formiranje kruga */
  font-size: 30px;
  /* Veličina znaka '>' */
  font-weight: bolder;
}

/* ===== STEPPER ===== */
.stepper-section {
  background-color: #1F363D;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1031;
}

.step-circle {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border: none;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.step-circle.active {
  background-color: #69b406;
  color: #fff;
}

.step-circle.completed {
  background-color: #69b406;
  color: #fff;
}

.step-circle.upcoming {
  background-color: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .35);
}

.stepper-inline-label {
  font-size: 0.82rem;
  white-space: nowrap;
}

.stepper-upcoming-text {
  opacity: .4;
}

.stepper-inline-detail {
  font-size: 0.7rem;
  opacity: .55;
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}

/* Info bar */
.stepper-info-bar {
  background: #ffffff;
  border-bottom: 1px solid #c5c5c0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
  position: sticky;
  z-index: 1020;
}

.sib-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  min-width: 0;
}

.sib-card>div:last-child {
  min-width: 0;
  flex: 1;
}

.sib-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.sib-icon-pickup {
  background: rgba(105, 180, 6, .1);
  color: #69b406;
}

.sib-icon-dropoff {
  background: rgba(220, 53, 69, .08);
  color: #dc3545;
}

.sib-icon-sm {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.sib-label {
  display: block;
  font-size: 0.68rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1;
  margin-bottom: 2px;
}

.sib-value {
  font-size: 0.82rem;
  color: #1F363D;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.sib-divider {
  color: #ccc;
  padding: 0 4px;
  font-size: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.sib-car-img {
  max-height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.sib-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1F363D;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -.8px;
  line-height: 1;
}

.sib-price small {
  font-size: 0.5em;
  font-weight: 700;
  opacity: .75;
  margin-left: 1px;
}

.sib-price-sm {
  font-size: 1.1rem;
}

.sib-cart-link {
  display: block;
  font-size: 0.72rem;
  color: #69b406;
  text-decoration: none;
  margin-top: 2px;
}

.sib-cart-link:hover {
  color: #5a9c05;
  text-decoration: underline;
}

.sib-cart-link i {
  font-size: 11px;
}

/* Responsive za info-bar - ispod 1200px smanji sadrzaj */
@media (max-width: 1199.98px) {
  .sib-card {
    padding: 0 8px;
    gap: 8px;
  }

  .sib-value {
    font-size: 0.78rem;
    max-width: 140px;
  }

  .sib-label {
    font-size: 0.62rem;
  }

  .sib-icon {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .sib-car-img {
    max-height: 36px;
  }

  .sib-price {
    font-size: 1.8rem;
  }

  .sib-divider {
    padding: 0 2px;
  }
}

@media (max-width: 991.98px) {
  .sib-card .sib-label {
    display: none;
  }

  .sib-value {
    max-width: 110px;
  }
}

/* Mobile progress bar */
.stepper-progress-bar {
  height: 4px;
  background-color: #dee2e6;
  border-radius: 2px;
  overflow: hidden;
}

.stepper-progress-fill {
  height: 100%;
  background-color: #69b406;
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* ===== VEHICLE CAROUSEL ===== */
.car-carousel .flickity-cell {
  position: absolute !important;
  width: 100%;
}

.car-carousel {
  min-height: 180px;
}

.car-names .flickity-cell {
  width: 100%;
}

.car-carousel .flickity-page-dots {
  bottom: 5px;
}

.car-carousel .flickity-page-dots .dot {
  background: #69b406;
}

.slide-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.slide-cell img {
  max-height: 200px;
  object-fit: contain;
}

.car-no-photo {
  min-height: 180px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0ee;
  border-radius: 8px;
}

.car-image {
  text-align: center;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-image img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

/* ===== FILTER BAR ===== */
.gc-cat-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0;
}

.gc-cat-scroll::-webkit-scrollbar {
  display: none;
}

.gc-cat-btn {
  white-space: nowrap;
  border: 1.5px solid #c5d5cb;
  background: #fff;
  color: #1F363D;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}

.gc-cat-btn:hover {
  border-color: #69b406;
  background: #f7fbf2;
}

.gc-cat-btn.active {
  background: #69b406;
  border-color: #69b406;
  color: #fff;
}

.gc-sort-select {
  border-radius: 20px;
  border: 1.5px solid #c5d5cb;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 32px 6px 14px;
  color: #1F363D;
}

.gc-filter-btn {
  white-space: nowrap;
  border: 1.5px solid #c5d5cb;
  background: #fff;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 18px;
  color: #1F363D;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gc-filter-btn:hover {
  border-color: #69b406;
  background: #f7fbf2;
}

/* ===== FILTER OFFCANVAS ===== */
.gc-fi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #dee2e6;
  background: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all .2s;
}

.gc-fi:hover {
  border-color: #69b406;
}

.gc-fi.active {
  border-color: #69b406;
  background: #f7fbf2;
}

.gc-fi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #ccc;
  transition: all .2s;
  flex-shrink: 0;
}

.gc-fi.active .gc-fi-dot {
  border-color: #69b406;
  background: #69b406;
}



.car-specs span {
  font-size: 0.85rem;
  color: #6c757d;
}

/* ===== INSURANCE CARDS ===== */
.ins-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid #e8e8e6;
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.ins-card:hover {
  border-color: #b8d99e;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}

.ins-card.active {
  border-color: #69b406;
  box-shadow: 0 10px 28px rgba(105, 180, 6, .22);
  transform: translateY(-2px);
}

/* Check badge u gornjem desnom uglu */
.ins-card.active::after {
  content: '';
  position: absolute;
  top: 16px;
  right: 16px;
  width: 26px;
  height: 26px;
  background: #69b406;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 2px 8px rgba(105, 180, 6, .4);
  z-index: 2;
}

/* Header - gradient pozadina, centrirano */
.ins-header {
  position: relative;
  text-align: center;
  padding: 22px 20px 20px;
  background: linear-gradient(180deg, #fafaf8 0%, #fff 100%);
  border-bottom: 1px solid #f0f0ed;
}

.ins-card.active .ins-header {
  background: linear-gradient(180deg, #f0fce0 0%, #fff 100%);
}

.ins-name {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 18px;
  font-size: .85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #1F363D;
  background: #fff;
  border: 1.5px solid #e0dfd8;
  border-radius: 30px;
  transition: all .25s;
}

.ins-card:hover .ins-name {
  border-color: #b8d99e;
}

.ins-card.active .ins-name {
  background: #1F363D;
  border-color: #1F363D;
  color: #fff;
  box-shadow: 0 3px 10px rgba(31, 54, 61, .25);
}

.ins-icon {
  width: 62px;
  height: 62px;
  background: #fff;
  color: #69b406;
  border: 2px solid rgba(105, 180, 6, .18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
  transition: all .3s;
  position: relative;
}

.ins-icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(105, 180, 6, .06);
  z-index: -1;
  transition: all .3s;
}

.ins-card.active .ins-icon {
  background: linear-gradient(135deg, #69b406 0%, #5a9c05 100%);
  color: #fff;
  border-color: #69b406;
  box-shadow: 0 6px 18px rgba(105, 180, 6, .3);
}

.ins-card.active .ins-icon::before {
  background: rgba(105, 180, 6, .12);
  inset: -10px;
}

.ins-price {
  font-size: 2rem;
  font-weight: 800;
  color: #1F363D;
  line-height: 1;
  letter-spacing: -.5px;
}

.ins-card.active .ins-price {
  color: #69b406;
}

.ins-price small {
  font-size: .5em;
  font-weight: 700;
  opacity: .65;
  margin-left: 1px;
}

.ins-days {
  display: block;
  font-size: .72rem;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .6px;
  opacity: .6;
}

/* Wrap body u padding da header ostane full-bleed */
.ins-card .ins-stats,
.ins-card .ins-toggle,
.ins-card .ins-features {
  padding-left: 20px;
  padding-right: 20px;
}

.ins-card .ins-stats {
  padding-top: 16px;
}

.ins-card .ins-features {
  padding-bottom: 20px;
}

.ins-stats {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.ins-stat {
  flex: 1;
  background: #f8f8f7;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
}

.ins-stat-label {
  display: block;
  font-size: .7rem;
  text-transform: uppercase;
  color: #999;
  letter-spacing: .5px;
  margin-bottom: 2px;
}

.ins-stat strong {
  font-size: 1rem;
  color: #1F363D;
}

.ins-toggle {
  background: none;
  border: 1px solid #e8e8e6;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .82rem;
  font-weight: 600;
  color: #495057;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
  transition: all .2s;
}

.ins-toggle i {
  transition: transform .3s;
}

.ins-toggle.expanded i {
  transform: rotate(180deg);
}

.ins-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ins-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
}

.ins-feature.included {
  color: #1F363D;
}

.ins-feature.excluded {
  color: #aaa;
  text-decoration: line-through;
}

.ins-feature i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.ins-feature.included i {
  background: rgba(105, 180, 6, .15);
  color: #69b406;
}

.ins-feature.excluded i {
  background: rgba(220, 53, 69, .1);
  color: #dc3545;
}

/* ===== INSURANCE FEATURES FADE-PREVIEW ===== */
.ins-features-wrap {
  position: relative;
  padding: 0 16px 4px;
  flex: 1;
}

/* ===== INSURANCE CARD V2 — price-centred layout ===== */

/* Active checkmark badge (top-right corner) */
.ins-active-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #69b406;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .2s, transform .2s;
  z-index: 2;
}

.osiguranjaPaketi.active .ins-active-badge {
  opacity: 1;
  transform: scale(1);
}

/* Package name pill */
.ins-pkg-pill {
  display: inline-block;
  padding: 5px 22px;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.osiguranjaPaketi:not(.active) .ins-pkg-pill {
  background: #f0f0ee;
  color: #555;
}

.osiguranjaPaketi.active .ins-pkg-pill {
  background: #1F363D;
  color: #fff;
}

/* Shield icon circle */
.ins-shield-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 16px;
  transition: background .2s, color .2s;
}

.osiguranjaPaketi:not(.active) .ins-shield-wrap {
  background: rgba(105, 180, 6, .1);
  color: rgba(105, 180, 6, .6);
}

.osiguranjaPaketi.active .ins-shield-wrap {
  background: #69b406;
  color: #fff;
}

/* Main price */
.ins-price-main {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  color: #1F363D;
}

.osiguranjaPaketi.active .ins-price-main {
  color: #69b406;
}

.ins-price-sup {
  font-size: 1.3rem;
  font-weight: 700;
  vertical-align: top;
  line-height: 1.6;
}

.ins-price-period {
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #bbb;
  margin-top: 6px;
  margin-bottom: 18px;
}

.ins-card-hr {
  border: none;
  border-top: 1px solid #f0f0ee;
  margin: 0 0 16px;
}

/* Desktop: all features visible, no collapse */
.ins-features {
  transition: max-height 0.4s ease;
}

.ins-fade-overlay {
  display: none;
}

.ins-see-more-btn {
  display: none;
}

/* Mobile: collapsed with fade + expand button */
@media (max-width: 767.98px) {
  .ins-features {
    max-height: 120px;
    overflow: hidden;
  }

  .ins-features.is-expanded {
    max-height: 800px;
  }

  .ins-fade-overlay {
    display: block;
    position: absolute;
    bottom: 36px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .ins-features.is-expanded~.ins-fade-overlay {
    opacity: 0;
  }

  .ins-see-more-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 8px 0 12px;
    font-size: .8rem;
    font-weight: 600;
    color: #69b406;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .ins-see-more-btn i {
    transition: transform 0.3s;
  }

  .ins-see-more-btn.is-expanded i {
    transform: rotate(180deg);
  }
}

/* ===== EXTRAS CARDS ===== */
.extra-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 2px solid #eae9e6;
  border-radius: 12px;
  padding: 14px 18px;
  transition: all .25s;
}

.extra-card:hover {
  border-color: #b8d99e;
}

.extra-card.selected {
  border-color: #69b406;
  background: #fafef4;
  box-shadow: 0 4px 12px rgba(105, 180, 6, .12);
}

.extra-card-icon {
  width: 46px;
  height: 46px;
  background: rgba(105, 180, 6, .1);
  color: #69b406;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all .2s;
}

.extra-card.selected .extra-card-icon {
  background: #69b406;
  color: #fff;
}

.extra-card-info {
  flex: 1;
  min-width: 0;
}

.extra-card-name {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1F363D;
  line-height: 1.2;
}

.extra-card-price strong {
  font-size: 1rem;
  color: #1F363D;
}

.extra-card-price small {
  font-size: 0.78rem;
}

.extra-card-total {
  display: block;
  font-size: 0.72rem;
  margin-top: 2px;
}

.extra-card-total strong {
  color: #69b406;
}

.counter-control {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.counter-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #69b406;
  color: #69b406;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}

.counter-btn:hover:not(:disabled) {
  background: #69b406;
  color: #fff;
}

.counter-btn:disabled {
  opacity: .3;
  cursor: not-allowed;
  border-color: #ccc;
  color: #ccc;
}

.counter-value {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: #1F363D;
}

/* ===== EXTRAS ASIDE ===== */
.extras-aside {
  background: #fff;
  border: 1px solid #eae9e6;
  border-radius: 12px;
  overflow: hidden;
  position: sticky;
  top: var(--sticky-offset, 20px);
  z-index: 1;
  transition: top .2s;
}

.extras-aside-header {
  background: #1F363D;
  color: #fff;
  padding: 16px 20px;
}

.extras-aside-header h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.extras-aside-body {
  padding: 16px 20px;
  min-height: 160px;
  max-height: 400px;
  overflow-y: auto;
}

.extras-aside-empty {
  text-align: center;
  padding: 30px 10px;
  color: #999;
}

.extras-aside-empty i {
  display: block;
}

.selected-extra-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed #eae9e6;
}

.selected-extra-item:last-child {
  border-bottom: none;
}

.selected-extra-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.selected-extra-name {
  font-size: 0.88rem;
  color: #1F363D;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-extra-qty {
  display: inline-block;
  background: rgba(105, 180, 6, .1);
  color: #69b406;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.selected-extra-item strong {
  color: #1F363D;
  white-space: nowrap;
}

.extras-aside-footer {
  padding: 14px 20px;
  background: #fafaf8;
  border-top: 1px solid #eae9e6;
}

.extras-aside-footer small {
  font-size: 0.72rem;
  letter-spacing: 1px;
}

.extras-aside-footer strong {
  font-size: 1.15rem;
  color: #69b406;
}

@media (max-width: 767px) {
  .extras-aside {
    position: static;
    margin-bottom: 20px;
  }
}

/* ===== RESERVATION SUMMARY (page-rezervacija desna kolona) ===== */
.resv-summary {
  background: #fff;
  border: 1px solid #eae9e6;
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: var(--sticky-offset, 20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.resv-vehicle-block {
  padding: 16px 18px 12px;
  text-align: center;
  background: linear-gradient(180deg, #fafaf8 0%, #fff 100%);
  border-bottom: 1px solid #eae9e6;
}

.resv-vehicle-img {
  margin-bottom: 8px;
}

.resv-vehicle-img img {
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.resv-vehicle-info {
  text-align: center;
}

.resv-class-badge {
  display: inline-block;
  background: rgba(105, 180, 6, .12);
  color: #69b406;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 4px;
}

.resv-vehicle-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1F363D;
  line-height: 1.2;
}

.resv-route {
  padding: 10px 18px;
  border-bottom: 1px solid #eae9e6;
}

.resv-route-horizontal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.resv-route-col {
  flex: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.resv-route-arrow {
  color: #ccc;
  font-size: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Mob: jedna lokacija ispod druge, strelica se sakrije */
@media (max-width: 575.98px) {
  .resv-route-horizontal {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .resv-route-arrow {
    display: none;
  }
}

.resv-route-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
}

.resv-route-dot-pickup {
  background: rgba(105, 180, 6, .12);
  color: #69b406;
}

.resv-route-dot-dropoff {
  background: rgba(220, 53, 69, .08);
  color: #dc3545;
}

.resv-route-text {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.resv-route-text .resv-value {
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0;
}

.resv-route-text .text-muted {
  font-size: 0.68rem;
  display: block;
  line-height: 1.1;
}

.resv-route-text .resv-label {
  font-size: 0.62rem;
  margin-bottom: 1px;
}

.resv-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #999;
  margin-bottom: 2px;
}

.resv-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1F363D;
  line-height: 1.2;
  margin-bottom: 2px;
}

.resv-breakdown {
  padding: 10px 18px;
}

.resv-section-title {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #999;
  margin-bottom: 6px;
  font-weight: 600;
}

.resv-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed #eae9e6;
}

.resv-line:last-child {
  border-bottom: none;
}

.resv-line-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #1F363D;
  flex: 1;
  min-width: 0;
}

.resv-line-icon {
  width: 22px;
  height: 22px;
  background: rgba(105, 180, 6, .08);
  color: #69b406;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.resv-line strong {
  font-weight: 700;
  color: #1F363D;
  font-size: 0.82rem;
  white-space: nowrap;
}

.resv-extras-divider {
  margin: 8px 0 4px;
  padding-top: 8px;
  border-top: 1px solid #eae9e6;
}

.resv-total {
  background: #1F363D;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resv-total-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  opacity: .85;
}

.resv-total-amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.resv-total-amount small {
  font-size: 0.55em;
  opacity: .8;
}

.resv-total-amount small {
  font-size: 0.6em;
  font-weight: 600;
  margin-left: 2px;
}

@media (max-width: 767px) {
  .resv-summary {
    position: static;
    margin-bottom: 20px;
  }
}

/* ===== FLEET CARDS (page-flota-vozila) ===== */
.fleet-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e0dfd8;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  min-height: 460px;
}

.fleet-card:hover {
  border-color: #69b406;
}

@media (max-width: 767.98px) {
  .fleet-card {
    min-height: 0;
  }

  .fleet-card .fleet-card-img {
    min-height: auto;
    padding: 16px 14px 4px;
    height: 150px;
  }

  .fleet-card .fleet-card-img img {
    max-height: 130px;
    margin-top: 40px;
  }

  .fleet-card .fleet-card-no-photo {
    height: 130px;
    font-size: 42px;
  }

  .fleet-card .fleet-card-body {
    padding: 10px 14px 14px;
  }

  .fleet-card .fleet-card-name {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .fleet-card .fleet-card-specs {
    margin-bottom: 10px;
  }

  .fleet-card .fleet-card-actions {
    padding-top: 8px;
  }
}

.fleet-card-header {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.fleet-card-class {
  display: inline-block;
  background: #1F363D;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 5px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.fleet-card-img {
  padding: 30px 20px 14px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f7f7f4 0%, #fff 100%);
  min-height: 220px;
}

.fleet-card-img img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.fleet-card-no-photo {
  width: 100%;
  height: 180px;
  background: #f5f5f3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: #ccc;
}

.fleet-card-body {
  padding: 18px 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fleet-card-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1F363D;
  margin: 0 0 14px;
  line-height: 1.2;
}

.fleet-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.fleet-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f0efe9;
  color: #1F363D;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.fleet-spec-badge i {
  color: #69b406;
  font-size: 12px;
}

.fleet-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f0f0ed;
}

.fleet-btn-info {
  flex: 1;
  background: #69b406;
  border: 1.5px solid #69b406;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.fleet-btn-info:hover {
  background: #5a9c05;
  border-color: #5a9c05;
  color: #fff;
}

.fleet-btn-book {
  flex: 1;
  font-size: 0.85rem;
  padding: 9px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== REVIEWS ===== */
.review-flickity {
  margin: 0 -8px;
}

.review-flickity .flickity-slider>* {
  /* Svaka celija pruza visinu kroz flex layout */
}

.review-cell {
  padding-top: 30px;
  padding-bottom: 14px;
}

.review-card {
  position: relative;
  background: #fff;
  border: 1px solid #eae9e6;
  border-radius: 14px;
  padding: 28px 22px 22px;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  transition: border-color .25s, box-shadow .25s;
}

.review-card:hover {
  border-color: #69b406;
  box-shadow: 0 8px 20px rgba(105, 180, 6, .1);
}

.review-quote-icon {
  position: absolute;
  top: -20px;
  left: 22px;
  width: 42px;
  height: 42px;
  background: #69b406;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(105, 180, 6, .3);
}

.review-stars {
  color: #ffc107;
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.review-text {
  color: #495057;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #eae9e6;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #69b406 0%, #5a9c05 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-author-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.review-author-info strong {
  font-size: 0.9rem;
  color: #1F363D;
  font-weight: 700;
  line-height: 1.1;
}

.review-author-info small {
  font-size: 0.72rem;
  color: #888;
  margin-top: 2px;
}

/* ===== TERMS & CONDITIONS ===== */
.terms-hero {
  background: linear-gradient(135deg, #1F363D 0%, #2c4a52 100%);
  color: #fff;
  padding: 60px 0 50px;
  text-align: center;
}

.terms-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.terms-hero-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(105, 180, 6, .18);
  color: #69b406;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
}

.terms-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.15;
}

.terms-hero-subtitle {
  color: rgba(255, 255, 255, .75);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.terms-hero-print {
  background: rgba(255, 255, 255, .1);
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
  cursor: pointer;
}

.terms-hero-print:hover {
  background: #69b406;
  border-color: #69b406;
}

.terms-body {
  padding: 50px 0 80px;
}

/* Tekst */
.terms-content {
  background: #fff;
  border: 1px solid #eae9e6;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #495057;
}

.terms-content h1,
.terms-content h2,
.terms-content h3,
.terms-content h4 {
  color: #1F363D;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 14px;
}

.terms-content h1 {
  font-size: 1.5rem;
}

.terms-content h2 {
  font-size: 1.3rem;
}

.terms-content h3 {
  font-size: 1.1rem;
  padding-left: 14px;
  border-left: 3px solid #69b406;
}

.terms-content h4 {
  font-size: 1rem;
}

.terms-content>*:first-child {
  margin-top: 0;
}

.terms-content p {
  margin-bottom: 14px;
}

.terms-content ul,
.terms-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.terms-content li {
  margin-bottom: 8px;
}

.terms-content a {
  color: #69b406;
  text-decoration: none;
  font-weight: 600;
}

.terms-content a:hover {
  text-decoration: underline;
}

.terms-content strong,
.terms-content b {
  color: #1F363D;
}

/* Aside */
.terms-aside {
  background: #fff;
  border: 1px solid #eae9e6;
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.terms-aside-header {
  background: #1F363D;
  color: #fff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.terms-aside-header i {
  width: 36px;
  height: 36px;
  background: rgba(105, 180, 6, .18);
  color: #69b406;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.terms-aside-header h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.terms-aside-body {
  padding: 18px 22px 22px;
}

.terms-aside-text {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.5;
  margin-bottom: 18px;
}

.terms-contact-block {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0ed;
}

.terms-contact-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.terms-contact-loc {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1F363D;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}

.terms-contact-loc i {
  color: #69b406;
  font-size: 14px;
}

.terms-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #495057;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 0;
  text-decoration: none;
  transition: color .2s;
}

.terms-contact-link i {
  color: #69b406;
  font-size: 13px;
}

.terms-contact-link:hover {
  color: #69b406;
}

@media (max-width: 991.98px) {
  .terms-aside {
    position: static;
    margin-top: 24px;
  }

  .terms-content {
    padding: 24px 20px;
  }

  .terms-hero-title {
    font-size: 1.8rem;
  }
}

/* Print */
@media print {

  .terms-hero,
  .terms-aside,
  .navbar,
  footer {
    display: none !important;
  }

  .terms-content {
    border: none;
    box-shadow: none;
    padding: 0;
  }
}

/* ===== THANK YOU PAGE ===== */
.ty-section {
  padding: 60px 0 80px;
}

.ty-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
  text-align: center;
}

.ty-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.ty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #69b406 0%, #5a9c05 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  box-shadow: 0 8px 24px rgba(105, 180, 6, .35);
  animation: tyPulse 2s ease-out infinite;
}

@keyframes tyPulse {
  0% {
    box-shadow: 0 8px 24px rgba(105, 180, 6, .35), 0 0 0 0 rgba(105, 180, 6, .4);
  }

  70% {
    box-shadow: 0 8px 24px rgba(105, 180, 6, .35), 0 0 0 18px rgba(105, 180, 6, 0);
  }

  100% {
    box-shadow: 0 8px 24px rgba(105, 180, 6, .35), 0 0 0 0 rgba(105, 180, 6, 0);
  }
}

.ty-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1F363D;
  margin-bottom: 10px;
  line-height: 1.2;
}

.ty-subtitle {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.ty-ref {
  background: #f5f5f3;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 32px;
  display: inline-block;
}

.ty-ref-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 4px;
}

.ty-ref-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1F363D;
  letter-spacing: 2px;
}

.ty-summary,
.ty-next-steps {
  text-align: left;
  background: #fafaf8;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 22px;
  border: 1px solid #eae9e6;
}

.ty-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 16px;
}

.ty-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed #e0dfd8;
  text-align: right;
}

.ty-summary-row:last-of-type {
  border-bottom: none;
}

.ty-summary-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c757d;
  font-size: 0.9rem;
  text-align: left;
}

.ty-summary-label i {
  color: #69b406;
  font-size: 14px;
}

.ty-summary-row strong {
  color: #1F363D;
  font-size: 0.92rem;
  font-weight: 700;
}

.ty-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 0;
  margin-top: 6px;
  border-top: 2px solid #1F363D;
}

.ty-summary-total span {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1F363D;
}

.ty-summary-total strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: #69b406;
}

/* Next steps */
.ty-step {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.ty-step:last-child {
  margin-bottom: 0;
}

.ty-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #69b406;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.ty-step strong {
  color: #1F363D;
  display: block;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.ty-step p {
  font-size: 0.85rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.4;
}

/* Kontakt */
.ty-contact {
  margin-bottom: 24px;
}

.ty-contact-title {
  font-size: 0.95rem;
  color: #6c757d;
  margin-bottom: 10px;
}

.ty-contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ty-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid #eae9e6;
  color: #1F363D;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: all .2s;
}

.ty-contact-link:hover {
  border-color: #69b406;
  color: #69b406;
}

.ty-contact-link i {
  color: #69b406;
}

/* Actions */
.ty-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.ty-btn-home {
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  background: #69b406;
  color: #fff;
  padding: 10px 18px;
  z-index: 9999;
  font-weight: 700;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}

.skip-link:focus {
  outline: 3px solid #fff;
  outline-offset: 0;
}

/* Driver age select */
.driver-age-select {
  text-align: center;
  text-align-last: center;
  font-weight: 500;
  min-width: 72px;
}

/* Mobile form - izjednaci godine select i Prikazi vozila dugme */
@media (max-width: 767.98px) {
  #formaPrva .search-button {
    min-height: 42px;
  }

  #formaPrva .driver-age-select.form-select-sm {
    min-height: 46px;
    padding: 6px 28px 6px 12px;
  }
}

/* Form validacija */
.invalid-feedback.d-block {
  color: #dc3545;
  font-size: 0.82rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.invalid-feedback.d-block::before {
  content: '⚠';
  font-size: 0.9rem;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: #dc3545 !important;
  background-image: none !important;
  padding-right: 12px !important;
}

.form-check-input.is-invalid {
  border-color: #dc3545;
}

.form-check-input.is-invalid~.form-check-label {
  color: #dc3545;
}

/* Vidljiv focus indicator za keyboard navigaciju */
.btn:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid #69b406;
  outline-offset: 2px;
}

@media (max-width: 575.98px) {
  .ty-card {
    padding: 28px 20px;
  }

  .ty-title {
    font-size: 1.5rem;
  }

  .ty-icon {
    width: 64px;
    height: 64px;
    font-size: 30px;
  }

  .ty-summary-row {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
  }
}

/* ===== HERO FORM - preklapanje preko hero sekcije ===== */
.hero-form-wrap {
  margin-top: -60px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hero-form-wrap {
    margin-top: -80px;
  }
}

.hero-form-wrap .formaPozadina {
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
  overflow: hidden;
}

/* Flickity: jednake visine celija */
.review-flickity .flickity-slider {
  display: flex;
  align-items: stretch;
}

.review-flickity .flickity-slider>.review-cell {
  display: flex;
}



/* ===== OFFCANVAS CART ===== */
.cart-offcanvas {
  --cart-accent: #69b406;
  --cart-dark: #1F363D;
  width: 33vw !important;
  min-width: 380px;
  max-width: 520px;
  background: #fafaf8;
  border-left: none;
  box-shadow: -8px 0 30px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .cart-offcanvas {
    width: 100vw !important;
    max-width: 100vw;
    min-width: 0;
  }
}

.cart-offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--cart-dark);
  color: #fff;
}

.cart-offcanvas-subtitle {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: .6;
  margin-bottom: 4px;
}

.cart-offcanvas-header h5 {
  color: #fff;
  font-size: 1.1rem;
}

.cart-offcanvas-close {
  background: rgba(255, 255, 255, .1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  cursor: pointer;
}

.cart-offcanvas-close:hover {
  background: rgba(255, 255, 255, .2);
}

.cart-offcanvas-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px 0;
  display: flex;
  flex-direction: column;
}

.cart-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eae9e6;
}

.cart-section:last-of-type {
  border-bottom: none;
}

/* Vozilo */
.cart-vehicle {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #eae9e6;
  margin-bottom: 20px;
  padding-bottom: 16px;
}

.cart-vehicle-img {
  flex-shrink: 0;
  width: 110px;
}

.cart-vehicle-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.cart-vehicle-info {
  flex: 1;
  min-width: 0;
}

.cart-badge {
  display: inline-block;
  background: rgba(105, 180, 6, .1);
  color: var(--cart-accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.cart-vehicle-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cart-dark);
  line-height: 1.3;
}

/* Timeline */
.cart-timeline {
  position: relative;
  padding-left: 4px;
}

.cart-timeline-item {
  display: flex;
  gap: 14px;
  position: relative;
}

.cart-timeline-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.cart-timeline-pickup {
  background: rgba(105, 180, 6, .12);
  color: var(--cart-accent);
}

.cart-timeline-dropoff {
  background: rgba(220, 53, 69, .08);
  color: #dc3545;
}

.cart-timeline-line {
  width: 2px;
  background: #eae9e6;
  margin-left: 17px;
  height: 14px;
  margin-top: -4px;
  margin-bottom: -4px;
}

.cart-timeline-content {
  flex: 1;
  padding-top: 2px;
  padding-bottom: 8px;
}

.cart-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #999;
  margin-bottom: 2px;
}

.cart-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cart-dark);
  line-height: 1.2;
}

.cart-date {
  font-size: 0.78rem;
  color: #777;
  display: flex;
  align-items: center;
  margin-top: 4px;
}

/* Items */
.cart-section-title {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 12px;
  font-weight: 600;
}

.cart-items {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eae9e6;
  padding: 4px 14px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px dashed #eae9e6;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--cart-dark);
  flex: 1;
  min-width: 0;
}

.cart-item-icon {
  width: 28px;
  height: 28px;
  background: rgba(105, 180, 6, .08);
  color: var(--cart-accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.cart-item-price {
  font-weight: 700;
  color: var(--cart-dark);
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Total - uvek na dnu offcanvas body-ja */
.cart-total-section {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  background: var(--cart-dark);
  color: #fff;
  margin-left: -24px;
  margin-right: -24px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-total-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .85;
}

.cart-total-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.osiguranjaPaketi {
  border: 1.5px solid #e8e8e6;
  border-radius: 16px;
  background-color: #fff;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.osiguranjaPaketi:hover {
  border-color: #b8d99e;
  box-shadow: 0 4px 20px rgba(105, 180, 6, .1);
}

.osiguranjaPaketi .krug-select {
  display: none;
}

.osiguranjaPaketi.active .krug-select {
  display: none;
}

.osiguranjaPaketi.active {
  border-color: #69b406;
  border-width: 2px;
  background: linear-gradient(180deg, #f8fdf2 0%, #ffffff 65%);
}

.card-border-blue {
  background-color: #ffffff;
  border: 1px solid #69b406;
  color: black;
}

/* Custom styles */
.search-container {
  position: relative;
}

.location-input-container {
  position: relative;
}

.search-input {
  padding-left: 40px;
  padding-right: 40px;
  height: 48px;
}

.search-input:focus {
  box-shadow: none;
  border-color: #ff6b00;
}

.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #495057;
  z-index: 10;
}

.clear-button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  background: none;
  border: none;
  color: #6c757d;
}

.location-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  overflow: hidden;
  margin-top: 5px;
}

.return-option {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.return-option:hover {
  background-color: #f8f9fa;
}

.history-header {
  padding: 10px 15px;
  background-color: #f8f9fa;
  font-weight: 600;
  font-size: 0.9rem;
}

.location-item {
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
}

.location-item:hover {
  background-color: #f8f9fa;
}

.location-icon {
  margin-right: 12px;
  width: 24px;
  text-align: center;
  color: #555;
  margin-top: 3px;
}

.location-name {
  font-weight: 500;
  margin-bottom: 3px;
}

.location-address {
  font-size: 0.85rem;
  color: #6c757d;
}

.info-icon {
  margin-left: 15px;
  color: #6c757d;
  display: flex;
  align-items: center;
  height: 100%;
  margin-top: 3px;
}

.vehicle-tabs {
  margin-bottom: 20px;
}

.vehicle-tab {
  background: #222;
  color: white;
  padding: 8px 15px;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  cursor: pointer;
}

.vehicle-tab.active {
  background: #000;
}

.vehicle-tab:not(.active) {
  background: #f1f1f1;
  color: #222;
}

.vehicle-tab i {
  margin-right: 8px;
}

.search-row {
  background: transparent;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-row label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-size: 0.9rem;
}

.location-town {
  font-size: .8rem;
  color: #6c757d;
}

.town-header {
  background: #f8f9fa;
  font-size: .8rem;
}


.date-time-picker {
  display: flex;
}

.date-input,
.time-input {
  border: 1px solid #dee2e6;
  padding: 10px 15px;
  height: 48px;
}

.date-input {
  border-right: none;
  border-radius: 5px 0 0 5px;
}

.time-input {
  border-radius: 0 5px 5px 0;
  border-left: none;
}

.search-button {
  background-color: #69b406;
  color: white;
  border: none;
  text-align: center;
  border-radius: 4px;
  height: 48px;
  font-weight: 600;
}

.search-button:hover {
  background-color: #69b406;
  color: white;
}

.location-details {
  flex-grow: 1;
  max-width: calc(100% - 50px);
}

#pickup-locations-list,
#return-locations-list {
  max-height: 449px;
  overflow-y: scroll;
}

/* === Fix boja za Pickadate === */

.picker__day--selected,
.picker__day--selected:hover,
.picker__list-item--selected,
.picker__list-item--selected:hover,
.picker__button--highlight,
.picker__button--highlight:hover {
  background-color: #29c5f1c9 !important;
  color: #fff !important;
}

.picker__day--highlighted,
.picker__list-item--highlighted {
  background-color: #f8d7da !important;
  color: #29c5f1c9 !important;
}

.picker__list-item:hover {
  background-color: #ffecec !important;
  color: #29c5f1c9 !important;
}

.picker__nav--next,
.picker__nav--prev {
  color: #29c5f1c9 !important;
}

.picker__weekday,
.picker__list {
  color: #29c5f1c9;
}

.picker__day--today {
  border-bottom: 2px solid #29c5f1c9;
  color: #29c5f1c9;
}

/* Time picker scrollbar fix (optional aesthetic) */
.picker__list {
  max-height: 80dvh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #29c5f1c9 #f0f0f0;
}

.town-header {
  background: #f1f1f1;
  font-weight: 600;
  font-size: .85rem;
  padding: 8px 15px;
  border-top: 2px solid #dee2e6;
}

.town-header+.location-item {
  border-top: 1px solid #eee;
  /* vizuelni razmak */
}


.history-header {
  display: none;
}

.offcanvas.offcanvas-bottom,
.offcanvas.offcanvas-top {
  height: 100%;
  left: 0;
  max-height: 100%;
  right: 0;
  background-color: #1F363D;
  color: white;
}

.modal {
  --bs-modal-bg: #1F363D;
}

.btn-close,
.btn-close:hover {
  color: var(--bs-btn-close-color);
}

.btn-close {
  width: 1.5rem;
  height: 1.5rem;
  background: #ffffff var(--bs-btn-close-bg) center / .7rem auto no-repeat;
}

.form-control:focus {
  border-color: #69b406;
}

.form-check-input:checked {
  background-color: #69b406;
  border-color: #69b406;
}

.accordion-item {
  background-color: var(--bs-accordion-bg);
  border: var(--bs-accordion-border-width) solid #69b406;
  color: var(--bs-accordion-color);
}

.zastavicaEn {
  width: 25px;
}

.zastavicaMe {
  width: 27px;
}

@media (min-width: 768px) {

  #prva {
    height: 75vh;
    width: 100%;
  }

  .osiguranjaPaketi {
    border: 1.5px solid #e8e8e6;
    border-radius: 16px;
    background-color: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
  }

  .osiguranjaPaketi.active {
    border-color: #69b406;
    border-width: 2px;
    background: linear-gradient(180deg, #f8fdf2 0%, #ffffff 65%);
  }

  .card-border-blue {
    background-color: #ffffff;
    border: 1px solid #69b406;
    color: black;
  }

  .sectionBg {
    background-color: #f5f5f3;
  }

  .cardBg {
    background-color: #ffffff;
    border: 1px solid #e8e8e6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    transition: border-color .2s, box-shadow .2s;
  }

  .cardBg:hover {
    border-color: #69b406;
    box-shadow: 0 4px 12px rgba(105, 180, 6, .12);
  }

  .listBg {
    background-color: #1F363D;
    color: white;
  }

  .bgStepLine {
    background-color: #1F363D;
    color: white;
  }

  .btnNext {
    background-color: #69b406;
    color: #ffffff;
    font-weight: 600;
    border: none;
    transition: all .2s;
  }

  .btnNext:hover {
    background-color: #5a9c05;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(105, 180, 6, .3);
  }

  /* Custom styles */
  .search-container {
    position: relative;
  }

  .location-input-container {
    position: relative;
  }

  .search-input {
    padding-left: 40px;
    padding-right: 40px;
    height: 48px;
  }

  .search-input:focus {
    box-shadow: none;
    border-color: #F39C12;
  }

  .search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #1F363D;
    z-index: 10;
  }

  .clear-button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    background: none;
    border: none;
    color: #1F363D;
  }

  .location-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
    margin-top: 5px;
  }

  .return-option {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .return-option:hover {
    background-color: #f8f9fa;
  }

  .history-header {
    padding: 10px 15px;
    background-color: #f8f9fa;
    font-weight: 600;
    font-size: 0.9rem;
  }

  .location-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
  }

  .location-item:hover {
    background-color: #f8f9fa;
  }

  .location-icon {
    margin-right: 12px;
    width: 24px;
    text-align: center;
    color: #555;
    margin-top: 3px;
  }

  .location-name {
    font-weight: 500;
    margin-bottom: 3px;
  }

  .location-address {
    font-size: 0.85rem;
    color: #6c757d;
  }

  .info-icon {
    margin-left: 15px;
    color: #6c757d;
    display: flex;
    align-items: center;
    height: 100%;
    margin-top: 3px;
  }

  .vehicle-tabs {
    margin-bottom: 20px;
  }

  .vehicle-tab {
    background: #222;
    color: white;
    padding: 8px 15px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    cursor: pointer;
  }

  .vehicle-tab.active {
    background: #000;
  }

  .vehicle-tab:not(.active) {
    background: #f1f1f1;
    color: #222;
  }

  .vehicle-tab i {
    margin-right: 8px;
  }

  .search-row {
    background: transparent;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .search-row label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 0.9rem;
  }

  .location-town {
    font-size: .8rem;
    color: #6c757d;
  }

  .town-header {
    background: #f8f9fa;
    font-size: .8rem;
  }


  .date-time-picker {
    display: flex;
  }

  .date-input,
  .time-input {
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    height: 48px;
  }

  .date-input {
    border-right: none;
    border-radius: 5px 0 0 5px;
  }

  .time-input {
    border-radius: 0 5px 5px 0;
    border-left: none;
  }

  .search-button {
    background-color: #1F363D;
    color: white;
    border: none;
    text-align: center;
    border-radius: 4px;
    height: 48px;
    font-weight: 600;
  }

  .search-button:hover {
    background-color: #1F363D;
    color: white;
  }

  .location-details {
    flex-grow: 1;
    max-width: calc(100% - 50px);
  }

  #pickup-locations-list,
  #return-locations-list {
    max-height: 449px;
    overflow-y: scroll;
  }

  /* === Fix boja za Pickadate === */

  .picker__day--selected,
  .picker__day--selected:hover,
  .picker__list-item--selected,
  .picker__list-item--selected:hover,
  .picker__button--highlight,
  .picker__button--highlight:hover {
    background-color: #29c5f1c9 !important;
    color: #fff !important;
  }

  .picker__day--highlighted,
  .picker__list-item--highlighted {
    background-color: #f8d7da !important;
    color: #29c5f1c9 !important;
  }

  .picker__list-item:hover {
    background-color: #ffecec !important;
    color: #29c5f1c9 !important;
  }

  .picker__nav--next,
  .picker__nav--prev {
    color: #29c5f1c9 !important;
  }

  .picker__weekday,
  .picker__list {
    color: #29c5f1c9;
  }

  .picker__day--today {
    border-bottom: 2px solid #29c5f1c9;
    color: #29c5f1c9;
  }

  /* Time picker scrollbar fix (optional aesthetic) */
  .picker__list {
    max-height: 80dvh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #29c5f1c9 #f0f0f0;
  }

  .town-header {
    background: #f1f1f1;
    font-weight: 600;
    font-size: .85rem;
    padding: 8px 15px;
    border-top: 2px solid #dee2e6;
  }

  .town-header+.location-item {
    border-top: 1px solid #eee;
    /* vizuelni razmak */
  }


  .history-header {
    display: none;
  }

  .offcanvas.offcanvas-bottom,
  .offcanvas.offcanvas-top {
    height: 60%;
    left: 0;
    max-height: 100%;
    right: 0;
  }

  .cijena {
    color: #1F363D;
    background-color: #DEDCD9;
  }

  .btn-close {
    width: 2.5rem;
    height: 2.5rem;
    background: #ffffff var(--bs-btn-close-bg) center / .9rem auto no-repeat;
  }

}

/* end @media (min-width: 768px) */

/* ===== WHATSAPP FAB ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  transition: transform .2s, box-shadow .2s;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}

/* On mobile, lift above the sticky checkout bar */
@media (max-width: 767.98px) {
  .whatsapp-fab {
    bottom: 96px;
  }
}