/* ============================================
   JCM Elementor Integration Styles
   Version: 2.0.1
   ============================================ */

:root {
  --jcm-primary: #2563eb;
  --jcm-primary-dark: #1e40af;
  --jcm-primary-light: #dbeafe;
  --jcm-success: #10b981;
  --jcm-success-light: #d1fae5;
  --jcm-warning: #f59e0b;
  --jcm-danger: #ef4444;
  --jcm-light: #f3f4f6;
  --jcm-lighter: #f9fafb;
  --jcm-dark: #111827;
  --jcm-border: #e5e7eb;
  --jcm-border-strong: #9ca3af;
  --jcm-text-muted: #6b7280;
  --jcm-radius: 0.5rem;
  --jcm-radius-lg: 0.75rem;
  --jcm-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --jcm-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --jcm-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --jcm-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ============= Price Card Widget ============= */

.jcm-price-card {
  background: white;
  border: 2px solid var(--jcm-border);
  border-radius: var(--jcm-radius-lg);
  padding: 28px;
  box-shadow: var(--jcm-shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.jcm-price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--jcm-gradient);
}

.jcm-price-card:hover {
  border-color: var(--jcm-primary);
  box-shadow: var(--jcm-shadow-lg);
  /* transform: translateY(-2px); - REMOVED: unoszenie karty na hover */
}

.jcm-price-card__header {
  border-bottom: 2px solid var(--jcm-border);
  padding-bottom: 20px;
  margin-bottom: 24px;
  background: var(--jcm-lighter);
  margin: -28px -28px 24px -28px;
  padding: 20px 28px;
}

.jcm-price-card__title {
  font-size: 20px;
  font-weight: 200 !important;
  color: var(--jcm-dark);
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.jcm-price-card__title::before {
  content: '💰';
  font-size: 24px;
}

.jcm-price-card__meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.jcm-price-card__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 6px 12px;
  border-radius: var(--jcm-radius);
  border: 1px solid var(--jcm-border);
}

.jcm-price-card__meta-label {
  font-size: 11px;
  color: var(--jcm-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.jcm-price-card__meta-value {
  font-size: 14px;
  color: var(--jcm-dark);
  font-weight: 200 !important;
}

.jcm-price-card__status {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 200 !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: var(--jcm-success-light);
  color: var(--jcm-success);
  border: 2px solid var(--jcm-success);
}

.jcm-price-card__content {
  display: grid;
  gap: 4px;
}

.jcm-price-card__main-price,
.jcm-price-card__per-m2,
.jcm-price-card__vat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--jcm-radius);
  background: var(--jcm-lighter);
  transition: background 0.2s ease;
}

.jcm-price-card__main-price {
  background: var(--jcm-primary-light);
  border: 2px solid var(--jcm-primary);
  margin-bottom: 8px;
}

.jcm-price-card__main-price:hover,
.jcm-price-card__per-m2:hover,
.jcm-price-card__vat:hover {
  background: var(--jcm-light);
}

.jcm-price-card__label {
  font-size: 13px;
  color: var(--jcm-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jcm-price-card__value {
  font-size: 18px;
  color: var(--jcm-primary);
  font-weight: 800;
  font-feature-settings: 'tnum';
}

.jcm-price-card__main-price .jcm-price-card__label {
  color: var(--jcm-primary-dark);
  font-size: 14px;
}

.jcm-price-card__main-price .jcm-price-card__value {
  font-size: 28px;
  color: var(--jcm-primary-dark);
}

/* ============= Floor Plans Widget ============= */

.jcm-floor-plans {
  margin: 24px 0;
  background: white;
  border: 2px solid var(--jcm-border);
  border-radius: var(--jcm-radius-lg);
  padding: 24px;
  box-shadow: var(--jcm-shadow-md);
}

.jcm-floor-plans__grid {
  display: grid;
  gap: 24px;
}

.jcm-floor-plan__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--jcm-radius-lg);
  box-shadow: var(--jcm-shadow-md);
  border: 3px solid var(--jcm-border);
  transition: all 0.3s ease;
  background: var(--jcm-lighter);
}

.jcm-floor-plan__item:hover {
  /* transform: translateY(-6px); - REMOVED: unoszenie floor plan na hover */
  box-shadow: var(--jcm-shadow-lg);
  border-color: var(--jcm-primary);
}

.jcm-floor-plan__item img {
  display: block;
  width: 100%;
  height: auto;
  /* transition: transform 0.3s ease; - REMOVED: animacja transform */
  background: white;
}

.jcm-floor-plan__item:hover img {
  /* transform: scale(1.05); - REMOVED: powiększanie obrazka na hover */
}

.jcm-floor-plan__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
  color: white;
  padding: 16px 16px 12px;
  font-size: 13px;
  font-weight: 200 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.jcm-floor-plan__link {
  display: block;
  cursor: zoom-in;
  position: relative;
}

.jcm-floor-plan__link::after {
  content: '🔍';
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: var(--jcm-shadow-md);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.jcm-floor-plan__item:hover .jcm-floor-plan__link::after {
  opacity: 1;
}

/* Tabs mode */

.jcm-floor-plans__tabs {
  margin-top: 20px;
}

.jcm-floor-plans__tab-list {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--jcm-border);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.jcm-floor-plans__tab {
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--jcm-text-muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  margin-bottom: -2px;
}

.jcm-floor-plans__tab:hover {
  color: var(--jcm-primary);
}

.jcm-floor-plans__tab.active {
  color: var(--jcm-primary);
  border-bottom-color: var(--jcm-primary);
}

.jcm-floor-plans__tab-content {
  position: relative;
  min-height: 200px;
}

.jcm-floor-plans__panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.jcm-floor-plans__panel.active {
  display: block;
}

.jcm-floor-plans__panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--jcm-radius);
}

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

/* Slider mode */

.jcm-floor-plans__slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-behavior: smooth;
}

.jcm-floor-plans__slider::-webkit-scrollbar {
  height: 6px;
}

.jcm-floor-plans__slider::-webkit-scrollbar-track {
  background: var(--jcm-light);
  border-radius: 3px;
}

.jcm-floor-plans__slider::-webkit-scrollbar-thumb {
  background: var(--jcm-border);
  border-radius: 3px;
}

.jcm-floor-plans__slider::-webkit-scrollbar-thumb:hover {
  background: var(--jcm-text-muted);
}

.jcm-floor-plan__slide {
  flex: 0 0 300px;
  position: relative;
  overflow: hidden;
  border-radius: var(--jcm-radius);
  box-shadow: var(--jcm-shadow);
}

.jcm-floor-plan__slide img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ============= Details Widget ============= */

.jcm-details {
  margin: 20px 0;
}

.jcm-details--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.jcm-details--grid .jcm-details__item {
  padding: 16px;
  background: var(--jcm-light);
  border-radius: var(--jcm-radius);
  border-left: 4px solid var(--jcm-primary);
}

.jcm-details__label {
  display: block;
  font-size: 12px;
  color: var(--jcm-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.jcm-details__value {
  display: block;
  font-size: 16px;
  color: var(--jcm-dark);
  font-weight: 600;
}

.jcm-details--list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.jcm-details--list .jcm-details__item {
  padding: 12px 0;
  border-bottom: 1px solid var(--jcm-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.jcm-details--list .jcm-details__item:last-child {
  border-bottom: none;
}

.jcm-details--table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--jcm-border);
  border-radius: var(--jcm-radius);
  overflow: hidden;
}

.jcm-details--table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--jcm-border);
}

.jcm-details--table tr:last-child td {
  border-bottom: none;
}

.jcm-details--table tr:hover {
  background-color: var(--jcm-light);
}

.jcm-details--table .jcm-details__label {
  font-weight: 200 !important;
  color: var(--jcm-dark);
  width: 40%;
}

.jcm-details--table .jcm-details__value {
  color: var(--jcm-primary);
}

/* ============= Price History Widget ============= */

.jcm-price-history {
  background: white;
  border: 2px solid var(--jcm-border);
  border-radius: var(--jcm-radius-lg);
  padding: 24px;
  box-shadow: var(--jcm-shadow-md);
  margin: 24px 0;
}

.jcm-price-history__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid var(--jcm-border);
  border-radius: var(--jcm-radius-lg);
  overflow: hidden;
  margin: 0;
  box-shadow: var(--jcm-shadow);
}

.jcm-price-history__table thead {
  background: var(--jcm-gradient);
}

.jcm-price-history__table th {
  padding: 16px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 200 !important;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 3px solid var(--jcm-primary-dark);
}

.jcm-price-history__table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--jcm-border);
  font-size: 14px;
  color: var(--jcm-dark);
  font-weight: 500;
  transition: background 0.2s ease;
}

.jcm-price-history__table tbody tr {
  transition: all 0.2s ease;
}

.jcm-price-history__table tbody tr:hover {
  background-color: var(--jcm-primary-light);
  /* transform: scale(1.01); - REMOVED: powiększanie wiersza na hover */
}

.jcm-price-history__table tbody tr:nth-child(even) {
  background-color: var(--jcm-lighter);
}

.jcm-price-history__table tbody tr:last-child td {
  border-bottom: none;
}

/* Kolory dla zmian cen */
.jcm-price-history__table td:nth-child(3) {
  font-weight: 200 !important;
  color: var(--jcm-success);
}

.jcm-price-history__no-data {
  padding: 48px 24px;
  text-align: center;
  color: var(--jcm-text-muted);
  font-style: italic;
  font-size: 15px;
  background: var(--jcm-lighter);
  border-radius: var(--jcm-radius);
  border: 2px dashed var(--jcm-border);
}

/* ============= Responsive ============= */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .jcm-details--grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .jcm-floor-plans__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile landscape & small tablet (481px - 768px) */
@media (max-width: 768px) {
  .jcm-price-card {
    padding: 20px;
  }
  
  .jcm-price-card__header {
    margin: -20px -20px 20px -20px;
    padding: 16px 20px;
  }

  .jcm-price-card__meta {
    gap: 12px;
  }

  .jcm-floor-plans__grid,
  .jcm-details--grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .jcm-details--list .jcm-details__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .jcm-floor-plans__tab-list {
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .jcm-floor-plans__tab {
    padding: 10px 12px;
    font-size: 11px;
    white-space: nowrap;
  }

  .jcm-floor-plan__slide {
    flex: 0 0 250px;
  }

  .jcm-floor-plan__slide img {
    height: 250px;
  }

  .jcm-price-history__table {
    font-size: 12px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .jcm-price-history__table td,
  .jcm-price-history__table th {
    padding: 10px 14px;
  }
  
  .jcm-floor-plans,
  .jcm-price-history,
  .jcm-details {
    padding: 18px;
  }
}

/* Mobile portrait (max 480px) */
@media (max-width: 480px) {
  .jcm-price-card {
    padding: 16px;
  }
  
  .jcm-price-card__header {
    margin: -16px -16px 16px -16px;
    padding: 14px 16px;
  }

  .jcm-price-card__title {
    font-size: 18px;
  }

  .jcm-price-card__value {
    font-size: 16px;
  }

  .jcm-price-card__main-price .jcm-price-card__value {
    font-size: 22px;
  }
  
  .jcm-price-card__main-price,
  .jcm-price-card__per-m2,
  .jcm-price-card__vat {
    padding: 12px 14px;
  }

  .jcm-floor-plan__slide {
    flex: 0 0 200px;
  }

  .jcm-floor-plan__slide img {
    height: 200px;
  }

  .jcm-details--table .jcm-details__label {
    width: 45%;
    font-size: 11px;
  }
  
  .jcm-details--table .jcm-details__value {
    font-size: 13px;
  }

  .jcm-floor-plans__tab-list {
    gap: 2px;
  }

  .jcm-floor-plans__tab {
    padding: 8px 10px;
    font-size: 10px;
  }
  
  .jcm-floor-plans,
  .jcm-price-history,
  .jcm-details {
    padding: 14px;
    border-width: 1px;
  }
  
  .jcm-price-history__table td,
  .jcm-price-history__table th {
    padding: 8px 10px;
    font-size: 11px;
  }
  
  .jcm-details--grid .jcm-details__item,
  .jcm-details--list .jcm-details__item {
    padding: 12px;
  }
}

/* ============= Lokal Details Widget ============= */

.jcm-details {
  background: white;
  border: 2px solid var(--jcm-border);
  border-radius: var(--jcm-radius-lg);
  padding: 24px;
  box-shadow: var(--jcm-shadow-md);
  margin: 20px 0;
}

/* Grid layout */
.jcm-details--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.jcm-details--grid .jcm-details__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--jcm-lighter);
  border-radius: var(--jcm-radius);
  border: 1px solid var(--jcm-border);
  transition: all 0.2s ease;
}

.jcm-details--grid .jcm-details__item:hover {
  background: white;
  border-color: var(--jcm-primary);
  /* transform: translateY(-2px); - REMOVED: unoszenie details na hover */
  box-shadow: var(--jcm-shadow);
}

.jcm-details--grid .jcm-details__label {
  font-size: 11px;
  color: var(--jcm-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.jcm-details--grid .jcm-details__value {
  font-size: 16px;
  color: var(--jcm-dark);
  font-weight: 200 !important;
}

/* List layout */
.jcm-details--list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.jcm-details--list .jcm-details__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--jcm-lighter);
  border-radius: var(--jcm-radius);
  border-left: 4px solid var(--jcm-primary);
  transition: all 0.2s ease;
}

.jcm-details--list .jcm-details__item:hover {
  background: white;
  border-left-width: 6px;
  padding-left: 16px;
  box-shadow: var(--jcm-shadow);
}

.jcm-details--list .jcm-details__label {
  font-size: 13px;
  color: var(--jcm-text-muted);
  font-weight: 600;
}

.jcm-details--list .jcm-details__value {
  font-size: 14px;
  color: var(--jcm-dark);
  font-weight: 200 !important;
}

/* Table layout */
.jcm-details--table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid var(--jcm-border);
  border-radius: var(--jcm-radius-lg);
  overflow: hidden;
}

.jcm-details--table .jcm-details__item {
  border-bottom: 1px solid var(--jcm-border);
  transition: background 0.2s ease;
}

.jcm-details--table .jcm-details__item:last-child {
  border-bottom: none;
}

.jcm-details--table .jcm-details__item:hover {
  background: var(--jcm-primary-light);
}

.jcm-details--table .jcm-details__label {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--jcm-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--jcm-lighter);
  width: 40%;
}

.jcm-details--table .jcm-details__value {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--jcm-dark);
  font-weight: 200 !important;
}

/* ============= Utility Classes ============= */

.jcm-elementor-hidden {
  display: none !important;
}

.jcm-elementor-visible {
  display: block !important;
}

.jcm-elementor-no-margin {
  margin: 0 !important;
}

.jcm-elementor-no-padding {
  padding: 0 !important;
}

/* ============= Elementor Editor Mode Enhancements ============= */

/* Styleliczne podczas edycji w Elementor */
.elementor-editor-active .jcm-price-card,
.elementor-editor-active .jcm-floor-plans,
.elementor-editor-active .jcm-details,
.elementor-editor-active .jcm-price-history__table {
  position: relative;
}

/* Podkreślenie widgetów w edytorze */
.elementor-editor-active .jcm-price-card::after,
.elementor-editor-active .jcm-floor-plans::after,
.elementor-editor-active .jcm-details::after {
  content: '✏️ JCM Widget';
  position: absolute;
  top: -32px;
  left: 0;
  background: var(--jcm-primary);
  color: white;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 200 !important;
  border-radius: 4px 4px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

.elementor-editor-active .jcm-price-card {
  min-height: 200px;
  border-color: var(--jcm-primary);
  border-width: 3px;
  border-style: dashed;
}

.elementor-editor-active .jcm-floor-plans {
  min-height: 150px;
  border-color: var(--jcm-success);
  border-width: 3px;
  border-style: dashed;
}

.elementor-editor-active .jcm-details {
  min-height: 120px;
  border-color: var(--jcm-warning);
  border-width: 3px;
  border-style: dashed;
}

/* Placeholder gdy brak danych w edytorze */
.elementor-editor-active .jcm-price-card:empty::before,
.elementor-editor-active .jcm-floor-plans:empty::before,
.elementor-editor-active .jcm-details:empty::before {
  content: 'Widget ładuje dane...';
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 100px;
  color: var(--jcm-text-muted);
  font-size: 14px;
  font-weight: 600;
  background: var(--jcm-lighter);
  border-radius: var(--jcm-radius);
  font-style: italic;
}

/* ============= Print Styles ============= */

@media print {
  .jcm-price-card,
  .jcm-details,
  .jcm-price-history__table {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #999;
  }

  .jcm-floor-plans__slider {
    display: none;
  }

  .jcm-floor-plans__tabs .jcm-floor-plans__tab-list {
    display: none;
  }
}

/* ============= Accessibility ============= */

.jcm-floor-plans__tab:focus,
.jcm-floor-plan__link:focus {
  outline: 2px solid var(--jcm-primary);
  outline-offset: 2px;
}

.jcm-price-history__table th {
  background-color: var(--jcm-light);
  font-weight: 200 !important;
}

@media (prefers-reduced-motion: reduce) {
  .jcm-floor-plan__item,
  .jcm-floor-plans__panel,
  .jcm-floor-plans__tab {
    transition: none;
  }
}

/* ============================================
   MOBILE RESPONSIVENESS ENHANCEMENTS
   ============================================ */

@media (max-width: 768px) {
  .jcm-price-card {
    padding: 20px;
    margin: 0 0 20px 0;
  }
  
  .jcm-price-card__header {
    margin: -20px -20px 20px -20px;
    padding: 16px 20px;
  }
  
  .jcm-price-card__title {
    font-size: 18px;
  }
  
  .jcm-price-card__meta {
    gap: 12px;
  }
  
  .jcm-price-card__meta-item {
    padding: 5px 10px;
  }
  
  .jcm-price-card__meta-label {
    font-size: 10px;
  }
  
  .jcm-price-card__meta-value {
    font-size: 13px;
  }
  
  .jcm-price-card__main-price .jcm-price-card__value {
    font-size: 24px;
  }
  
  .jcm-floor-plans {
    padding: 16px;
  }
  
  .jcm-floor-plans__grid {
    gap: 16px;
  }
  
  .jcm-details--grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .jcm-price-card {
    padding: 16px;
  }
  
  .jcm-price-card__header {
    margin: -16px -16px 16px -16px;
    padding: 12px 16px;
  }
  
  .jcm-price-card__title {
    font-size: 16px;
  }
  
  .jcm-price-card__meta {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  
  .jcm-price-card__meta-item {
    justify-content: space-between;
    width: 100%;
  }
  
  .jcm-price-card__main-price .jcm-price-card__value {
    font-size: 20px;
  }
  
  .jcm-floor-plans {
    padding: 12px;
  }
  
  .jcm-floor-plan__slide {
    flex: 0 0 250px;
  }
}

/* Touch-friendly targets */
@media (max-width: 768px) and (hover: none) and (pointer: coarse) {
  .jcm-floor-plans__tab,
  .jcm-floor-plan__link {
    min-height: 48px;
    min-width: 48px;
  }
  
  .jcm-floor-plans__tab {
    padding: 14px 18px;
  }
}
