.product-desc {
 width: 100%;
 padding: 4rem;
}

.inside-product-desc {
 display: flex;
}
.product-description h1 {
 font-family: montserrat;
 text-transform: capitalize;
 margin: 2rem 0;
}
.product-description h3 {
 font-family: montserrat;
 margin: 1rem 0;
}

.product-description {
 padding: 2rem;
}
.product-img {
 width: 70%;
}
.product-img-container{
 width: 30%;
}
.product-description p {
 margin: 1rem 0;
 font-family: nunito;
 font-size: 15px;
 line-height: 24px;
}
.sub-products-container {
 display: flex;
 justify-content: center;
}
.sub-products-container a {
 text-decoration: none;
 font-family: nunito;
 color: #000;
 width: 27%;
 margin: 2rem;
}
.sub-products-container a img {
 width: 100%;
 height: 20rem;
}

.sub-products-container .name{
 text-transform: uppercase;
 font-weight: 500;
 letter-spacing: 1px;
 line-height: 30px;
}
.name{
 text-transform: uppercase;
 font-weight: 500;
 letter-spacing: 1px;
 line-height: 30px;
}
.inside-sub-products {
 text-align: center;
}
.sub-products {
 width: 100%;
 padding: 4rem;
}

.table-container {
 margin: 20px 0;
 border: 1px solid #ddd;
 border-collapse: collapse;
 width: 80%;
 margin: auto;
}

table {
 width: 100%;
 border-collapse: collapse;
}
th, td {
 border: 1px solid #000;
 padding: 8px;
 text-align: center;
 font-family: nunito;
 color: #555555;
}

th {
 background-color: #f2f2f2;
 font-weight: bold;
}

th[colspan] {
 text-align: center;
}

tr:nth-child(even) {
 background-color: #f9f9f9;
}

tr:hover {
 background-color: #f1f1f1;
}

.table-container table:first-of-type {
 border-bottom: none;
}

.table-container table:last-of-type {
 border-top: none;
}

.fittings-section{
 padding: 4rem;
}

@media (max-width: 1100px) {
 
 .product-description h1 {
  margin: 1rem 0;
  font-size: 25px;
}
}

@media (max-width: 1024px){
 .product-img {
  width: 35%;
}
.product-description {
 padding: 1rem;
 width: 60%;
}
.sub-products-container a {
 width: 40%;
}
}

@media (max-width: 900px) {
 .inside-product-desc {
  flex-direction: column;
}
.product-img {
 width: 55%;
 margin: auto;
}
.product-description {
 width: 100%;
}
.product-img-container {
 width: 70%;
 margin: auto;
}
}

@media (max-width: 765px){
 .sub-products-container a img {
  width: 100%;
  height: 15rem;
}
.sub-products-container .name {
 line-height: 25px;
 font-size: 13px;
}
.name {
 line-height: 25px;
 font-size: 13px;
}
.sub-products-container p{
 font-size: 13px;
}
.sub-products-container a {
 width: 50%;
}
}

@media (max-width: 650px){
 .sub-products-container a img {
  width: 100%;
  height: 11rem;
}
.sub-products {
 width: 100%;
 padding: 2rem;
}
.product-description h1 {
 font-size: 22px;
}
.product-description p {
 font-size: 14px;
 line-height: 22px;
}
}
@media  (max-width: 600px) {
 .product-desc {
  width: 100%;
  padding: 2rem;
}
.sub-products-container a {
 margin: 1rem;
}
}

@media (max-width: 465px){
 .sub-products-container {
  flex-direction: column;
  align-items: center;
}
.sub-products-container a img {
 width: 100%;
 height: 20rem;
}
.sub-products-container a {
 width: 100%;
}
}