/* assets/frontend.css */

/* --- bazowe --- */
.jd-front-wrap {
  position: relative;
}

.jd-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.jd-front-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
  background: #fff;
}

/* ✅ KLUCZ: stała wysokość wiersza (wyrówna linie) */
.jd-front-table tbody tr {
  height: 56px;
}

/* minimalistyczne separatory: tylko linia pod wierszem */
.jd-front-table tbody tr {
  border-bottom: 0;
}

.jd-front-table th,
.jd-front-table td {
  padding: 6px;
  border: 0;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
}

/* naprzemienne tło wierszy */
.jd-front-table tbody tr:nth-child(odd) td {
  background: #fff;
}
.jd-front-table tbody tr:nth-child(even) td {
  background: #fcfcfc;
}

/* hover na wierszu */
.jd-front-table tbody tr:hover td {
  background: #f6f6f6;
}

/* chwilowe podświetlenie po wejściu w hash (np. #jd-mieszkanie-m1) */
@keyframes jdRowFlash {
  0% {
    background: rgba(192, 166, 141, 0.36);
    box-shadow: inset 0 0 0 2px rgba(192, 166, 141, 0.95);
  }
  100% {
    background: rgba(192, 166, 141, 0.1);
    box-shadow: inset 0 0 0 2px rgba(192, 166, 141, 0.3);
  }
}

.jd-front-table tbody tr.jd-hash-highlight td {
  background: rgba(192, 166, 141, 0.24) !important;
  box-shadow: inset 0 0 0 2px rgba(192, 166, 141, 0.8);
  animation: jdRowFlash 2.2s ease;
}

.jd-front-table thead th {
  position: sticky;
  top: 0;
  background: #fafafa;
  z-index: 1;
  border-bottom: 0;
}

.jd-front-table thead th:first-child {
  border-top-left-radius: 0;
}
.jd-front-table thead th:last-child {
  border-top-right-radius: 0;
}

.jd-front-table th.jd-sort {
  cursor: pointer;
  user-select: none;
}

.jd-front-table th.jd-sort::after {
  content: " ⇅";
  opacity: 0.35;
  font-size: 12px;
}

.jd-front-table th.jd-no-sort {
  cursor: default;
}

/* --- STATUS: wyrównanie + kolor zależny od statusu --- */
.jd-front-table td.jd-status {
  font-weight: 700;
  line-height: 1.2;

  /* ✅ wyrównanie w pionie jak w ikonach */
  height: 56px;
}

/* tylko kolor tekstu (prosto i czytelnie) */
.jd-st-available td.jd-status {
  color: #1f7a1f;
}
.jd-st-reserved td.jd-status {
  color: #b26a00;
}
.jd-st-sold td.jd-status {
  color: #b00020;
  opacity: 0.9;
}
.jd-st-soon td.jd-status {
  color: #005bbb;
}
.jd-st-other td.jd-status {
  color: #444;
}

/* opcjonalnie: lekko przygaś cały wiersz dla Sprzedane */
.jd-st-sold td {
  opacity: 0.88;
}

/* --- CECHY: wyrównanie bez psucia tabeli --- */
.jd-front-table td.jd-features {
  /* zostaje flex tylko dla tej komórki */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;

  /* ✅ zamiast min-height — dopasuj do wiersza */
  height: 56px;
}

.jd-feature-empty {
  opacity: 0.5;
  display: inline-flex;
  align-items: center;
  height: 34px;
  line-height: 34px;
}

/* ikonki */
.jd-feature-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 0;
  background: #c0a68d;
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

/* --- Plan / Rzut: przyciski typu pill --- */
.jd-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 0;
  background: #c0a68d;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.jd-pill-btn:hover {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

/* nie zmieniaj koloru tekstu na hover (często nadpisywane przez motyw) */
.jd-pill-btn:hover,
.jd-pill-btn:focus,
.jd-pill-btn:visited {
  color: #fff;
}

.jd-doc-cell {
  white-space: nowrap;
}

/* --- Prospekt informacyjny pod tabelą --- */
.jd-prospect-wrap {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.jd-prospect-btn {
  font-weight: 600;
}

.jd-feature-btn svg {
  width: 18px;
  height: 18px;
}

.jd-feature-btn svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jd-feature-btn:hover {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.jd-feature-btn:hover,
.jd-feature-btn:focus {
  color: #fff;
}

/* --- Cena brutto: cena + zegar w jednej linii --- */
.jd-front-table td.jd-price-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  min-width: 180px;

  /* ✅ wyrównanie do wysokości wiersza */
  height: 56px;
}

.jd-front-table td.jd-price-cell .jd-price-text {
  display: inline-block;
}

.jd-front-table td.jd-price-cell .jd-price-main {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.1;
}

.jd-front-table td.jd-price-cell .jd-price-note {
  display: block;
  margin-top: 2px;
  color: #777;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}

/* zegar */
.jd-price-history-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px solid #e2e2e2;
  background: #fff;
  cursor: pointer;
  padding: 0;
  vertical-align: middle;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease;

  /* kolor ikonki zegara */
  color: #c0a68d;
}

.jd-price-history-btn svg {
  width: 16px;
  height: 16px;
}

.jd-price-history-btn svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jd-price-history-btn:hover {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);

  /* utrzymaj kolor ikonki */
  color: #c0a68d;
}

/* --- Popover --- */
.jd-feature-popover {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px;
  z-index: 9999;
}

.jd-feature-popover.is-open {
  display: flex;
}

.jd-feature-popover-inner {
  width: min(760px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.28);
  position: relative;
  padding: 18px 18px 14px;
}

.jd-feature-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #e2e2e2;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  transition: box-shadow 0.15s ease;
}

.jd-feature-close:hover {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

.jd-feature-content h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.jd-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.jd-feature-item {
  border: 1px solid #eee;
  border-radius: 0;
  padding: 10px 12px;
  background: #fafafa;
}

.jd-feature-item .k {
  display: block;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.jd-feature-item .v {
  font-weight: 600;
}

/* tabela historii w popupie */
.jd-price-history-table th,
.jd-price-history-table td {
  padding: 8px 6px;
  border: 0;
  text-align: left;
  white-space: nowrap;
}

/* mobile */
@media (max-width: 600px) {
  .jd-feature-grid {
    grid-template-columns: 1fr;
  }
  .jd-front-table {
    min-width: 980px;
  }

  /* ✅ na mobile trochę niższe wiersze */
  .jd-front-table tbody tr {
    height: 52px;
  }
  .jd-front-table td.jd-features,
  .jd-front-table td.jd-price-cell,
  .jd-front-table td.jd-status {
    height: 52px;
  }
}

/* --- FIX: równe bordery w tabeli --- */

/* usuń stałe wysokości (one + padding powodują dziwne wyliczenia) */
.jd-front-table tbody tr {
  height: auto;
}

/* NIE rób flexa na TD */
.jd-front-table td.jd-features,
.jd-front-table td.jd-price-cell {
  display: table-cell;
  height: auto;
}

/* zamiast gap z flexa: odstępy przez marginesy */
.jd-front-table td.jd-features .jd-feature-btn {
  margin-right: 8px;
}
.jd-front-table td.jd-features .jd-feature-btn:last-child {
  margin-right: 0;
}

.jd-front-table td.jd-price-cell .jd-price-text {
  margin-right: 10px;
}

/* nie przygaszaj borderów w "Sprzedane" */
.jd-st-sold td {
  opacity: 1;
} /* border zostaje równy */
.jd-st-sold td > * {
  opacity: 0.88;
} /* przygaś tylko zawartość */

/* === Cechy lokalu: ciemne boxy === */
.jd-feature-btn {
  background: #1e1e1e;
  border-color: #2a2a2a;
  color: #fff;
}

.jd-feature-btn svg * {
  stroke: #fff;
}

.jd-feature-btn:hover {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

/* niedostępne / sprzedane */
.jd-feature-btn.jd-feature-disabled {
  background: #f2f2f2;
  border-color: #ddd;
  color: #888;
  cursor: not-allowed;
}

.jd-feature-btn.jd-feature-disabled svg * {
  stroke: #888;
}

.jd-feature-btn.jd-feature-disabled:hover {
  box-shadow: none;
  transform: none;
}

/* === Status w popupie (kolory) === */
.jd-feature-item .v.jd-status-available {
  color: #1f7a1f;
}

.jd-feature-item .v.jd-status-reserved {
  color: #b26a00;
}

.jd-feature-item .v.jd-status-sold {
  color: #b00020;
}

.jd-feature-item .v.jd-status-unavailable {
  color: #666;
}

/* Plan / rzut jako box-link */
a.jd-feature-btn.jd-doc-btn {
  text-decoration: none;
}

/* Animacja podświetlenia */
@keyframes jdHighlight {
  0% {
    background-color: #f6f6f6;
  }
  100% {
    background-color: transparent;
  }
}

/* Działa tylko dla sekcji mieszkań */
[id^="jd-mieszkanie-"]:target {
  animation: jdHighlight 2s ease-out;
}

.jd-feature-btn,
.jd-pill-btn {
  background: #c0a68d;
  color: #fff;
  border: 0;
}

.jd-feature-btn:hover,
.jd-pill-btn:hover {
  background: #b79a80; /* lekko ciemniejszy odcień */
  color: #fff; /* wymuszenie białego tekstu */
}

table caption + thead tr:first-child td,
table caption + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table thead:first-child tr:first-child td,
table thead:first-child tr:first-child th {
  border-top: 0;
}

.jd-front-table tbody tr {
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease;
}

.jd-front-table tbody tr.jd-hash-highlight {
  background-color: rgba(192, 166, 141, 0.18);
  box-shadow: inset 0 0 0 2px rgba(192, 166, 141, 0.5);
}

/* --- poprawki: popup historia cen --- */
.jd-price-history-table,
.jd-price-history-table th,
.jd-price-history-table td {
  border: 0 !important;
}

.jd-feature-close {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;
  padding: 0;

  font-size: 22px;
  line-height: 1;
  font-weight: 600;

  background: transparent;
  border: none;
  cursor: pointer;

  text-align: center;
}

.jd-price-history-btn:hover {
  background-color: #1e191b;
}
/* === 2026-03 custom changes === */
.jd-filters-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 26px 32px;
  margin: 0 0 24px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 0;
  flex-wrap: wrap;
}

.jd-filters-title,
.jd-filter-label {
  font-weight: 600;
  color: #1e1e1e;
}

.jd-filters-sep {
  width: 1px;
  align-self: stretch;
  background: #e7e7e7;
}

.jd-filter-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.jd-filter-group-range {
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.jd-range-filter {
  min-width: 160px;
  max-width: 200px;
  width: 100%;
}

.jd-range-values {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 10px;
}

.jd-range-sliders {
  position: relative;
  height: 28px;
}

.jd-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.jd-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1e1e1e;
  cursor: pointer;
  pointer-events: auto;
  border: 0;
}

.jd-range-input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1e1e1e;
  cursor: pointer;
  pointer-events: auto;
  border: 0;
}

.jd-range-input::-webkit-slider-runnable-track,
.jd-range-input::-moz-range-track {
  height: 2px;
  background: transparent;
  border-radius: 999px;
}

.jd-radio-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

.jd-radio-option input {
  margin: 0;
}

.jd-single-row-table tbody tr:nth-child(odd) td {
  background: #eeeeee;
}

.jd-single-row-table tbody tr:nth-child(even) td {
  background: #ffffff;
}

.jd-price-history-btn,
.jd-price-history-btn:hover,
.jd-price-history-btn:focus {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.jd-price-history-btn svg {
  width: 18px;
  height: 18px;
}

.jd-feature-btn,
.jd-feature-btn:hover,
.jd-feature-btn:focus {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.jd-feature-btn svg {
  width: 20px;
  height: 20px;
}

.jd-feature-btn svg *,
.jd-price-history-btn svg * {
  stroke: currentColor;
}

.jd-feature-btn.jd-feature-active {
  color: #1e1e1e;
}

.jd-feature-btn.jd-feature-disabled {
  color: #9a9a9a;
  cursor: pointer;
}

.jd-actions-cell {
  white-space: nowrap;
  white-space: nowrap;
}

.jd-actions-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jd-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1e1e1e;
  text-decoration: none;
  font-size: 14px;
}

.jd-action-link img {
  width: 18px;
  height: 18px;
  display: block;
}

.jd-action-link-disabled {
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 767px) {
  .jd-filters-sep {
    display: none;
  }

  .jd-filters-bar {
    align-items: flex-start;
  }

  .jd-actions-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* === 2026-03 follow-up changes === */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap");

.jd-front-wrap,
.jd-front-wrap * {
  font-family: "Instrument Sans", sans-serif;
  color: #2a2a2a;
}

.jd-filters-bar {
  border-radius: 0;
  justify-content: center;
  align-items: center;
  align-content: center;
  text-align: center;
}

.jd-filter-group,
.jd-filter-group-range,
.jd-filter-group-status {
  justify-content: center;
  align-items: center;
}

.jd-range-filter {
  min-width: 120px;
  max-width: 150px;
}

.jd-range-values {
  font-size: 12px;
  margin-bottom: 6px;
}

.jd-range-sliders {
  position: relative;
  width: 100%;
  height: 18px;
}

.jd-range-track {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #d7d7d7;
  transform: translateY(-50%);
  pointer-events: none;
}

.jd-range-progress {
  position: absolute;
  top: 50%;
  height: 2px;
  background: #2a2a2a;
  transform: translateY(-50%);
  pointer-events: none;
}

.jd-range-input::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  background: #fff;
  border: 1px solid #000;
}

.jd-range-input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #fff;
  border: 1px solid #000;
}

.jd-front-table thead th {
  background: #fff;
}

.jd-actions-cell {
  min-width: 300px;
  width: 300px;
  padding-left: 14px !important;
  padding-right: 14px !important;
  white-space: nowrap;
}

.jd-actions-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: no-wrap;
  row-gap: 10px;
  column-gap: 16px;
}

.jd-action-link,
.jd-action-link span {
  text-transform: none !important;
}

.jd-action-link {
  font-size: 15px;
  font-weight: 500;
}

.jd-front-table td.jd-status,
.jd-feature-item .v.jd-status-available,
.jd-radio-option.jd-radio-available,
.jd-radio-option.jd-radio-available span {
  color: #748b43;
}

.jd-st-reserved td.jd-status,
.jd-st-other td.jd-status,
.jd-feature-item .v.jd-status-reserved,
.jd-feature-item .v.jd-status-unavailable,
.jd-radio-option.jd-radio-reserved,
.jd-radio-option.jd-radio-reserved span,
.jd-radio-option.jd-radio-unavailable,
.jd-radio-option.jd-radio-unavailable span,
.jd-radio-option.jd-radio-all,
.jd-radio-option.jd-radio-all span {
  color: #cecece;
}

.jd-st-sold td.jd-status,
.jd-feature-item .v.jd-status-sold,
.jd-radio-option.jd-radio-sold,
.jd-radio-option.jd-radio-sold span {
  color: #db8b8b;
}

.jd-radio-option {
  font-weight: 500;
}

.jd-radio-option input {
  accent-color: currentColor;
}

@media (max-width: 767px) {
  .jd-filters-bar {
    justify-content: center;
    align-items: center;
  }

  .jd-actions-cell {
    min-width: 240px;
    width: 240px;
    white-space: nowrap;
  }
}

/* --- Nadpisanie stylu przycisku prospektu (z !important) --- */
.jd-prospect-btn {
  border-radius: 0 !important;
  background-color: transparent !important;
  border: 2px solid #2a2a2a !important;
  font-family: "Instrument Sans", sans-serif !important;
  color: #2a2a2a !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease !important;
}

.jd-prospect-btn:hover {
  transform: translateY(-3px) !important;
  background: #2a2a2a !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
}

/* przycisk Strona w kolumnie Akcje */
.jd-action-button {
  border-radius: 0 !important;
  background-color: transparent !important;
  border: 2px solid #2a2a2a !important;
  font-family: "Instrument Sans", sans-serif !important;
  color: #2a2a2a !important;
  font-weight: 600 !important;

  padding: 5px 11px !important;
  font-size: 11px !important;
  line-height: 1 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px;
  text-decoration: none !important;
  white-space: nowrap;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease !important;
}

.jd-action-button:hover {
  transform: translateY(-3px) !important;
  background: #2a2a2a !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) !important;
}

.jd-action-button:focus,
.jd-action-button:visited {
  color: #2a2a2a !important;
}

.jd-action-button:hover:focus,
.jd-action-button:hover:visited {
  color: #ffffff !important;
}

.jd-action-button-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.jd-front-table th.jd-sort,
.jd-front-table th.jd-no-sort {
  padding: 10px;
}

/* Cechy lokalu: same ikony, bez tła przycisku */
.jd-front-table td.jd-features .jd-feature-btn,
.jd-front-table td.jd-features .jd-feature-btn:hover,
.jd-front-table td.jd-features .jd-feature-btn:focus,
.jd-front-table td.jd-features .jd-feature-btn.jd-feature-active,
.jd-front-table td.jd-features .jd-feature-btn.jd-feature-disabled {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Cennik: osobne akcje i opłaty dodatkowe */
.jd-catalog-btn,
.jd-plan-link {
  color: #2a2a2a !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.jd-catalog-btn-disabled,
.jd-plan-link-disabled {
  opacity: 0.45;
  text-decoration: none;
}

.jd-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #2a2a2a;
  text-decoration: none;
}

.jd-icon-link img {
  width: 18px;
  height: 18px;
  display: block;
}

.jd-additional-fees {
  margin: 28px auto 10px;
  width: min(520px, 100%);
  text-align: center;
  font-size: 14px;
  color: #000;
}

.jd-additional-fees-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.jd-additional-fees dl {
  margin: 0;
}

.jd-additional-fee-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: baseline;
  margin: 6px 0;
}

.jd-additional-fee-row dt,
.jd-additional-fee-row dd {
  margin: 0;
}

.jd-additional-fee-row dt {
  text-align: right;
}

.jd-additional-fee-row dd {
  min-width: 95px;
  text-align: left;
  white-space: nowrap;
}

/* Cennik: ciaśniejsza, czytelniejsza tabela */
.jd-front-wrap {
  font-size: 13px;
}

.jd-front-table {
  min-width: 1360px !important;
  table-layout: fixed;
}

.jd-front-table tbody tr,
.jd-front-table td.jd-status,
.jd-front-table td.jd-price-cell {
  height: 48px;
}

.jd-front-table th,
.jd-front-table td {
  padding: 7px 5px !important;
  font-size: 12.5px;
  line-height: 1.2;
}

.jd-front-table thead th {
  white-space: normal;
  font-size: 11px;
  line-height: 1.12;
  letter-spacing: 0;
}

.jd-th-label,
.jd-th-line {
  display: block;
}

.jd-front-table sup,
.jd-range-values sup {
  font-size: 0.7em;
  line-height: 0;
  vertical-align: super;
}

.jd-front-table td.jd-price-cell {
  min-width: 0;
  gap: 6px;
  justify-content: center;
}

.jd-price-history-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.jd-price-history-btn svg {
  width: 14px;
  height: 14px;
}

.jd-catalog-btn,
.jd-plan-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 2px;
  color: #111 !important;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: normal;
}

.jd-icon-link {
  width: 26px;
  height: 26px;
}

.jd-icon-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Korekty tabeli cennika */
.jd-front-table th.jd-sort,
.jd-front-table th.jd-no-sort {
  text-align: center;
}

.jd-front-table th.jd-sort .jd-th-label {
  display: inline-block;
  vertical-align: middle;
}

.jd-front-table th.jd-sort::after {
  content: "⇅" !important;
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
  font-size: 10px;
  line-height: 1;
  opacity: 0.42;
}

.jd-front-table sup,
.jd-range-values sup {
  position: relative;
  top: -0.18em;
  font-size: 0.62em;
  line-height: 1;
  vertical-align: baseline;
}

.jd-front-table a.jd-catalog-btn,
.jd-front-table a.jd-plan-link,
.jd-front-table span.jd-catalog-btn,
.jd-front-table span.jd-plan-link {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #222 !important;
  font-family: "Instrument Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none !important;
  white-space: normal;
}

.jd-front-table a.jd-catalog-btn,
.jd-front-table a.jd-plan-link {
  border-bottom: 1px solid currentColor;
}

.jd-front-table a.jd-catalog-btn:hover,
.jd-front-table a.jd-plan-link:hover,
.jd-front-table a.jd-catalog-btn:focus,
.jd-front-table a.jd-plan-link:focus {
  color: #000 !important;
  border-bottom-color: transparent;
}

.jd-front-table span.jd-catalog-btn-disabled,
.jd-front-table span.jd-plan-link-disabled {
  color: #999 !important;
  opacity: 1;
}

.jd-price-history-btn,
.jd-price-history-btn:hover,
.jd-price-history-btn:focus {
  transform: none !important;
}

.jd-price-history-btn {
  transition: box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease !important;
}

.jd-price-history-btn:hover,
.jd-price-history-btn:focus {
  border-color: #c0a68d;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(192, 166, 141, 0.16) !important;
}

.jd-additional-fees {
  display: block;
  clear: both;
  margin-top: 24px;
}

/* Ostateczne ustawienia układu cennika */
.jd-table-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  gap: 28px;
  align-items: start;
  margin-top: 26px;
}

.jd-table-footer-left {
  text-align: left;
}

.jd-table-footer-right {
  display: flex;
  justify-content: flex-end;
  text-align: right;
}

.jd-table-footer .jd-additional-fees {
  width: auto;
  max-width: 560px;
  margin: 0;
  text-align: left;
}

.jd-table-footer .jd-additional-fees-title {
  text-align: left;
}

.jd-table-footer .jd-additional-fee-row {
  grid-template-columns: minmax(260px, max-content) auto;
  gap: 22px;
  justify-content: start;
}

.jd-table-footer .jd-additional-fee-row dt,
.jd-table-footer .jd-additional-fee-row dd {
  text-align: left;
}

.jd-table-footer .jd-prospect-wrap {
  margin: 0;
  text-align: right;
}

.jd-front-table col.jd-col-numer {
  width: 6%;
}

.jd-front-table col.jd-col-pokoje {
  width: 6%;
}

.jd-front-table col.jd-col-garaz {
  width: 6%;
}

.jd-front-table col.jd-col-ogrod {
  width: 6%;
}

.jd-front-table col.jd-col-pow_laczna {
  width: 10%;
}

.jd-front-table col.jd-col-pow_ogrodu {
  width: 9%;
}

.jd-front-table col.jd-col-cena_brutto {
  width: 15%;
}

.jd-front-table col.jd-col-status {
  width: 112px;
}

.jd-front-table col.jd-col-details {
  width: 82px;
}

.jd-front-table col.jd-col-ask {
  width: 86px;
}

.jd-front-table col.jd-col-plan_pdf {
  width: 98px;
}

.jd-front-table th.jd-col-numer,
.jd-front-table th.jd-col-pokoje {
  font-size: 10.5px;
}

.jd-front-table th.jd-col-status,
.jd-front-table th.jd-col-details,
.jd-front-table th.jd-col-ask,
.jd-front-table th.jd-col-plan_pdf,
.jd-front-table td.jd-status,
.jd-front-table td.jd-details-cell,
.jd-front-table td.jd-ask-cell,
.jd-front-table td.jd-plan-cell {
  overflow: hidden;
  text-align: center;
}

.jd-front-table td.jd-status {
  padding-left: 8px !important;
  padding-right: 8px !important;
  white-space: nowrap;
}

.jd-front-table td.jd-details-cell,
.jd-front-table td.jd-ask-cell,
.jd-front-table td.jd-plan-cell {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

.jd-front-table td.jd-plan-cell .jd-plan-link,
.jd-front-table td.jd-details-cell .jd-catalog-btn {
  max-width: 100%;
}

.jd-front-table th.jd-col-ask .jd-th-label,
.jd-front-table th.jd-col-plan_pdf .jd-th-label {
  line-height: 1.12;
}

.jd-front-table td.jd-price-cell {
  gap: 7px;
}

.jd-front-table th.jd-col-pow_laczna,
.jd-front-table td.jd-area-cell-pow_laczna {
  font-weight: 700;
}

.jd-front-table td.jd-area-cell-pow_laczna {
  font-size: 13.5px;
  color: #111;
}

.jd-price-history-btn,
.jd-price-history-btn:hover,
.jd-price-history-btn:focus,
.jd-price-history-btn:active {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #2a2a2a !important;
  transform: none !important;
  transition: none !important;
  outline: none !important;
}

.jd-price-history-btn svg,
.jd-price-history-btn:hover svg,
.jd-price-history-btn:focus svg,
.jd-price-history-btn:active svg {
  width: 15px !important;
  height: 15px !important;
}

.jd-price-history-btn svg *,
.jd-price-history-btn:hover svg *,
.jd-price-history-btn:focus svg *,
.jd-price-history-btn:active svg * {
  stroke: currentColor !important;
  stroke-width: 2 !important;
}

.jd-front-table a.jd-catalog-btn,
.jd-front-table a.jd-plan-link,
.jd-front-table a.jd-catalog-btn:hover,
.jd-front-table a.jd-plan-link:hover,
.jd-front-table a.jd-catalog-btn:focus,
.jd-front-table a.jd-plan-link:focus,
.jd-front-table a.jd-catalog-btn:active,
.jd-front-table a.jd-plan-link:active {
  border-bottom: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  .jd-table-footer {
    grid-template-columns: 1fr;
  }

  .jd-table-footer-right {
    justify-content: flex-start;
    text-align: left;
  }
}

/* Finalne szerokości kolumn: bez nachodzenia tekstu */
.jd-front-table {
  min-width: 1480px !important;
  table-layout: fixed !important;
}

.jd-front-table col.jd-col-numer { width: 74px !important; }
.jd-front-table col.jd-col-pietro { width: 78px !important; }
.jd-front-table col.jd-col-pokoje { width: 66px !important; }
.jd-front-table col.jd-col-garaz { width: 58px !important; }
.jd-front-table col.jd-col-ogrod { width: 58px !important; }
.jd-front-table col.jd-col-pow_uzytkowa { width: 118px !important; }
.jd-front-table col.jd-col-pow_garazu { width: 108px !important; }
.jd-front-table col.jd-col-pow_laczna { width: 112px !important; }
.jd-front-table col.jd-col-pow_ogrodu { width: 106px !important; }
.jd-front-table col.jd-col-cena_m2 { width: 104px !important; }
.jd-front-table col.jd-col-cena_brutto { width: 146px !important; }
.jd-front-table col.jd-col-status { width: 112px !important; }
.jd-front-table col.jd-col-details { width: 78px !important; }
.jd-front-table col.jd-col-ask { width: 88px !important; }
.jd-front-table col.jd-col-plan_pdf { width: 94px !important; }

.jd-front-table th,
.jd-front-table td {
  box-sizing: border-box;
  overflow: hidden;
}

.jd-front-table td {
  padding-left: 6px !important;
  padding-right: 6px !important;
}

.jd-front-table td.jd-area-cell,
.jd-front-table td.jd-price-cell,
.jd-front-table td.jd-status,
.jd-front-table td.jd-garage-cell,
.jd-front-table td.jd-garden-cell {
  white-space: nowrap;
}

.jd-front-table th.jd-col-pow_uzytkowa,
.jd-front-table th.jd-col-pow_garazu,
.jd-front-table th.jd-col-pow_laczna,
.jd-front-table th.jd-col-pow_ogrodu {
  padding-left: 8px !important;
  padding-right: 8px !important;
}

/* Shortcode jednego lokalu */
.jd-single-row-wrap {
  width: 100%;
}

.jd-single-row-scroll {
  overflow-x: auto;
}

.jd-single-row-table {
  min-width: 1540px !important;
  table-layout: fixed !important;
}

.jd-single-row-table-no-garage {
  min-width: 1280px !important;
}

.jd-single-row-table col.jd-single-col-numer { width: 90px !important; }
.jd-single-row-table col.jd-single-col-pietro { width: 82px !important; }
.jd-single-row-table col.jd-single-col-pokoje { width: 82px !important; }
.jd-single-row-table col.jd-single-col-garaz { width: 66px !important; }
.jd-single-row-table col.jd-single-col-ogrod { width: 66px !important; }
.jd-single-row-table col.jd-single-col-status { width: 112px !important; }
.jd-single-row-table col.jd-single-col-pow_uzytkowa { width: 136px !important; }
.jd-single-row-table col.jd-single-col-pow_garazu { width: 112px !important; }
.jd-single-row-table col.jd-single-col-pow_laczna { width: 120px !important; }
.jd-single-row-table col.jd-single-col-pow_ogrodu { width: 112px !important; }
.jd-single-row-table col.jd-single-col-cena_m2_mieszkania { width: 142px !important; }
.jd-single-row-table col.jd-single-col-cena_mieszkania { width: 122px !important; }
.jd-single-row-table col.jd-single-col-cena_garazu { width: 108px !important; }
.jd-single-row-table col.jd-single-col-cena_laczna { width: 122px !important; }
.jd-single-row-table col.jd-single-col-cena_m2 { width: 106px !important; }

.jd-single-row-table th,
.jd-single-row-table td {
  padding-left: 7px !important;
  padding-right: 7px !important;
  text-align: center;
  vertical-align: middle;
}

.jd-single-row-table td {
  white-space: nowrap;
}

/* Delikatny scrollbar tabel */
.jd-single-row-scroll {
  scrollbar-width: thin;
  scrollbar-color: #b9975b #eeeeec;
  padding-bottom: 6px;
}

.jd-table-scroll::-webkit-scrollbar,
.jd-single-row-scroll::-webkit-scrollbar {
  height: 6px;
}

.jd-table-scroll::-webkit-scrollbar-track,
.jd-single-row-scroll::-webkit-scrollbar-track {
  background: #eeeeec;
  border-radius: 999px;
}

.jd-table-scroll::-webkit-scrollbar-thumb,
.jd-single-row-scroll::-webkit-scrollbar-thumb {
  background: #b9975b;
  border-radius: 999px;
}

.jd-table-scroll::-webkit-scrollbar-thumb:hover,
.jd-single-row-scroll::-webkit-scrollbar-thumb:hover {
  background: #1f1f1f;
}

.jd-table-scroll::-webkit-scrollbar-button,
.jd-single-row-scroll::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

/* Bardziej neutralne wpasowanie tabeli w tło strony */
.jd-single-row-scroll {
  background: transparent !important;
  scrollbar-color: #9a9a9a rgba(0, 0, 0, 0.08);
}

.jd-single-row-table {
  background: transparent !important;
}

.jd-single-row-table thead th {
  background: rgba(255, 255, 255, 0.34) !important;
  color: #181818;
}

.jd-single-row-table tbody tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.28) !important;
}

.jd-single-row-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.16) !important;
}

.jd-single-row-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.38) !important;
}

.jd-single-row-table th,
.jd-single-row-table td {
  color: #191919;
}

.jd-table-scroll::-webkit-scrollbar-track,
.jd-single-row-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.08);
}

.jd-table-scroll::-webkit-scrollbar-thumb,
.jd-single-row-scroll::-webkit-scrollbar-thumb {
  background: #9a9a9a;
}

.jd-table-scroll::-webkit-scrollbar-thumb:hover,
.jd-single-row-scroll::-webkit-scrollbar-thumb:hover {
  background: #6f6f6f;
}

/* Shortcode jednego lokalu: neutralne tło bez dolnego marginesu */
.jd-single-row-table {
  margin-bottom: 0 !important;
}

.jd-single-row-table thead th {
  background: #f5f5f5 !important;
}

.jd-single-row-table tbody tr td,
.jd-single-row-table tbody tr:nth-child(odd) td,
.jd-single-row-table tbody tr:nth-child(even) td,
.jd-single-row-table tbody tr:hover td {
  background: transparent !important;
}

/* GĹ‚Ăłwna tabela cennika: przywrĂłcone kolory */
.jd-front-wrap:not(.jd-single-row-wrap) .jd-table-scroll {
  background: #fff !important;
}

.jd-front-wrap:not(.jd-single-row-wrap) .jd-front-table {
  background: #fff !important;
}

.jd-front-wrap:not(.jd-single-row-wrap) .jd-front-table thead th {
  background: #fff !important;
}

.jd-front-wrap:not(.jd-single-row-wrap) .jd-front-table tbody tr:nth-child(odd) td {
  background: #fff !important;
}

.jd-front-wrap:not(.jd-single-row-wrap) .jd-front-table tbody tr:nth-child(even) td {
  background: #eeeeee !important;
}

.jd-front-wrap:not(.jd-single-row-wrap) .jd-front-table tbody tr:hover td {
  background: #f6f6f6 !important;
}

/* Highlight wywoływany przez wtyczkę Jawność Danych - Interaktywne Lokale */
.jd-front-wrap .jdl-target-highlight,
.jd-front-wrap tr.jdl-target-highlight,
.jd-front-wrap .jd-target-highlight,
.jd-front-wrap tr.jd-target-highlight,
.jd-table-scroll .jdl-target-highlight,
.jd-table-scroll tr.jdl-target-highlight,
.jd-table-scroll .jd-target-highlight,
.jd-table-scroll tr.jd-target-highlight,
.jd-front-table .jdl-target-highlight,
.jd-front-table tr.jdl-target-highlight,
.jd-front-table .jd-target-highlight,
.jd-front-table tr.jd-target-highlight {
  background-color: rgba(40, 157, 68, 0.16) !important;
  transition: background-color 0.35s ease !important;
}

.jd-front-wrap tr.jdl-target-highlight > td,
.jd-front-wrap tr.jdl-target-highlight > th,
.jd-front-wrap tr.jd-target-highlight > td,
.jd-front-wrap tr.jd-target-highlight > th,
.jd-table-scroll tr.jdl-target-highlight > td,
.jd-table-scroll tr.jdl-target-highlight > th,
.jd-table-scroll tr.jd-target-highlight > td,
.jd-table-scroll tr.jd-target-highlight > th,
.jd-front-table tr.jdl-target-highlight > td,
.jd-front-table tr.jdl-target-highlight > th,
.jd-front-table tr.jd-target-highlight > td,
.jd-front-table tr.jd-target-highlight > th {
  background-color: rgba(40, 157, 68, 0.16) !important;
  transition: background-color 0.35s ease !important;
}

.jd-front-wrap td.jdl-target-highlight,
.jd-front-wrap th.jdl-target-highlight,
.jd-front-wrap td.jd-target-highlight,
.jd-front-wrap th.jd-target-highlight,
.jd-table-scroll td.jdl-target-highlight,
.jd-table-scroll th.jdl-target-highlight,
.jd-table-scroll td.jd-target-highlight,
.jd-table-scroll th.jd-target-highlight,
.jd-front-table td.jdl-target-highlight,
.jd-front-table th.jdl-target-highlight,
.jd-front-table td.jd-target-highlight,
.jd-front-table th.jd-target-highlight {
  background-color: rgba(40, 157, 68, 0.16) !important;
  transition: background-color 0.35s ease !important;
}

.jd-front-wrap .jdl-target-highlight td,
.jd-front-wrap .jdl-target-highlight th,
.jd-front-wrap .jd-target-highlight td,
.jd-front-wrap .jd-target-highlight th,
.jd-table-scroll .jdl-target-highlight td,
.jd-table-scroll .jdl-target-highlight th,
.jd-table-scroll .jd-target-highlight td,
.jd-table-scroll .jd-target-highlight th,
.jd-front-table .jdl-target-highlight td,
.jd-front-table .jdl-target-highlight th,
.jd-front-table .jd-target-highlight td,
.jd-front-table .jd-target-highlight th {
  background-color: rgba(40, 157, 68, 0.16) !important;
  transition: background-color 0.35s ease !important;
}

.jd-front-table td:has(.jdl-target-highlight),
.jd-front-table th:has(.jdl-target-highlight),
.jd-front-table td:has(.jd-target-highlight),
.jd-front-table th:has(.jd-target-highlight) {
  background-color: rgba(40, 157, 68, 0.16) !important;
  transition: background-color 0.35s ease !important;
}

/* Finalny highlight wiersza: bez ramek i bez osobnego obramowania komórek. */
.jd-front-wrap tr.jdl-row-highlight,
.jd-table-scroll tr.jdl-row-highlight,
.jd-front-table tr.jdl-row-highlight,
.jd-front-table tbody tr.jd-hash-highlight {
  background-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: none !important;
  transition: background-color 0.35s ease !important;
}

.jd-front-wrap tr.jdl-row-highlight > td,
.jd-front-wrap tr.jdl-row-highlight > th,
.jd-table-scroll tr.jdl-row-highlight > td,
.jd-table-scroll tr.jdl-row-highlight > th,
.jd-front-table tr.jdl-row-highlight > td,
.jd-front-table tr.jdl-row-highlight > th,
.jd-front-table tbody tr.jd-hash-highlight > td,
.jd-front-table tbody tr.jd-hash-highlight > th {
  background-color: rgba(0, 0, 0, 0.08) !important;
  border-color: inherit !important;
  box-shadow: none !important;
  transition: background-color 0.35s ease !important;
}

.jdl-force-highlight,
tr.jdl-force-highlight,
tr.jdl-force-highlight > td,
tr.jdl-force-highlight > th,
.jdl-force-highlight-cell {
  background-color: rgba(0, 0, 0, 0.10) !important;
  border-color: inherit !important;
  box-shadow: none !important;
  transition: background-color 0.35s ease !important;
}

/* Minimalne kontrolki przewijania poziomego tabeli */
.jd-table-scroll-controls {
  display: none;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
}

.jd-table-scroll-arrow {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: none !important;
  font-family: "Instrument Sans", Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-align: center !important;
  vertical-align: middle !important;
  text-decoration: none !important;
  cursor: pointer;
}

.jd-table-scroll-arrow span,
.jd-table-scroll-arrow svg {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  transform: translateY(-0.03em);
}

.jd-table-scroll-arrow:hover:not(:disabled),
.jd-table-scroll-arrow:focus-visible:not(:disabled) {
  border-color: #cfcfcf !important;
  background: #f5f5f5 !important;
  color: #111 !important;
  box-shadow: none !important;
  outline: none !important;
}

.jd-table-scroll-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Czytelniejszy, nadal neutralny scrollbar tylko dla wrapperow tabel */
.jd-front-wrap .jd-table-scroll,
.jd-front-wrap .jd-single-row-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #b5b5b5 #f1f1f1;
  padding-bottom: 7px;
}

.jd-front-wrap .jd-table-scroll::-webkit-scrollbar,
.jd-front-wrap .jd-single-row-scroll::-webkit-scrollbar {
  height: 9px;
}

.jd-front-wrap .jd-table-scroll::-webkit-scrollbar-track,
.jd-front-wrap .jd-single-row-scroll::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
  border-radius: 0 !important;
}

.jd-front-wrap .jd-table-scroll::-webkit-scrollbar-thumb,
.jd-front-wrap .jd-single-row-scroll::-webkit-scrollbar-thumb {
  background: #b5b5b5 !important;
  border-radius: 0 !important;
}

.jd-front-wrap .jd-table-scroll::-webkit-scrollbar-thumb:hover,
.jd-front-wrap .jd-single-row-scroll::-webkit-scrollbar-thumb:hover {
  background: #999 !important;
}

/* Prostokatny przycisk Szczegoly / Wiecej odporny na style motywu */
.jd-front-wrap .jd-front-table td.jd-details-cell a.jd-catalog-btn,
.jd-front-wrap .jd-front-table td.jd-details-cell span.jd-catalog-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 30px !important;
  padding: 5px 10px !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 0 !important;
  background: #f6f6f6 !important;
  color: #222 !important;
  box-shadow: none !important;
  font-family: "Instrument Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  cursor: pointer;
}

.jd-front-wrap .jd-front-table td.jd-details-cell a.jd-catalog-btn {
  border-color: #373737 !important;
  background: #373737 !important;
  color: #fff !important;
}

.jd-front-wrap .jd-front-table td.jd-details-cell a.jd-catalog-btn:hover,
.jd-front-wrap .jd-front-table td.jd-details-cell a.jd-catalog-btn:focus-visible,
.jd-front-wrap .jd-front-table td.jd-details-cell a.jd-catalog-btn:active {
  border-color: #373737 !important;
  background: #373737 !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
}

.jd-front-wrap .jd-front-table td.jd-details-cell span.jd-catalog-btn-disabled {
  border-color: #d9d9d9 !important;
  background: #f5f5f5 !important;
  color: #777 !important;
  cursor: default;
}

.jd-radio-option.jd-radio-soon,
.jd-radio-option.jd-radio-soon span {
  color: #0f5f2a;
}

@media (max-width: 767px) {
  .jd-table-scroll-controls {
    margin-bottom: 6px;
  }

  .jd-table-scroll-arrow {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    font-size: 21px !important;
  }

  .jd-front-wrap .jd-front-table td.jd-details-cell a.jd-catalog-btn,
  .jd-front-wrap .jd-front-table td.jd-details-cell span.jd-catalog-btn {
    min-height: 34px !important;
    padding: 7px 11px !important;
  }
}
