/* ORTOSTAR – prilagodbe (cjenik + navigacija). Cache bust: ortostar.css?v=20261118k */

/* ---------- Navigacija: više stavki bez prelamanja ---------- */
@media (min-width: 992px) and (max-width: 1199px) {
  #topnav .logo img {
    width: 140px;
    height: auto;
  }

  #topnav .navigation-menu > li {
    margin-left: 4px;
    margin-right: 4px;
  }

  #topnav .navigation-menu > li > a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
    letter-spacing: 0.5px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  #topnav .navigation-menu > li {
    margin-left: 6px;
    margin-right: 6px;
  }

  #topnav .navigation-menu > li > a {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 12px;
  }
}

/* ---------- Cjenik ---------- */
.cjenik-intro {
  margin-bottom: 2.75rem;
}

@media (min-width: 768px) {
  .cjenik-intro {
    margin-bottom: 3.5rem;
  }
}

.cjenik-intro p {
  margin-bottom: 0;
  line-height: 1.75;
}

.cjenik-meta-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 auto 2rem;
  max-width: 920px;
}

@media (min-width: 768px) {
  .cjenik-meta-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cjenik-meta-item {
  background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 100%);
  border: 1px solid rgba(0, 0, 139, 0.08);
  border-radius: 12px;
  padding: 16px 18px;
}

.dark .cjenik-meta-item {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.cjenik-meta-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00008b;
  margin-bottom: 6px;
}

.cjenik-meta-value {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: #1e293b;
}

.dark .cjenik-meta-value {
  color: #e2e8f0;
}

.cjenik-downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.cjenik-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  background-color: #00008b;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.cjenik-dl-btn:hover {
  background-color: #000066;
  transform: translateY(-1px);
}

.cjenik-dl-btn--ghost {
  background-color: transparent;
  color: #00008b !important;
  border: 2px solid #00008b;
}

.cjenik-dl-btn--ghost:hover {
  background-color: rgba(0, 0, 139, 0.06);
}

.cjenik-dl-link {
  font-size: 13px;
  color: #64748b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cjenik-note,
.cjenik-legal {
  max-width: 920px;
  margin: 0 auto 32px;
  padding: 18px 20px;
  border-left: 3px solid #00008b;
  background: rgba(0, 0, 139, 0.04);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  line-height: 1.65;
  color: #334155;
}

.cjenik-note--warn {
  border-left-color: #b45309;
  background: #fffbeb;
  color: #78350f;
}

.dark .cjenik-note--warn {
  background: rgba(180, 83, 9, 0.15);
  color: #fde68a;
}

.dark .cjenik-note,
.dark .cjenik-legal {
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
}

.cjenik-legal {
  margin-top: 40px;
  margin-bottom: 0;
}

.cjenik-block {
  margin-bottom: 36px;
}

.cjenik-cat {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00008b;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(0, 0, 139, 0.15);
}

.dark .cjenik-cat {
  color: #93a4ff;
  border-bottom-color: rgba(147, 164, 255, 0.25);
}

.cjenik-table-wrap {
  display: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.dark .cjenik-table-wrap {
  border-color: #334155;
  background: #0f172a;
}

@media (min-width: 768px) {
  .cjenik-table-wrap {
    display: block;
  }

  .cjenik-cards {
    display: none !important;
  }
}

.cjenik-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.cjenik-table--roba {
  min-width: 900px;
  font-size: 13px;
}

.cjenik-table--roba td:nth-child(1) {
  white-space: nowrap;
  font-weight: 700;
  color: #00008b;
}

.dark .cjenik-table--roba td:nth-child(1) {
  color: #93a4ff;
}

.cjenik-table--roba thead th:nth-child(1) {
  color: #fff;
}


.cjenik-table th,
.cjenik-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e2e8f0;
}

.dark .cjenik-table th,
.dark .cjenik-table td {
  border-bottom-color: #334155;
}

.cjenik-table thead th {
  background: #00008b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cjenik-th-sub {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.85;
}

.cjenik-th-eur {
  display: inline-block;
  margin-left: 2px;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
  text-transform: uppercase;
}

.cjenik-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 139, 0.03);
}

.dark .cjenik-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.03);
}

.cjenik-table tbody tr:hover {
  background: rgba(0, 0, 139, 0.07);
}

.cjenik-price,
.cjenik-price--base {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #0f172a;
}

.dark .cjenik-price,
.dark .cjenik-price--base {
  color: #f8fafc;
}

.cjenik-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #fef3c7;
  color: #92400e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}

.cjenik-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.cjenik-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.dark .cjenik-card {
  background: #0f172a;
  border-color: #334155;
}

.cjenik-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 14px;
  color: #0f172a;
}

.dark .cjenik-card-title {
  color: #f1f5f9;
}

.cjenik-card-code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00008b;
  margin-bottom: 6px;
}

.dark .cjenik-card-code {
  color: #93a4ff;
}

.cjenik-card-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cjenik-card-prices--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 420px) {
  .cjenik-card-prices--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cjenik-card-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
}

.cjenik-card-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 4px;
}

.cjenik-card-prices strong {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}

.dark .cjenik-card-prices strong {
  color: #f8fafc;
}

.cjenik-legal code {
  font-size: 12px;
  word-break: break-all;
}
