/* Apartamenty Table — Plugin Styles */
:root {
  --apt-bg: #FAFAF8;
  --apt-surface: #FFFFFF;
  --apt-border: #E8E6E1;
  --apt-border-hover: #D0CDC6;
  --apt-text: #1A1A18;
  --apt-text-secondary: #6B6963;
  --apt-text-muted: #9E9A92;
  --apt-accent: #2C5F45;
  --apt-accent-light: #E8F0EB;
  --apt-accent-hover: #234D38;
  --apt-status-available: #2C5F45;
  --apt-status-available-bg: #E8F0EB;
  --apt-status-reserved: #A8780A;
  --apt-status-reserved-bg: #FFF8E7;
  --apt-status-sold: #9E9A92;
  --apt-status-sold-bg: #F0EFEC;
  --apt-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --apt-shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --apt-shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --apt-radius: 10px;
  --apt-radius-sm: 6px;
}

.apt-container {
  font-family: 'DM Sans', sans-serif;
  color: var(--apt-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
  box-sizing: border-box;
}

.apt-container *, .apt-container *::before, .apt-container *::after { box-sizing: border-box; }

/* ═══ TOOLBAR ═══ */
.apt-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  padding-bottom: 12px;
}

.apt-filter-group {
  display: flex;
  gap: 0;
  background: var(--apt-surface);
  border: 1px solid var(--apt-border);
  border-radius: 100px;
  overflow: hidden;
}

/* ═══ HIDE SOLD CHECKBOX ═══ */
.apt-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--apt-text-secondary);
  background: var(--apt-surface);
  border: 1px solid var(--apt-border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  white-space: nowrap;
}

.apt-checkbox-label:hover {
  border-color: var(--apt-border-hover);
  color: var(--apt-text);
}

.apt-checkbox-label input[type="checkbox"] {
  accent-color: var(--apt-accent);
  width: 15px;
  height: 15px;
  margin: 0;
  cursor: pointer;
}

/* ═══ MOBILE SORT (custom dropdown) ═══ */
.apt-mobile-sort {
  display: none;
}

.apt-sort-toggle {
  position: relative;
}

.apt-sort-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid var(--apt-border);
  border-radius: 100px;
  background: var(--apt-surface);
  color: var(--apt-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.apt-sort-toggle-btn:hover {
  border-color: var(--apt-border-hover);
  color: var(--apt-text);
}

.apt-sort-toggle-btn svg { opacity: 0.5; }

.apt-sort-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--apt-surface);
  border: 1px solid var(--apt-border);
  border-radius: var(--apt-radius);
  box-shadow: var(--apt-shadow-lg);
  z-index: 100;
  padding: 6px 0;
  animation: aptDropIn 0.15s ease;
}

.apt-sort-dropdown.open { display: block; }

.apt-sort-option {
  display: block;
  width: 100%;
  padding: 9px 16px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 400;
  border: none;
  background: transparent;
  color: var(--apt-text-secondary);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
}

.apt-sort-option:hover {
  background: var(--apt-bg);
  color: var(--apt-text);
}

.apt-sort-option.active {
  color: var(--apt-accent);
  font-weight: 600;
}

.apt-filter-btn {
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  border: none;
  background: transparent;
  color: var(--apt-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1.4;
}

.apt-filter-btn:hover { color: var(--apt-text); background: var(--apt-bg); }
.apt-filter-btn.active { background: var(--apt-accent); color: #fff; }

.apt-col-toggle { position: relative; }

.apt-col-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid var(--apt-border);
  border-radius: 100px;
  background: var(--apt-surface);
  color: var(--apt-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.apt-col-toggle-btn:hover { border-color: var(--apt-border-hover); color: var(--apt-text); }
.apt-col-toggle-btn svg { width: 15px; height: 15px; opacity: 0.5; }

.apt-col-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: var(--apt-surface);
  border: 1px solid var(--apt-border);
  border-radius: var(--apt-radius);
  box-shadow: var(--apt-shadow-lg);
  z-index: 100;
  padding: 8px 0;
  animation: aptDropIn 0.15s ease;
}

.apt-col-dropdown.open { display: block; }

@keyframes aptDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.apt-col-dropdown label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--apt-text-secondary);
  cursor: pointer;
  transition: background 0.15s;
  margin: 0;
}

.apt-col-dropdown label:hover { background: var(--apt-bg); color: var(--apt-text); }
.apt-col-dropdown input[type="checkbox"] { accent-color: var(--apt-accent); width: 15px; height: 15px; }

/* ═══ TOP BAR (floor tabs + toolbar in one row) ═══ */
.apt-top-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--apt-border);
}

/* ═══ FLOOR TABS ═══ */
.apt-floor-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex-shrink: 1;
  min-width: 0;
}

.apt-floor-tabs::-webkit-scrollbar { display: none; }

.apt-floor-tab {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border: none;
  background: transparent;
  color: var(--apt-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  position: relative;
  margin-bottom: -2px;
  border-bottom: 2px solid transparent;
}

.apt-floor-tab:hover {
  color: var(--apt-text-secondary);
}

.apt-floor-tab.active {
  color: var(--apt-accent);
  border-bottom-color: var(--apt-accent);
  font-weight: 600;
}

.apt-floor-tab .apt-floor-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  background: var(--apt-border);
  color: var(--apt-text-muted);
}

.apt-floor-tab.active .apt-floor-tab-count {
  background: var(--apt-accent-light);
  color: var(--apt-accent);
}

/* ═══ TABLE WRAPPER ═══ */
.apt-table-wrap {
  background: var(--apt-surface);
  border: 1px solid var(--apt-border);
  border-radius: var(--apt-radius);
  box-shadow: var(--apt-shadow-sm);
  overflow: hidden;
}

.apt-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ═══ TABLE ═══ */
.apt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 700px;
}

.apt-table thead th {
  padding: 10px 5px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--apt-text-muted);
  background: var(--apt-bg);
  border-bottom: 1px solid var(--apt-border);
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
  position: sticky;
  top: 0;
  z-index: 2;
}

.apt-table thead th:hover { color: var(--apt-text); }

.apt-table thead th .sort-icon {
  display: inline-block;
  margin-left: 4px;
  opacity: 0.3;
  font-size: 10px;
  transition: opacity 0.2s;
}

.apt-table thead th.sorted .sort-icon { opacity: 1; color: var(--apt-accent); }

.apt-table tbody tr { transition: background 0.15s; }
.apt-table tbody tr:hover { background: #FDFCFA; }

.apt-table tbody td {
  padding: 10px 5px;
  border-bottom: 1px solid var(--apt-border);
  color: var(--apt-text);
  vertical-align: middle;
  text-align: center;
}

.apt-table tbody tr:last-child td { border-bottom: none; }

.apt-table .col-number { font-weight: 600; color: var(--apt-accent); }
.apt-table .col-number .apt-number-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.apt-table .col-number .apt-number-link:hover {
  border-bottom-color: var(--apt-accent);
}
.apt-table .col-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.apt-table .col-area { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ═══ STATUS BADGE ═══ */
.apt-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.apt-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.apt-status--available { background: var(--apt-status-available-bg); color: var(--apt-status-available); }
.apt-status--available::before { background: var(--apt-status-available); }
.apt-status--reserved { background: var(--apt-status-reserved-bg); color: var(--apt-status-reserved); }
.apt-status--reserved::before { background: var(--apt-status-reserved); }
.apt-status--sold { background: var(--apt-status-sold-bg); color: var(--apt-status-sold); }
.apt-status--sold::before { background: var(--apt-status-sold); }

/* ═══ PRICE TOOLTIP ═══ */
.apt-price-cell { position: relative; cursor: default; }

.apt-price-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--apt-text);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--apt-radius-sm);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  z-index: 50;
  box-shadow: var(--apt-shadow-lg);
  pointer-events: none;
  animation: aptTooltipIn 0.15s ease;
}

.apt-price-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--apt-text);
}

.apt-price-cell:hover .apt-price-tooltip { display: block; }

@keyframes aptTooltipIn {
  from { opacity: 0; transform: translateX(-50%) translateY(4px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.apt-price-tooltip .tooltip-label {
  color: rgba(255,255,255,0.6);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.apt-price-tooltip .tooltip-value { font-weight: 600; font-size: 14px; }
.apt-price-tooltip .tooltip-note { color: rgba(255,255,255,0.5); font-size: 10px; margin-top: 4px; }

/* ═══ ACTION ICONS ═══ */
.apt-actions { display: flex; gap: 6px; align-items: center; justify-content: center; }

.apt-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--apt-radius-sm);
  border: 1px solid var(--apt-border);
  background: var(--apt-surface);
  color: var(--apt-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  padding: 0;
}

.apt-action-btn:hover {
  border-color: var(--apt-accent);
  color: var(--apt-accent);
  background: var(--apt-accent-light);
}

.apt-action-btn svg { width: 16px; height: 16px; }

/* ═══ MODAL (shared) ═══ */
.apt-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,24,0.5);
  backdrop-filter: blur(4px);
  z-index: 100000;
  justify-content: center;
  align-items: center;
  padding: 24px;
  animation: aptFadeIn 0.2s ease;
}

.apt-modal-overlay.open { display: flex; }

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

.apt-modal {
  background: var(--apt-surface);
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.15);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: aptModalIn 0.25s ease;
  overflow: hidden;
}

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

.apt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--apt-border);
  flex-shrink: 0;
}

.apt-modal-header h3 { font-size: 16px; font-weight: 600; margin: 0; }

.apt-modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--apt-text-muted);
  cursor: pointer;
  border-radius: var(--apt-radius-sm);
  font-size: 20px;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
}

.apt-modal-close:hover { background: var(--apt-bg); color: var(--apt-text); }

.apt-modal-body { overflow-y: auto; flex: 1; }

/* ─── PDF Modal ─── */
.apt-modal--pdf { width: 90vw; max-width: 1200px; height: 85vh; }
.apt-modal--pdf .apt-modal-body { padding: 0; }
.apt-modal--pdf iframe { width: 100%; height: 100%; border: none; display: block; }

/* Modal tabs */
.apt-modal-tabs {
  display: flex;
  gap: 0;
  background: var(--apt-bg);
  border-radius: 100px;
  padding: 3px;
}

.apt-modal-tab {
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--apt-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.apt-modal-tab:hover { color: var(--apt-text-secondary); }
.apt-modal-tab.active { background: var(--apt-surface); color: var(--apt-text); box-shadow: var(--apt-shadow-sm); }
.apt-modal-tab:disabled { opacity: 0.35; cursor: not-allowed; }
.apt-modal-tab:disabled:hover { color: var(--apt-text-muted); }

/* ─── Price History Modal ─── */
.apt-modal--history { width: 560px; max-width: 95vw; }
.apt-modal--history .apt-modal-body { padding: 0; }

.apt-ph-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.apt-ph-table thead th {
  padding: 10px 16px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--apt-text-muted);
  background: var(--apt-bg);
  border-bottom: 1px solid var(--apt-border);
  text-align: left;
}

.apt-ph-table tbody td { padding: 10px 16px; border-bottom: 1px solid var(--apt-border); }
.apt-ph-table tbody tr:last-child td { border-bottom: none; }
.apt-ph-table tbody tr:hover td { background: #FDFCFA; }

.ph-change-up { color: #d63638; font-weight: 500; }
.ph-change-down { color: #00a32a; font-weight: 500; }
.ph-change-new { color: var(--apt-accent); font-weight: 500; font-size: 11px; }

.apt-ph-empty { padding: 40px 20px; text-align: center; color: var(--apt-text-muted); font-size: 13px; }

.apt-ph-lowest {
  padding: 12px 16px;
  background: var(--apt-accent-light);
  border-top: 1px solid var(--apt-border);
  font-size: 13px;
  color: var(--apt-accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.apt-ph-lowest strong { font-weight: 600; }

/* ═══ FOOTER ═══ */
.apt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--apt-border);
  font-size: 13px;
  color: var(--apt-text-muted);
  background: var(--apt-bg);
}

.apt-empty { padding: 60px 20px; text-align: center; color: var(--apt-text-muted); font-size: 14px; }

/* ═══ GALLERY MODAL ═══ */
.apt-modal--gallery { width: 90vw; max-width: 800px; max-height: 90vh; }

.apt-modal--gallery .apt-modal-header {
  justify-content: space-between;
}

.apt-gallery-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.apt-gallery-counter {
  font-size: 13px;
  color: var(--apt-text-muted);
  font-variant-numeric: tabular-nums;
}

.apt-gallery-body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #000;
  min-height: 300px;
}

.apt-gallery-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.apt-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--apt-text);
  font-size: 28px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
  box-shadow: var(--apt-shadow-md);
}

.apt-gallery-nav:hover {
  background: #fff;
  box-shadow: var(--apt-shadow-lg);
}

.apt-gallery-prev { left: 16px; }
.apt-gallery-next { right: 16px; }

/* ═══ GALLERY TABS ═══ */
.apt-gallery-tabs {
  display: flex;
  gap: 0;
  background: var(--apt-bg);
  border-radius: 100px;
  padding: 3px;
}

.apt-gallery-tabs h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 16px;
}

.apt-gallery-tab {
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--apt-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.apt-gallery-tab:hover { color: var(--apt-text-secondary); }
.apt-gallery-tab.active { background: var(--apt-surface); color: var(--apt-text); box-shadow: var(--apt-shadow-sm); }

.apt-gallery-video {
  max-width: 100%;
  max-height: 65vh;
  display: block;
  margin: 0 auto;
}

/* ═══ GALLERY THUMBNAILS ═══ */
.apt-gallery-thumbnails-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--apt-surface);
  border-top: 1px solid var(--apt-border);
}

.apt-gallery-thumbnails {
  display: flex;
  gap: 8px;
  overflow: hidden;
  max-width: calc(6 * 84px); /* 6 thumbnails * (80px + 4px gap) */
}

.apt-gallery-thumb {
  width: 80px;
  height: 60px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--apt-radius-sm);
  background: var(--apt-bg);
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: all 0.2s;
}

.apt-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apt-gallery-thumb:hover {
  border-color: var(--apt-border-hover);
}

.apt-gallery-thumb.active {
  border-color: var(--apt-accent);
  box-shadow: 0 0 0 2px var(--apt-accent-light);
}

.apt-gallery-thumb-nav {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--apt-border);
  border-radius: var(--apt-radius-sm);
  background: var(--apt-surface);
  color: var(--apt-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.apt-gallery-thumb-nav:hover:not(:disabled) {
  border-color: var(--apt-accent);
  color: var(--apt-accent);
  background: var(--apt-accent-light);
}

.apt-gallery-thumb-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.apt-gallery-thumb-nav svg {
  width: 16px;
  height: 16px;
}

/* ═══ MOBILE ═══ */
@media (max-width: 768px) {
  .apt-container { padding: 20px 16px; }
  .apt-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .apt-toolbar {
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 8px;
  }
  .apt-mobile-sort { display: block; }
  .apt-floor-tabs { gap: 0; }
  .apt-floor-tab { padding: 8px 16px; font-size: 13px; }
  .apt-table { font-size: 13px; }
  .apt-table thead th { padding: 8px 5px; }
  .apt-table tbody td { padding: 8px 5px; }
  .apt-modal--pdf { width: 95vw; height: 80vh; }
  .apt-modal--gallery { width: 95vw; }
  .apt-gallery-nav { width: 36px; height: 36px; font-size: 22px; }
  .apt-gallery-prev { left: 8px; }
  .apt-gallery-next { right: 8px; }
  .apt-gallery-thumbnails-wrap {
    padding: 12px 16px;
    gap: 8px;
  }
  .apt-gallery-thumbnails {
    max-width: calc(6 * 60px);
    gap: 6px;
  }
  .apt-gallery-thumb {
    width: 60px;
    height: 45px;
  }
  .apt-gallery-thumb-nav {
    width: 28px;
    height: 28px;
  }
  .apt-gallery-video {
    max-height: 55vh;
  }
}

@media (max-width: 640px) {
  .apt-table-scroll { overflow-x: visible; }
  .apt-table { min-width: 0; display: block; }
  .apt-table thead { display: none; }
  .apt-table tbody { display: grid; gap: 12px; padding: 12px; }
  .apt-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
    padding: 16px;
    border: 1px solid var(--apt-border);
    border-radius: var(--apt-radius-sm);
    background: var(--apt-surface);
  }
  .apt-table tbody tr:hover { box-shadow: var(--apt-shadow-md); }
  .apt-table tbody td { border: none; padding: 4px 0; font-size: 13px; }
  .apt-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--apt-text-muted);
    margin-bottom: 2px;
  }
  .apt-table tbody td.mobile-span { grid-column: 1 / -1; }
  .apt-price-tooltip { left: 0; transform: translateX(0); }
  .apt-price-tooltip::after { left: 24px; transform: none; }
  .apt-gallery-thumbnails {
    max-width: calc(4 * 56px);
  }
  .apt-gallery-thumb {
    width: 50px;
    height: 38px;
  }
  .apt-gallery-tabs h3 {
    font-size: 14px;
    padding: 6px 12px;
  }
  .apt-gallery-tab {
    padding: 6px 14px;
    font-size: 12px;
  }
  .apt-gallery-video {
    max-height: 50vh;
  }
}
