body
{
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  direction: rtl;
}
.container
{
  background-color: #ff5722;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 15px;
  direction: rtl;
  font-family: Tahoma, sans-serif;
}
.title
{
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  margin: 0;
  text-align: center;
}
.subtitle
{
  font-size: 1.1rem;
  font-weight: normal;
  color: yellow;
  margin: 0;
  text-align: center;
}
.telephone
{
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin: 0;
  text-align: center;
}
.address
{
  font-size: 1.35rem;
  font-weight: normal;
  color: yellow;
  margin: 0;
  text-align: center;
}
.cards-container a
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f8f8;
	gap: 10px;
	text-decoration: none;
    color: inherit;
}
.card:hover
{
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
.cardKala:hover
{
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
.card
{
	align-items: center;
    background-color: #fff;
	border-radius: 15px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	height: 180px;
	justify-content: flex-start;
	padding: 10px;
	text-align: center;
	transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    overflow: hidden;
	width: 100%;
    max-width: 300px;
}
.cardKala
{
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.15);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	text-align: center;
	transition: transform 0.2s ease;
	width: calc((100% - 40px) / 3);
	height: 100%;
}
.card img
{
    max-width: 100%;
    max-height: 35%;
    object-fit: contain;
    flex-grow: 0;
	 width: 100%;
  height: 200px;
  background-color: #fafafa;
  object-position: center center;
  display: block;
  margin: 0 auto;
}
.card h3
{
    font-size: 16px;
    color: #333;
    margin-top: auto;
    padding-top: 10px;
}
.cards-container
{
	align-items: flex-start;
	background-color: #f8f8f8;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    overflow-x: auto;
	padding: 10px;
    gap: 10px;
}
.card-wrapper
{
    display: flex;
    justify-content: center;
	flex: 1;
}
.card-wrapper.left
{
    justify-content: flex-start;
}
.card-wrapper.center
{
    justify-content: center;
}
.card-wrapper.right
{
    justify-content: flex-end;
}
.products-container
{
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	margin: 0 auto;
	max-width: 1200px;
	padding: 0;
	align-items: stretch;
}
.card .info
{
  padding: 15px;
}
.cardKala.info
{
	display: flex;
	flex-direction: column;
	padding: 15px;
	flex-grow: 1;
}
.card .name
{
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
}
.cardKala.name
{
	color: #333;
	font-size: 1.1rem;
	margin-bottom: 10px;
}
.card .price
{
  color: #007BFF;
  font-size: 1rem;
}
.cardKala.price
{
	color: #ff5722;
	font-size: 1.2rem;
	margin-top: auto;
	font-weight: bold;
}
.cardKala.info.price
{
	color: #ff5722;
	font-size: 1.2rem;
	margin-top: auto;
	font-weight: bold;
}
.cardKala .image-box
{
	align-items: center;
	background-color: #fafafa;
	display: flex;
	height: 200px;
	justify-content: center;
	overflow: hidden;
	width: 100%;
}
.cardKala .image-box img
{
	display: block;
	height: 100%;
	object-fit: contain;
	object-position: center;
	width: 100%;
}
.cardKala-link
{
	box-sizing: border-box;
	color: inherit;
	display: flex;
	flex-direction: column;
    text-decoration: none;
    width: calc((100% - 40px) / 3);
}
.search-form
{
  display: flex;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  box-sizing: border-box;
  padding: 0 10px;
}
.search-input
{
  flex: 1;
  padding: 10px 15px;
  font-size: 16px;
  border: 2px solid #ccc;
  outline: none;
  transition: border-color 0.3s;
}
.search-input:focus
{
  border-color: #007BFF;
}
.search-button
{
  padding: 10px 20px;
  font-size: 20px;
  border: 2px solid #007BFF;
  background-color: green;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  font-weight: bold;
}
.search-button:hover
{
  background-color: #0056b3;
  border-color: #0056b3;
}
.price
{
    font-size: 1.2em;
    font-weight: bold;
    color: #ff5722;
}

@media (max-width: 992px)
{
  .products-container
  {
    gap: 15px;
  }
  .cardKala
  {
    width: calc((100% - 30px) / 3);
  }
  .cardKala.image-box
  {
    height: 160px;
  }
  .cardKala.name
  {
    font-size: 1rem;
  }
  .cardKala.price
  {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px)
{
  .products-container
  {
		box-sizing: border-box;
		display: flex;
		padding-left: 2.5%;
		padding-right: 2.5%;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 5%;
  }
  .cardKala
  {
	width: calc((100% - 20px) / 2);
	margin-bottom: 20px;
  }
  .cardKala.image-box
  {
    height: 120px;
  }
  .cardKala.name
  {
    font-size: 0.8rem;
  }
  .cardKala.price
  {
    font-size: 0.9rem;
	color: #ff5722;
	font-weight: bold;
  }
  .cardKala.info.price
  {
    font-size: 0.9rem;
	color: #ff5722;
	font-weight: bold;
  }
  .cardKala-link
  {
		color: inherit;
		display: flex;
		flex-direction: column;
		margin: 0;
		text-decoration: none;
		width: 45%;
  }
  .cardKala-link + .cardKala-link
  {
    margin-left: 5%;
  }
}