.product-description {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.55;
    color: #222;
    font-size: 16px;
}

.product-description h2, .product-description h3 {
    margin: 1.2em 0 0.5em;
    line-height: 1.2;
}

.product-description h4 {
    margin: 0.8em 0 0.4em;
    font-size: 16px;
}

.product-description p {
    margin: 0.6em 0;
}

.product-description .tech-params {
    margin: 20px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.product-description .tech-params h3 {
    margin: 0 0 12px;
    font-size: 18px;
}

.product-description .params-table {
    width: 100%;
    border-collapse: collapse;
}

.product-description .params-table th,
.product-description .params-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.product-description .params-table th {
    font-weight: 500;
    color: #495057;
    width: 40%;
}

.product-description .params-table td {
    color: #212529;
}

.product-description .params-table tr:last-child th,
.product-description .params-table tr:last-child td {
    border-bottom: none;
}

.product-description .material-section {
    margin: 24px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.product-description .material-section h3 {
    margin: 0 0 16px;
    font-size: 18px;
    color: #212529;
}

.product-description .material-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
    align-items: flex-start;
}

.product-description .material-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.product-description .material-img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e9ecef;
}

.product-description .material-content {
    flex: 1;
}

.product-description .material-content h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 600;
    color: #212529;
}

.product-description .material-content p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .product-description .params-table th,
    .product-description .params-table td {
        display: block;
        width: 100%;
    }
    .product-description .params-table th {
        padding-bottom: 4px;
        border-bottom: none;
    }
    .product-description .params-table td {
        padding-top: 0;
    }
    
    .product-description .material-item {
        flex-direction: column;
    }
    
    .product-description .material-img {
        width: 100%;
        height: 120px;
    }
}

/* Obrázky materiálů */
.product-description .mat-img-eucalyss {
    background-image: url('../images/materasso_eucalyss.jpg');
}
.product-description .mat-img-evo-green {
    background-image: url('../images/materasso_evo-green.jpg');
}
.product-description .mat-img-levandulova-pena {
    background-image: url('../images/materasso_levandulova-pena.jpg');
}
#materassologoframe{
margin-left: auto;
margin-right: auto;
width: 465px;
max-width: 100%;
		}

#materassologo {padding: 310px 10px 10px 0px;
        background: transparent top center url(../images/logo_materasso.jpg) no-repeat;
 background-size: contain;
        padding: 50% 0px 0px 0px;
        height: 1px;
		}
/* CSS PRO GALERII NA KLIKNUTÍ */
.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.popup .popuptext {
  visibility: hidden;
  width: auto;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -80px;
}

.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s
}

.popup .hidden {
  visibility: hidden;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s
}
