.size-table-wrapper {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: nowrap;
}

.size-table-container {
  flex: 0 0 66.6667%;
  min-width: 0;
}

.size-image-container {
  flex: 0 0 33.3333%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
  font-size: inherit;
  margin: 0;
}

.size-table th {
  font-weight: bold;
  text-align: center;
  padding: 0.75rem;
  white-space: normal;
  background-color: #f7f7f7;
}

.size-table td {
  text-align: center;
  padding: 0.75rem;
}

.size-table tbody tr:nth-child(even) {
  background-color: #f7f7f7;
}

.size-table tbody td:first-child {
  font-weight: bold;
}

.size-table tr {
  border-bottom: 1px solid #ddd;
}

.size-image {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Když není obrázek, tabulka má plnou šířku */
.size-table-wrapper.no-image .size-table-container {
  flex: 1 1 100%;
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
  .size-table-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .size-table-container,
  .size-image-container {
    flex: none;
    width: 100%;
  }
  .size-image {
    max-width: 80%;
    margin-top: 1rem;
  }
  .size-table th,
  .size-table td {
    padding: 0.6rem;
  }
}
