img.responsive-img {
    width: 100%;
    max-width: 400px;
    height: auto;

    display: block;
    margin: 10px auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }

  @media (max-width: 480px) {
    img.responsive-img {
      max-width: 100%;
      margin: 8px 0;
    }
  }
  img.responslive-img {
width: 100%; 
max-width: 300px;
height: 200px; 

display: block;
margin: 10px auto;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

@media (max-width: 480px) {
img.responslive-img {
max-width: 100%;
height: 150px; /* ارتفاع کمتر برای موبایل */
}
}
img.responslive-img {
width: 100%;
max-width: 300px;
height: 200px; 

display: block;
margin: 10px auto;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

@media (max-width: 480px) {
img.responslive-img {
max-width: 100%;
height: 150px; /* ارتفاع کمتر برای موبایل */
}
}
.contact {
    max-width: 100%;
    height: auto;
    display: block;
  
    transition: transform 0.3s ease;
  }
  
  @media (max-width: 600px) {
    .contact {
      width: 60%; /* برای موبایل */
    }
  }
  h1, h2, h3 {
font-size: 2em;
}

@media (max-width: 480px) {
h1 { font-size: 1.4em; }
h2 { font-size: 1.2em; }
h3 { font-size: 1em; }
}
body {
max-width: 1200px;
margin: auto;
padding: 10px;
}

        .products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.product-card {
  background: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 15px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}



.product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}


.price-info {
  display: block;
  width: 100%;
  background-color: #e74c3c;
  color: rgb(0, 0, 0);
  padding: 10px 0;
  margin-top: 10px;
  border-radius: 5px;
  font-weight: 600;          /* ضخامت فونت */
  font-size: 16px;           /* سایز فونت */
  font-family: 'Tahoma', 'Verdana', 'Arial', sans-serif;  /* فونت مناسب و خوانا */
  text-align: center;
  border: none;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.price-info:hover,
.price-info:focus,
.price-info:active {
  background-color: rgb(35, 35, 35);
  color: white;
  border: 0.5px solid yellow;
  outline: none;
}
a:hover{
    color: gray;
}