@media screen and (max-width: 1338px) {
  .deteles_item {
    margin-top: 30px;
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .hero_img {
    height: 480px;
    margin-bottom: 30px;
    box-shadow: 2px 1px 2px 2px rgba(10, 9, 9, 0.1);
  }

  .deteles_item_right h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .author {
    font-size: 17px;
  }

  .short_dic {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    color: #086b28;
    flex-wrap: wrap;
  }

  .short_dic p {
    font-size: 16px;
    margin: 0;
    padding: 0;
  }

  .cart_dec p {
    padding: 0;
    margin: 0;
    padding-top: 10px;
    font-size: 15px;
  }

  .cart_dec h3 {
    font-size: 15px;
    font-weight: 500;
  }

  .cart_dec p {
    font-size: 12px;
  }

  .cart_img {
    height: 120px;
    width: 120px;
  }

  /* .deteles_right{
      position: relative;
    } */

  .tab_cart_item h4 {
    font-size: 16px;
    font-weight: 600;
  }

  .book_card {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .semelar_category_card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
  }
}

@media screen and (max-width: 992px) {
  .nav_list {
    position: fixed;
    top: 0;
    left: -100%;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100vh;
  }

  .nav_item {
    width: 60%;
    background-color: #fff;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 60px 20px;
    position: relative;
    box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
  }

  .close_ber {
    display: flex;
    position: absolute;
    right: 20px;
    top: 30px;
    font-size: 30px;
    transition: 0.4s;
  }

  .search_bar {
    position: fixed;
    top: 70px;
    right: -100%;
    background: rgb(228, 224, 224);
    width: 100%;
    height: 100px;
    z-index: 55;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
  }

  .nav_item li a:hover {
    background: transparent;
  }

  .active {
    left: 0;
  }

  .search_active {
    right: 0;
  }

  .logo {
    width: 150px;
  }
  .bar,
  .search_icon {
    display: flex;
    font-size: 20px;
    font-weight: 500;
  }

  .close_ber:hover {
    color: red;
  }

  .Dooks_area {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 10px;
  }

  .propuler_item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 25px;
  }

  .book_card {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  main {
    background: #fcfdff;
    padding-top: 130px;
    padding-bottom: 30px;
  }

  .hero_img {
    height: 280px;
    margin-bottom: 30px;
    box-shadow: 2px 1px 2px 2px rgba(10, 9, 9, 0.1);
  }

  .deteles_top {
    background: #dbaa14;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 6px;
    box-shadow: 2px 1px 2px 2px rgba(10, 9, 9, 0.1);
  }

  .deteles_top p {
    margin: 0;
    padding: 0;
    font-size: 17px;
    font-weight: 400;
  }

  .deteles_top p span {
    color: #073e96;
  }

  .deteles_item {
    margin-top: 30px;
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-bottom: 40px;
  }

  .detalis_img {
    width: 100%;
    height: 100%;
  }

  .deteles_item_right {
    padding: 20px 10px;
  }

  .deteles_item_right h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .author {
    font-size: 17px;
  }

  .short_dic {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    color: #086b28;
    flex-wrap: wrap;
  }

  .short_dic p {
    font-size: 16px;
    margin: 0;
    padding: 0;
  }

  .cart_dec p {
    padding: 0;
    margin: 0;
    padding-top: 10px;
    font-size: 15px;
  }

  .cart_dec .short_dic {
    display: none;
  }

  .cart_dec h3 {
    font-size: 15px;
    font-weight: 500;
  }

  .cart_dec p {
    font-size: 12px;
  }

  .cart_img {
    height: 120px;
    width: 120px;
  }

  /* .deteles_right{
        position: relative;
      } */

  .tab_cart_item h4 {
    font-size: 16px;
    font-weight: 600;
  }

  /* .border-button{
        width: 100%;
        height: 2px;
        background: #E0E0E0;
      } */

  .propuler_item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }

  .book_card {
    grid-template-columns: 1fr;
  }
  .brows_book_item {
    padding: 10px 10px;
  }

  .semelar_category_card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 10px;
  }

  .book_card_item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
}
