﻿/* === Tabulka === */






.p-detail-inner .table-wrap,
.type-detail .table-wrap,
#description .table-wrap,
.detail-description .table-wrap,
.product-description .table-wrap {
  border: 1px solid #d9deea !important;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  margin: 24px 0;
}


.p-detail-inner table.custom-table,
.type-detail table.custom-table,
#description table.custom-table,
.detail-description table.custom-table,
.product-description table.custom-table {
  width: 100% !important;
  border-collapse: collapse !important;
  table-layout: fixed;
  margin: 0;
  background: #fff;
}


.p-detail-inner table.custom-table th,
.p-detail-inner table.custom-table td,
.type-detail table.custom-table th,
.type-detail table.custom-table td,
#description table.custom-table th,
#description table.custom-table td,
.detail-description table.custom-table th,
.detail-description table.custom-table td,
.product-description table.custom-table th,
.product-description table.custom-table td {
  vertical-align: middle !important;
  word-break: break-word;
  overflow-wrap: break-word;
  border: none;
}


.p-detail-inner table.custom-table thead th,
.type-detail table.custom-table thead th,
#description table.custom-table thead th,
.detail-description table.custom-table thead th,
.product-description table.custom-table thead th {
  background: #edeff7 !important;
  color: #323546 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  text-align: left !important;
  padding: 18px 20px !important;
  border-bottom: 1px solid #d9deea !important;
}


.p-detail-inner table.custom-table tbody td,
.type-detail table.custom-table tbody td,
#description table.custom-table tbody td,
.detail-description table.custom-table tbody td,
.product-description table.custom-table tbody td {
  color: #323546 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  padding: 18px 20px !important;
  border-bottom: 1px solid #d9deea !important;
  background: #fff !important;
}


.p-detail-inner table.custom-table tbody tr:last-child td,
.type-detail table.custom-table tbody tr:last-child td,
#description table.custom-table tbody tr:last-child td,
.detail-description table.custom-table tbody tr:last-child td,
.product-description table.custom-table tbody tr:last-child td {
  border-bottom: none !important;
}


.p-detail-inner table.custom-table tbody td strong,
.type-detail table.custom-table tbody td strong,
#description table.custom-table tbody td strong,
.detail-description table.custom-table tbody td strong,
.product-description table.custom-table tbody td strong {
  font-weight: 700 !important;
}


/* ===== MOBIL: TABULKA ZŮSTÁVÁ TABULKOU ===== */
@media (max-width: 767px) {
  .p-detail-inner .table-mobile-table,
  .type-detail .table-mobile-table,
  #description .table-mobile-table,
  .detail-description .table-mobile-table,
  .product-description .table-mobile-table {
    overflow: hidden;
  }


  .p-detail-inner .table-mobile-table .custom-table,
  .type-detail .table-mobile-table .custom-table,
  #description .table-mobile-table .custom-table,
  .detail-description .table-mobile-table .custom-table,
  .product-description .table-mobile-table .custom-table {
    width: 100% !important;
    min-width: 0;
    table-layout: fixed;
  }


  .p-detail-inner .table-mobile-table .custom-table thead th,
  .p-detail-inner .table-mobile-table .custom-table tbody td,
  .type-detail .table-mobile-table .custom-table thead th,
  .type-detail .table-mobile-table .custom-table tbody td,
  #description .table-mobile-table .custom-table thead th,
  #description .table-mobile-table .custom-table tbody td,
  .detail-description .table-mobile-table .custom-table thead th,
  .detail-description .table-mobile-table .custom-table tbody td,
  .product-description .table-mobile-table .custom-table thead th,
  .product-description .table-mobile-table .custom-table tbody td {
    padding: 12px 10px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
}


/* ===== MOBIL: 4+ SLOUPCŮ JAKO KARTIČKY ===== */
@media (max-width: 767px) {
  .p-detail-inner .table-mobile-cards,
  .type-detail .table-mobile-cards,
  #description .table-mobile-cards,
  .detail-description .table-mobile-cards,
  .product-description .table-mobile-cards {
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
  }


  .p-detail-inner .table-mobile-cards .custom-table,
  .p-detail-inner .table-mobile-cards .custom-table thead,
  .p-detail-inner .table-mobile-cards .custom-table tbody,
  .p-detail-inner .table-mobile-cards .custom-table tr,
  .p-detail-inner .table-mobile-cards .custom-table th,
  .p-detail-inner .table-mobile-cards .custom-table td,
  .type-detail .table-mobile-cards .custom-table,
  .type-detail .table-mobile-cards .custom-table thead,
  .type-detail .table-mobile-cards .custom-table tbody,
  .type-detail .table-mobile-cards .custom-table tr,
  .type-detail .table-mobile-cards .custom-table th,
  .type-detail .table-mobile-cards .custom-table td,
  #description .table-mobile-cards .custom-table,
  #description .table-mobile-cards .custom-table thead,
  #description .table-mobile-cards .custom-table tbody,
  #description .table-mobile-cards .custom-table tr,
  #description .table-mobile-cards .custom-table th,
  #description .table-mobile-cards .custom-table td,
  .detail-description .table-mobile-cards .custom-table,
  .detail-description .table-mobile-cards .custom-table thead,
  .detail-description .table-mobile-cards .custom-table tbody,
  .detail-description .table-mobile-cards .custom-table tr,
  .detail-description .table-mobile-cards .custom-table th,
  .detail-description .table-mobile-cards .custom-table td,
  .product-description .table-mobile-cards .custom-table,
  .product-description .table-mobile-cards .custom-table thead,
  .product-description .table-mobile-cards .custom-table tbody,
  .product-description .table-mobile-cards .custom-table tr,
  .product-description .table-mobile-cards .custom-table th,
  .product-description .table-mobile-cards .custom-table td {
    display: block !important;
    width: 100% !important;
  }


  .p-detail-inner .table-mobile-cards .custom-table thead,
  .type-detail .table-mobile-cards .custom-table thead,
  #description .table-mobile-cards .custom-table thead,
  .detail-description .table-mobile-cards .custom-table thead,
  .product-description .table-mobile-cards .custom-table thead {
    display: none !important;
  }


  .p-detail-inner .table-mobile-cards .custom-table tbody tr,
  .type-detail .table-mobile-cards .custom-table tbody tr,
  #description .table-mobile-cards .custom-table tbody tr,
  .detail-description .table-mobile-cards .custom-table tbody tr,
  .product-description .table-mobile-cards .custom-table tbody tr {
    margin-bottom: 14px !important;
    border: 1px solid #d9deea !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }


  .p-detail-inner .table-mobile-cards .custom-table tbody td,
  .type-detail .table-mobile-cards .custom-table tbody td,
  #description .table-mobile-cards .custom-table tbody td,
  .detail-description .table-mobile-cards .custom-table tbody td,
  .product-description .table-mobile-cards .custom-table tbody td {
    display: grid !important;
    grid-template-columns: 110px 1fr !important;
    gap: 10px !important;
    align-items: start !important;
    padding: 12px 14px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    border-bottom: 1px solid #e6e9f2 !important;
    background: #ffffff !important;
  }


  .p-detail-inner .table-mobile-cards .custom-table tbody tr td:first-child,
  .type-detail .table-mobile-cards .custom-table tbody tr td:first-child,
  #description .table-mobile-cards .custom-table tbody tr td:first-child,
  .detail-description .table-mobile-cards .custom-table tbody tr td:first-child,
  .product-description .table-mobile-cards .custom-table tbody tr td:first-child {
    background: #edeff7 !important;
    font-weight: 700 !important;
  }


  .p-detail-inner .table-mobile-cards .custom-table tbody tr td:last-child,
  .type-detail .table-mobile-cards .custom-table tbody tr td:last-child,
  #description .table-mobile-cards .custom-table tbody tr td:last-child,
  .detail-description .table-mobile-cards .custom-table tbody tr td:last-child,
  .product-description .table-mobile-cards .custom-table tbody tr td:last-child {
    border-bottom: none !important;
  }


  .p-detail-inner .table-mobile-cards .custom-table tbody td::before,
  .type-detail .table-mobile-cards .custom-table tbody td::before,
  #description .table-mobile-cards .custom-table tbody td::before,
  .detail-description .table-mobile-cards .custom-table tbody td::before,
  .product-description .table-mobile-cards .custom-table tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #323546;
    line-height: 1.4;
  }
}