body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.banner-container-desktop {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  width: 100%;
}
.banner-container-desktop img {
  width: 970px;
  height: auto;
  background-color: wheat;
}
.banner-container-mobile {
  width: 100%;
  justify-content: center;
  box-sizing: border-box; 
  align-items: center;
  display: none;
  margin-top: 30px;
}
.banner-container-mobile img{
  width: 90%;
  background-color: black;
  aspect-ratio: 2/1;
}

.title-container {
  font-family: "Koodak";
  display: flex;
  justify-content: right;
  margin-right: 10%;
  font-size: xx-large;
  font-weight: bold;
  margin-block: 20px;
}
.list-container {
  background-color: white;
  width: 100%;
  direction: rtl;
  justify-content: center;
  align-items: center;
  padding-left: 8%;
  padding-right: 8%;
  box-sizing: border-box;
}
.list-container > div {
  display: flex;
  overflow-x: auto;

  /* Firefox */
  scrollbar-width: thin; /* "thin" | "auto" | "none" */
  scrollbar-color: var(--primary-color) transparent;
}

/* Chrome, Edge, Safari */
.list-container div::-webkit-scrollbar {
  height: 6px; /* horizontal scrollbar thickness */
}

.list-container div::-webkit-scrollbar-track {
  background: transparent;
}

.list-container div::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 10px;
}

.list-container div::-webkit-scrollbar-button {
  display: none; /* hides arrows */
}


.list-item-container {
  min-width: 250px;
  background: white;
  border: none;

  padding: 1rem;
  text-align: center;
  flex: 0 0 auto;
  font-size: 1.1rem;
  height: auto;
  flex-direction: column;
  align-items: center;
  margin-inline: 20px;
}
.list-item-container img,
p,
button {
  cursor: pointer;
}

.list-item-container > div {
  display: flex;
  justify-content: space-between;
  direction: rtl;
  padding: 0;
  margin: 0;
  width: 100%;
}
.item-image {

  position: relative;
  display: inline-block;
  justify-content: center;
  background-color: var(--lightGray-color);
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  align-items: center;
}
.item-image img{
  display: block;
  width: 200px;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  object-fit: scale-down;
  height: min-content;
  
}


/* Badge */
.discount-badge {
  top: 5px;
  left: 5px;
  background: linear-gradient(135deg, #ff0000, #ffdd03);
  color: white;
  width: max-content;
  padding: 6px 10px;
  font-size: medium;
  font-weight: 700;
  align-items: center;
  text-align: center;
  display: flex;
  position: absolute;
  user-select: none;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(255, 60, 60, 0.45);

  animation: pulse 1.6s infinite ease-in-out;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 14px rgba(255, 60, 60, 0.45);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 10px 22px rgba(255, 60, 60, 0.65);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 14px rgba(255, 60, 60, 0.45);
  }
}











.item-name {
  color: black;
  width: 100%;
  text-align: right;
  font-family: "Koodak";
  font-weight: bold;
  word-break: normal;
  max-width: 250px;
  white-space: normal;
  overflow: visible;
  display: block;
  margin-right: 0;
}
.category-container p {
  cursor: pointer;
  color: var(--primary-color);
  font-size: medium;
  margin-inline: 5px;
}
.item-rating-container {
  justify-content: left;
  display: flex;
  align-items: center;
  direction: ltr;
  width: auto;
}
.item-rating-container img {
  width: 20px;
  padding: 0;
}
.item-rating-container p {
  color: black;
  font-family: "Inter";
  font-weight: bold;
  margin-right: 10px;
}

.item-price-container {
  flex-direction: column;
  display: flex;
  align-items: center;
  /* justify-content: right; */
  height: min-content;
}
.item-price {
  color: black;
  font-weight: bold;
  font-family: "Koodak";
  font-size: larger;
  text-align: right;
  margin-right: 0;
  width: 100%;
}
.item-discount {
  color: var(--gray-color);
  text-decoration: line-through;
  font-size: large;
  text-align: right;
  margin-right: 0;
}
.item-buy {
  background-color: var(--onPrimary-color);
  border: none;
  aspect-ratio: 2/1;
  height: 50px;
  color: white;
  font-family: "Koodak";
  font-size: larger;
  border-radius: 15px;
  text-align: center;
}
.more-container{
  padding-left: 8%;
  padding-right: 8%;
  box-sizing: border-box;
  margin-block: 30px;
}
.more-container button{
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: x-large;
  font-family: 'Koodak';
  padding: 15px;
}
/* Mobile layouts*/
@media only screen and (max-width: 768px) {
 .banner-container-desktop {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  display: none;
}
.banner-container-desktop img {
  width: 80%;
  height: 400px;
  background-color: wheat;
}
.banner-container-mobile {
  width: 100%;
  justify-content: center;
  box-sizing: border-box; 
  align-items: center;
  display: flex;
  margin-top: 30px;
}
.banner-container-mobile img{
  width: 90%;
  background-color: black;
  aspect-ratio: 2/1;
}

.title-container {
  font-family: "Koodak";
  display: flex;
  justify-content: right;
  margin-right: 10%;
  font-size: large;
  font-weight: bold;
  margin-block: 20px;
}
.list-container {
  background-color: white;
  width: 100%;
  direction: rtl;
  justify-content: center;
  align-items: center;
  padding-left: 5%;
  padding-right: 5%;
  box-sizing: border-box;
}
.list-container div {
  display: flex;
  overflow-x: auto;

  /* Firefox */
  scrollbar-width: thin; /* "thin" | "auto" | "none" */
  scrollbar-color: var(--primary-color) transparent;
}

/* Chrome, Edge, Safari */
.list-container div::-webkit-scrollbar {
  height: 6px; /* horizontal scrollbar thickness */
}

.list-container div::-webkit-scrollbar-track {
  background: transparent;
}

.list-container div::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 10px;
}

.list-container div::-webkit-scrollbar-button {
  display: none; /* hides arrows */
}


.list-item-container {
  /* min-width: 180px; */
  min-width: 180px;
  background: white;
  border: none;

  padding: 1rem;
  text-align: center;
  flex: 0 0 auto;
  font-size: 1.1rem;
  height: auto;
  flex-direction: column;
  align-items: center;
  margin-inline: 20px;
}
.list-item-container img,
p,
button {
  cursor: pointer;
}

.list-item-container > div {
  display: flex;
  justify-content: space-between;
  direction: rtl;
  padding: 0;
  margin: 0;
  width: 100%;
}
.item-image {
  background-color: var(--lightGray-color);
  border-radius: 10px;
  width: 200px;
  aspect-ratio: 1 / 1;
  object-fit: scale-down;
  display: block;
}
.item-image img{
  border-radius: 10px;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  object-fit: scale-down;
  display: block;
}

.item-name {
  color: black;
  width: 100%;
  font-size: medium;
  text-align: right;
  font-family: "Koodak";
  font-weight: bold;
  word-break: normal;
  max-width: 180px;
  white-space: normal;
  overflow: visible;
  display: block;
}
.category-container p {
  cursor: pointer;
  color: var(--primary-color);
  font-size: small;
  margin-inline: 5px;
}
.item-rating-container {
  justify-content: left;
  display: flex;
  align-items: center;
  direction: ltr;
  width: auto;
}
.item-rating-container img {
  width: 20px;
  padding: 0;
}
.item-rating-container p {
  color: black;
  font-family: "Inter";
  font-weight: bold;
  margin-right: 10px;
}

.item-price-container {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: min-content;
}
.item-price {
  color: black;
  font-weight: bold;
  font-family: "Koodak";
  font-size: medium;
}
.item-discount {
  color: var(--gray-color);
  text-decoration: line-through;
  font-size: small;
}
.item-buy {
  background-color: var(--onPrimary-color);
  border: none;
  aspect-ratio: 2/1;
  height: 35px;
  color: white;
  font-family: "Koodak";
  font-size: large;
  border-radius: 10px;
  text-align: center;
}
.more-container{
  padding-left: 8%;
  padding-right: 8%;
  box-sizing: border-box;
  margin-block: 30px;
}
.more-container button{
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: large;
  font-family: 'Koodak';
  padding: 12px;
} 
}