* {
  font-family: vazir, Arial;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #30431d;
}

::-webkit-scrollbar-track {
  background-color: #84aeee1a;
}

::-webkit-scrollbar {
  scrollbar-width: thin;
  background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  border: 1px solid #957e5b;
  border-radius: 0.5rem;
  background-color: #30431d;
  background-image: -webkit-linear-gradient(
    45deg,
    #eed1a4 25%,
    transparent 25%,
    transparent 50%,
    #eed1a4 50%,
    #eed1a4 75%,
    transparent 75%,
    transparent
  );
}
a {
  text-decoration: none;
}
body {
  background-color: #f4efea;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  gap: 20px;
}
.book-image {
  padding: 20px;
  flex: 1;
  min-width: 300px;
}
.book-details {
  text-align: right;
  padding: 20px;
  display: flex;
  flex: 1;
  min-width: 300px;
  flex-direction: column;
  justify-content: space-around;
}
.book-details h1 {
  color: #30431d;
}
.book-details p {
  color: #30431d;
  margin-bottom: 10px;
}
.book-details .price {
  font-size: 1.5em;
  color: #30431d;
}
.add-to-cart {
  display: block;
  height: 30px;
  padding: 0 15px;
  background-color: #eed1a4;
  color: #30431d;
  border: none;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
}
.owl-carousel.owl-rtl {
  display: flex;
  justify-content: center;
}
.owl-dots {
  display: none;
}
.item {
  display: flex;
  justify-content: center;
}
.book-image img {
  width: 70% !important;
  border-radius: 10px;
}

.owl-nav {
  position: absolute;
  top: 50%;
  width: 70% !important;
  display: flex !important;
  margin-top: 0 !important;
  justify-content: space-between;
}
.point {
  display: flex;
  justify-content: flex-start;
  flex-direction: row-reverse;
}
details {
  margin-top: 10px;
  background-color: #eed1a4;
  border: 3px solid #957e5b;
  color: #30431d;
  padding: 10px;
  border-radius: 1rem;
}
summary {
  list-style: none;
  font-weight: bold;
  cursor: pointer;
  color: #30431d;
}
.cart-price {
  display: flex;
      margin-top: 20px;
  flex-direction: column;
  align-items: flex-start;
}
.price {
  display: flex;
  flex-direction: row-reverse;
}
@media screen and (max-width: 768px) {
  .cart-price {
    position: fixed;
    margin: 0;
    bottom: 0;
    right: 0;
    background-color: #957e5b;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 -3px 8px #3f3f3f;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
  }
  .price {
    margin: 7px 0;
  }
  .price svg {
    padding-top: 3px;
  }
  .price p {
    color: #eed1a4;
  }
  .add-to-cart {
    color: #957e5b;
  }
}
.add-review {
  background-color: #eed1a4;
  border: 1px solid #957e5b;
  border-radius: 10px;
  padding: 20px;
  margin: 20px;
  direction: rtl;
}

.add-review h2 {
  color: #30431d;
  text-align: center;
  margin-bottom: 20px;
}

.add-review label {
  display: block;
  color: #30431d;
  margin-bottom: 5px;
}

.add-review input,
.add-review textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #957e5b;
  border-radius: 5px;
}

.add-review button {
  background-color: #30431d;
  color: #eed1a4;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}
.customer-reviews {
  background-color: #f4efea;
  border: 1px solid #957e5b;
  border-radius: 10px;
  padding: 20px;
  margin: 20px;
  direction: rtl;
}

.customer-reviews h2 {
  color: #30431d;
  text-align: center;
  margin-bottom: 20px;
}

.review {
  border-bottom: 1px solid #957e5b;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.review:last-child {
  border-bottom: none;
}

.review p {
  color: #30431d;
  margin-bottom: 5px;
}
/* font start */

@font-face {
  font-family: vazir;
  src: url(../../fonts/Vazir.ttf);
}

@font-face {
  font-family: vazirb;
  src: url(../..fonts/Vazir-bold.ttf);
}

/* font end */
