
#all-products{
    max-width: 1200px;
  margin:50px auto;
  display: grid;
  gap:5px
}


#all-products h1, #category-title{

    max-width: 1200px;
  text-align: center;
  color: rgb(19, 100, 95);
  font-size: 40px;
  font-weight: bold;
  padding: 10px;
  margin: 20px auto;
  border-bottom: solid 2px;
}

#baby, #bags, #kids , #adult , #all{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
   gap:5px;
   justify-items:center;
   margin: 50px auto;
}

.product-card{
  position: relative;
  width: 100%;
  max-width: 220px;
  height:80%;
  background-color: #dbd4c1;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}



.product-card:hover{
  transform: scale(1.05);
   box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


.product-card img{
  width: 100%;
  height: 70%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  object-fit: cover;
}

.product-card h3{
  text-align: center;
  color: rgb(19, 100, 95);
  font-weight: bold;
  font-size: 15px;
} 



.details-btn{
  position: absolute;
  bottom: -20px;
  left:50%;
  transform: translate(-50%,0%);
   border:none;
  background:#f68e93;
  color:#fff;
  padding:10px 20px;
  border-radius:25px;

  cursor:pointer;
  transition:.3s;
}

.details-btn:hover{
  background:#e36b71;
}

/* تنسيق المنتجات المشابهه */
.similar-products {
  margin: 60px auto;
  max-width: 90%;
}

.similar-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  align-items: center;
  margin: 30px auto;
  max-width: 80%;
}

.similar-products h2{
  color: rgb(19, 100, 95);
  font-size: 25px;
  font-weight: bold;
  border-bottom:2px solid #ccc ;
  padding: 10px;
}


/* نخلي الصورة ارتفاع ثابت بدل نسبة */
.similar-container .product-card img {
  height: 70%;
}



.seo-content{
  max-width: 70%;
  background-color: #fff;
  margin: 20px auto;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 4px 4px 6px rgba(0,0,0,0.15);
}

.seo-content h2, h3{
  color: rgb(19, 100, 95);
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
  font-weight: bold;
  margin: 10px;
}

.seo-content p{
 color:#817f7f;
 line-height: 1.6;
}



