.range-slider {
  -webkit-appearance: none;
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #10b981;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.24);
  cursor: pointer;
  transition: transform 0.12s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.08);
}

.range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.24);
  cursor: pointer;
}

.service-card {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.8rem;
  border: 2px solid #e2e8f0;
  border-radius: 1.15rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.24;
  background: #ffffff;
  transition: all 0.2s ease;
}

.service-card:hover {
  border-color: #cbd5e1;
}

.calc-choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  color: #0284c7;
}

.option-card {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.45rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.85rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  transition: all 0.2s ease;
}

.addon-card .content {
  padding: 0.8rem 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.25;
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
  background: #ffffff;
}

.p-addon:checked + .content {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.cjenik-sticky-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: 34rem;
  margin: 0 auto;
}

.cjenik-sticky-tabs > a {
  width: 100%;
  min-height: 3.45rem;
  text-align: center;
}

.detail-sheet-card__image {
  height: 180px;
  overflow: hidden;
  background: #e2e8f0;
}

.detail-sheet-card__image--mobile {
  height: 132px;
}

.detail-sheet-rail,
.related-strip-rail {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.1rem 0.1rem 0.55rem;
  scroll-snap-type: x proximity;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.detail-sheet-rail::-webkit-scrollbar,
.related-strip-rail::-webkit-scrollbar {
  display: none;
}

.detail-sheet-mobile-card {
  min-width: 82vw;
  max-width: 82vw;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  scroll-snap-align: start;
}

.detail-sheet-pdf-link {
  display: inline-flex;
  min-width: 8.9rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-width: 1px;
  border-style: solid;
  border-radius: 1rem;
  padding: 0 0.95rem;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.detail-sheet-pdf-link i {
  font-size: 1.14rem;
}


.related-strip-card {
  min-width: 70vw;
  max-width: 70vw;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.35rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  scroll-snap-align: start;
}

.related-strip-card__image {
  height: 116px;
  overflow: hidden;
  background: #e2e8f0;
}

.related-strip-card__body {
  padding: 0.95rem 0.95rem 1rem;
}

.cjenik-calc-tabs .calc-tab {
  min-height: 3.45rem;
}

.calc-choice-rail {
  display: grid;
  gap: 0.65rem;
}

.calc-choice-rail--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calc-choice-rail--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calc-choice-rail--frequency {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .cjenik-sticky-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    max-width: 64rem;
  }

  .cjenik-sticky-tabs > a {
    flex: 0 1 14.5rem;
    min-height: 3.65rem;
  }
}

@media (max-width: 767.98px) {
  #katalog,
  #detaljni-cjenici,
  #kalkulator,
  #faq {
    scroll-margin-top: 9.5rem;
  }

  .cjenik-sticky-tabs > a {
    min-height: 3.35rem;
    padding: 0.95rem 0.9rem;
    font-size: 0.95rem;
    line-height: 1.15;
  }

  .cjenik-sticky-tabs > a i {
    font-size: 1.05rem;
  }

  .detail-sheet-mobile-card {
    min-width: 84vw;
    max-width: 84vw;
  }

  .detail-sheet-card__image {
    height: 164px;
  }

  .detail-sheet-card__image--mobile {
    height: 122px;
  }

  .detail-sheet-pdf-link {
    min-width: 6rem;
    height: 2.95rem;
    padding: 0 0.85rem;
    font-size: 0.68rem;
    min-width: 4.75rem;
  }

  .related-strip-card {
    min-width: 64vw;
    max-width: 64vw;
  }

  .related-strip-card__image {
    height: 96px;
  }

  .related-strip-card__body {
    padding: 0.85rem 0.9rem 0.95rem;
  }

  .cjenik-calc-tabs .calc-tab {
    min-height: 3.15rem;
    gap: 0.35rem;
    padding: 0.78rem 0.55rem;
    font-size: 0.84rem;
    line-height: 1.1;
  }

  .cjenik-calc-tabs .calc-tab i {
    font-size: 1rem;
  }

  .service-card {
    min-height: 4.8rem;
    padding: 0.78rem 0.52rem;
    border-radius: 1rem;
    font-size: 0.79rem;
  }

  .calc-choice-icon {
    font-size: 1.05rem;
  }

  .option-card {
    min-height: 2.7rem;
    padding: 0.55rem 0.35rem;
    border-radius: 0.8rem;
    font-size: 0.78rem;
  }

  .addon-card .content {
    padding: 0.72rem 0.55rem;
    font-size: 0.78rem;
  }

  #kalkulator .container.mx-auto.px-4.text-center.mb-10 {
    margin-bottom: 1.5rem;
  }

  #kalkulator .container.mx-auto.px-4.max-w-6xl {
    gap: 1rem;
  }

  #kalkulator .calc-content.hidden {
    display: none !important;
  }

  #kalkulator .calc-content:not(.hidden).space-y-8 {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }

  #tab-content-turizam > div.grid.grid-cols-2.gap-4.bg-slate-50.p-4.rounded-xl {
    padding: 0.85rem;
    gap: 0.7rem;
  }

  #tab-content-poslovno > div.grid.grid-cols-3.gap-2 {
    gap: 0.5rem;
  }

  #kalkulator .w-full.lg\:w-1\/3 {
    padding: 1.15rem;
    border-radius: 1.6rem;
  }
}

@media (min-width: 768px) {
  .cjenik-sticky-tabs > a span {
    font-size: 1.02rem;
  }

  .cjenik-sticky-tabs > a i {
    font-size: 1.1rem;
  }
}

.detail-sheet-pdf-link svg {
  width: 1.08rem;
  height: 1.08rem;
  display: block;
}

button[data-price-sheet-open="deep"] {
  background: #f97316 !important;
  color: #ffffff !important;
  border: 1px solid #f97316 !important;
}

button[data-price-sheet-open="deep"]:hover {
  background: #ea580c !important;
  border-color: #ea580c !important;
}

.detail-sheet-pdf-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}


.pricing-sheet-modal-shell {
  padding-bottom: calc(0.4rem + env(safe-area-inset-bottom));
}

.pricing-sheet-modal-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 0.65rem);
}

.pricing-sheet-modal-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #ffffff;
}

.pricing-sheet-modal-content {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

@media (max-width: 767.98px) {
  .pricing-sheet-modal-shell {
    align-items: flex-end;
    padding: 0.35rem 0.35rem calc(0.45rem + env(safe-area-inset-bottom));
  }

  .pricing-sheet-modal-card {
    width: 100%;
    max-height: calc(100dvh - 0.45rem);
    border-radius: 1.35rem;
  }

  .pricing-sheet-modal-header h2 {
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .pricing-sheet-modal-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  #pricingSheetModalPdf,
  #pricingSheetModal button[onclick="window.print()"] {
    height: 2.45rem;
    padding: 0 0.72rem;
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }

  #pricingSheetModal button[data-price-sheet-close] {
    width: 2.6rem;
    height: 2.6rem;
  }

  .pricing-sheet-modal-content {
    padding: 0.95rem 1rem 1.15rem;
  }
}


.detail-sheet-rail,
.related-strip-rail {
  padding: 0.38rem 0.18rem 0.92rem;
}

.detail-sheet-mobile-card,
.related-strip-card {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
}

body.pricing-sheet-modal-open #site-header,
body.pricing-sheet-modal-open #mobile-bottom-nav {
  opacity: 0;
  pointer-events: none;
}

.pricing-sheet-modal {
  isolation: isolate;
}

.pricing-sheet-modal::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(2, 6, 23, 0.56);
}

@media (max-width: 767.98px) {
  .detail-sheet-rail,
  .related-strip-rail {
    padding: 0.42rem 0.15rem 1rem;
  }

  .pricing-sheet-modal-shell {
    padding: 0.4rem 0.35rem 0.4rem;
  }

  .pricing-sheet-modal-card {
    max-height: calc(100dvh - 0.8rem);
    border-radius: 1.25rem;
  }

  .pricing-sheet-modal-header {
    padding-bottom: 0.85rem;
  }

  .pricing-sheet-modal-actions {
    flex-wrap: nowrap;
    gap: 0.55rem;
  }

  #pricingSheetModalPdf,
  #pricingSheetModal button[onclick="window.print()"],
  #pricingSheetModal button[data-price-sheet-close] {
    width: 2.7rem;
    height: 2.7rem;
    padding: 0;
    border-radius: 999px;
  }

  .pricing-sheet-modal-content {
    padding: 0.95rem 0.95rem 1.1rem;
  }
}


/* 2026-04-03 svg icons + deep modal row + mobile catalog gutter */
@media (max-width: 767.98px) {
  #katalog .container.mx-auto.px-4 {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  #katalog .mt-12.grid.gap-6.md\:grid-cols-2.xl\:grid-cols-3.max-w-7xl.mx-auto {
    gap: 0.82rem;
  }

  #katalog article.rounded-\[1\.85rem\] {
    padding: 1.02rem;
    border-radius: 1.35rem;
  }

  #pricingSheetModalContent > .mt-5.space-y-3 {
    margin-top: 0.9rem;
  }

  #pricingSheetModalContent > .mt-5.space-y-3 > div {
    border-radius: 1.05rem;
  }

  #pricingSheetModalContent > .mt-5.space-y-3 > div > div {
    gap: 0.55rem;
  }

  #pricingSheetModalContent > .mt-5.space-y-3 > div > div > div:last-child {
    width: 100%;
    min-width: 0;
    text-align: left;
  }
}


/* 2026-04-03 mobile catalog gutter stronger */
@media (max-width: 767.98px) {
  #katalog .container,
  #katalog .container.mx-auto,
  #katalog .container.mx-auto.px-4 {
    padding-left: 1.08rem !important;
    padding-right: 1.08rem !important;
  }

  #katalog .mt-12.grid {
    padding-left: 0.08rem;
    padding-right: 0.08rem;
  }

  #katalog .mt-12.grid > article {
    margin-left: 0.02rem;
    margin-right: 0.02rem;
  }
}
