.product-container{
    display: flex;
    gap: 20px;
    max-width: 1280px;
    justify-content: space-between;
    min-height: 350px;
    padding: 20px;
    width: 100%;
}

.single-product-container{
    width: 100%;
    background-color: #E2E2E2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-details-container{
    width: 100%;
    background-color: #E2E2E2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-product-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.datasheet-container{
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 0 10px 0 10px;
  text-transform: uppercase;
  font-family: 'Roboto Condensed',;
}

.cta-container{
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 0 10px 0 10px;
  text-transform: uppercase;
  font-family: 'Roboto Condensed',;
}

.cta-container a{
  color:white;
  font-weight: 500;
  background-color: #930000;
  padding: 10px 20px 10px 20px;
  border-radius: 10px;
}

.cta-container a:hover{
  color:rgb(255, 255, 255);
  font-weight: 500;
  background-color: #bc6161;
  padding: 10px 20px 10px 20px;
  border-radius: 10px;
  transition: all;
  transition-duration: 0.3s;
}

.datasheet-container span{
  font-weight: 500;
}


.datasheet-container a{
  color:#930000;
  font-weight: 500;
  cursor: pointer;
  transition: all;
  transition-duration: 0.5s;
}


.datasheet-container a:hover{
  color:#bc6161;
}

.title-container{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0 0 0;
    justify-content: center;
}

.image-container{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title-border{
    border-top: 1px solid black;
    margin: 0px;
    width: 120%;
    max-width: 500px;
}

.product-title{
    font-family: 'Inter';
    text-transform: uppercase;
    font-size: 35px;
    font-weight: 700;
    color: rgb(22, 22, 22);
    max-width: 550px;
}

.title-wrapper{
    width: 100%;
}

.product-image img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain; /* keeps aspect ratio, no cropping */
  transform: scale(1);       /* normal state */
  transition: transform 0.5s; /* smooth transition for both hover and unhover */
}

.product-image img:hover {
  transform: scale(1.05);
  transition: 0.5s all;
}

.description-container{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content:space-around;
    font-family: "Inter";
    font-size: 17px;
    line-height: 20px;
}

.related-products-container{
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px;
}

.related-products-header{
    display: flex;
    justify-content: start;
    border-bottom: 1px solid black;
    font-family: 'Inter';
    text-transform: uppercase;
    color: black;
    font-size: 26px;
    font-weight: 700;
}

.related-products-container {
  margin-top: 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 30px;
}

.related-products-header span {
  font-size: 1.5rem;
  font-weight: 600;
  padding-bottom: 8px;
  display: inline-block;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 20px;
  margin-bottom: 20px;
  place-items: center;
}

.features{
    width: 100%;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.features-container{
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 20px 0 20px 0;
    padding: 20px;
}

.features-header{
    display: flex;
    justify-content: start;
    border-bottom: 1px solid black;
    font-family: 'Inter';
    text-transform: uppercase;
    color: black;
    font-size: 26px;
    font-weight: 700;
}

.features-content{
  padding: 10px;
}

/* ===========================
   PRODUCT CARD
=========================== */
.related-product-card {
  background: #f2f0ef;
  transition: box-shadow 0.2s;
  text-align: center;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1em;
  font-size: 15px;
  text-decoration: none;
  max-width: 300px;
  max-height: 400px;
}

.related-product-card:hover {
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
  text-decoration: none;
}

.related-product-thumb img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 3px;
  padding: 1em;
}

.related-product-title {
  color: black;
  font-weight: 600;
  padding: 0 1em;
  font-size: 15px;
}

.related-product-cta {
  padding: 0.5em;
  background-color: #930000;
  font-weight: 600;
  color: white;
  text-decoration: none;
}

.related-product-card, 
.related-product-card * {
  text-decoration: none !important;
}

.contact-us-cta-section{
  background-color: #f0f0f0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-us-cta-container{
  max-width: 1280px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 20px;
}

.cta-heading h2{
  text-align: center;
  font-family: "Roboto Condensed";
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  text-transform: uppercase;
}

.cta-button{
  display: block;
  font-family: "Inter";
  font-size: 24px;
  padding: 10px 20px 10px 20px;
  border: none;
  text-align: center;
  background-color: #dddd;
  font-weight: 700;
  text-transform: uppercase;
  color: black;
  transition: background-color 0.5s ease;
}

.cta-button:hover{
  background-color: #c9c9c9;
}

/* Media queries */

@media (max-width: 768px) {
    .product-container {
        flex-direction: column-reverse;
        justify-content: center;
    }
     .title-container{
        width: 100%;
    }

    .image-container{
        width: 100%;
    }
    .product-title{
        font-size: 24px;
    }
    .description-container{
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content:space-around;
        font-family: "Inter";
        font-size: 14px;
        line-height: 15px;
    }

    .contact-us-cta-container{
      gap: 20px;
      padding: 20px;
    }

    .cta-heading h2{
      font-size: 22px;
    }

    .cta-button{
      font-size: 16px;
    }

}