﻿/* === Tabulka === */




.x-spec-grid {
  display: block !important;
  width: 100% !important;
  margin: 24px 0 !important;
  border: 1px solid #d9deea !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}


.x-spec-grid__row {
  display: grid !important;
  grid-template-columns: 220px 1fr 220px 1fr !important;
  margin: 0 !important;
  border-bottom: 1px solid #d9deea !important;
}


.x-spec-grid__row:last-child {
  border-bottom: none !important;
}


.x-spec-grid__cell {
  display: block !important;
  padding: 18px 20px !important;
  color: #323546 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  text-align: left !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  vertical-align: middle !important;
}


.x-spec-grid__row--head .x-spec-grid__cell {
  background: #edeff7 !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}


.x-spec-grid__cell strong {
  font-weight: 700 !important;
}


/* === Mobil: 4 sloupce jako kartičky === */
@media (max-width: 767px) {
  .x-spec-grid {
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
  }


  .x-spec-grid__row--head {
    display: none !important;
  }


  .x-spec-grid__row {
    display: block !important;
    margin-bottom: 14px !important;
    border: 1px solid #d9deea !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }


  .x-spec-grid__row:last-child {
    border-bottom: 1px solid #d9deea !important;
  }


  .x-spec-grid__cell {
    display: grid !important;
    grid-template-columns: 110px 1fr !important;
    gap: 10px !important;
    align-items: start !important;
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    border-bottom: 1px solid #e6e9f2 !important;
    background: #ffffff !important;
  }


  .x-spec-grid__cell:last-child {
    border-bottom: none !important;
  }


  .x-spec-grid__cell::before {
    font-weight: 700 !important;
    color: #323546 !important;
    line-height: 1.4 !important;
  }


  /* 1. a 3. buňka v řádku = Parametr */
  .x-spec-grid__cell:nth-child(odd)::before {
    content: "Parametr";
  }


  /* 2. a 4. buňka v řádku = Specifikace */
  .x-spec-grid__cell:nth-child(even)::before {
    content: "Specifikace";
  }


  /* zvýraznění buněk s názvem parametru */
  .x-spec-grid__cell:nth-child(odd) {
    background: #edeff7 !important;
    font-weight: 700 !important;
  }
}