/*=============================
=        Root Colors         =
=============================*/
:root {
  --primary-color: #851c65;
  --header-gradient-start: #b11981;
  --header-gradient-end: #831c63;
  --text-color: #555555;
  --secondary-text-color: #a6a6a6;
  --price-color: #851c65;
  --card-border-color: #f4f4f4;
}

/*=============================
=       Global Styles        =
=============================*/
* {
  font-family: "Cairo", sans-serif;
  text-decoration: none;
  list-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  direction: rtl;
}
/* .flex.bar */

.flex.bar {
  background: linear-gradient(
    267.61deg,
    var(--header-gradient-start) 38.06%,
    var(--header-gradient-end) 96.12%
  );
}

.flex.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  height: 65px;
  padding: 0 20px;
}

.flex.bar ul,
.nav_left ul,
.nav_right ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.nav_bar_ {
  z-index: 99999;
}

a.dropdown-item.en_ar {
  float: inline-start !important;
  border: none;

  width: fit-content;
  text-align: end;
  background: #b11981;
  width: max-content;
  float: inline-end;
  border-radius: 5px;
  color: white;
  margin-top: -6px;
}

ul.dropdown-menu.show {
  padding: 0 !important;
}

a.dropdown-item.en_ar:hover {
  color: white !important;
  background: #b11981 !important;
  border-radius: 5px !important;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  -ms-border-radius: 5px !important;
  -o-border-radius: 5px !important;
}

ul.dropdown-menu.Translate_lang.show {
  background: none;
}

ul.dropdown-menu.show {
  border: navajowhite !important;
}

ul.dropdown-menu.trans.show {
  direction: rtl;
}

.flex.bar ul li svg,
.nav_right ul li svg {
  width: 20px;
  height: 20px;
  color: white;
}
.nav_bar_ {
  position: fixed;
  top: 0;
  width: 100%;
}
@media screen and (min-width: 992px) {
  ul.dropdown-menu.show {
    width: 146px;

    border-radius: 10px;
    border-width: 1px;
    border: 1px solid #d9d9d9;
    margin-top: 3vh;
  }

  a.dropdown-item {
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0%;
    border-bottom: 1px solid #d9d9d9;
  }

  a.dropdown-item:hover {
    border: 1px solid #851c65;
    background: #851c652e;

    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-width: 1px;
  }
}

/*  */

/* 00000000 */

.slider-container {
  position: relative;

  overflow: hidden;
}

.overlay {
  height: 373px;
  position: absolute;
  top: 0;
  z-index: 1;
}
section.slider_sec {
  border-radius: 5px;
}

.slider-content {
  position: absolute;
  z-index: 2;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;

  width: 90%;
  max-width: 700px;
}

.slider-content h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.slider-content p {
  font-size: 18px;
  margin-bottom: 25px;
}

.search-box {
  background: #fff;
  border-radius: 8px;
  display: flex;
  overflow: hidden;
  align-items: center;
  padding: 0 15px;
}

.search-box select,
.search-box input {
  border: none;
  padding: 12px;
  font-size: 16px;
  outline: none;
}

.search-box select {
  background: #fff;
}

.search-box input {
  flex: 1;
  direction: rtl;
}

.search-box button {
  padding: 12px 20px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.owl-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

/*=============================
=          Logo              =
=============================*/

.navbar-nav .dropdown-menu {
  text-align: right;
}

.icon-container {
  position: relative;
  margin-left: 15px;
  cursor: pointer;
  margin: 0;
}

.navbar-brand img {
  height: 40px;
}
/*  */
img.logo {
  width: 88px;
  height: 62px;
}

.loding {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2827274a;
  z-index: 99999999999;
}

.gift_card {
  width: 400px;

  border-radius: 20px;
  background: #ffffff;
  padding: 20px;
  position: relative;
}

.gift_img {
  height: 45vh;
  margin: 10px;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 10px;
}

#loding {
  display: none;
}

div#loding {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 25px;
}

.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.font-size-larger {
  font-size: larger !important;
}

.content {
  position: absolute;

  left: 30%;
  top: 35%;

  color: #fff;
  z-index: 1000;
}

.slider_c {
  border-radius: 5px;
  overflow: hidden;
  height: 373px;
  position: relative;
}

.content h1 {
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 33px;
  line-height: 26px;
  letter-spacing: 0%;
  text-align: right;
}

.content p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.search-box {
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8px 12px;
}

.search-box svg {
  margin-left: 8px;
}

.search-box input {
  border: none;
  padding: 8px;
  font-size: 16px;
  flex: 1;
  outline: none;
}

.carousel-indicators [data-bs-target] {
  background-color: #fff;
}

.carousel-item {
  height: 60vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

p {
  padding: 0;
  margin: 0;
}

/*=============================
=       Shop       =
=============================*/

/*=============================
=       General Button       =
=============================*/

.ptn,
button.login {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  background: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.ptn:hover,
button.login:hover {
  background: var(--primary-color);
  color: white;
}

.ptn:focus,
button.login:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(133, 28, 101, 0.2);
}

button.login a {
  color: var(--primary-color);
}

button.login:hover a {
  color: white;
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper .password_login {
  width: 100%;
  padding-right: 40px;
  /* مساحة للأيقونة */
}

.password-wrapper .toggle-eye {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #aaa;
}

/*=============================
=          Header            =
=============================*/

a.active_link {
  border-bottom: 2px solid #6b1e58 !important;
  color: #6b1e58 !important;
}

.nav_left ul li a:hover {
  color: var(--primary-color);
}

/*=============================
=          Library       ammar    =
=============================*/
.container_ {
  padding: 25px;
}

.card_chil {
  border: 1.5px solid var(--card-border-color);
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  background: white;
    position: relative;

}



.postar {
  height: 310px;
  border-radius: 2px;
  background: white no-repeat top center / cover;
  margin: auto;
  box-shadow: 0px 2px 2px 0px #00000033;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}

.titel.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px ;
}

.titel.flex .text {
  font-weight: 400;
  font-size: 18px;
  color: var(--text-color);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.titel.flex.text p,
p.text.text_price {
  font-size: 14px;
  color: var(--secondary-text-color);
}

p.price {
  font-size: 12px;
  color: var(--price-color) !important;
  text-align: right;
}

/*=============================
=        Pay Button          =
=============================*/
button.pay_now.ptn {
  width: 100%;

  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-color);
  background: var(--primary-color);
  color: white;
}

button.pay_now.ptn a {
  color: white;
}

/*=============================
=        Ads Section         =
=============================*/
.Ads_Sec {
  height: 256px;
  margin: 25px 0;
  background: no-repeat center center / cover;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
}

/*=============================
=      categories-section      =
=============================*/

.categories-section {
  padding: 3rem 1rem;
  max-width: 75%;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  color: #2d2d2d;
  margin-bottom: 2rem;
  font-size: 2.2rem;
}

.category-icon {
  width: 82px;
  height: 82px;

  border-width: 1px;
  background: teal;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #851c65;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background-size: cover;
  background-position: center center;
}

.category-card h3 {
  font-weight: 400;
  font-size: 16px;

  letter-spacing: 0%;
  color: #851c65;
}

.category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 10px;
}

a button.btn.btn-read.w-100 {
  color: white;
}
/*  */

h5.card-title {
  font-weight: 700;
  font-size: 18px;

  color: #851c65;
}

p.card-text {
  font-weight: 400;
  font-size: 18px;

  letter-spacing: 0%;
}

.card-img-top.cover {
  height: 270px;

  border-radius: 14px;
  background-position: center center;
  background-size: cover;
}

.card.h-100.text-center.p-3 {
  border: 1.5px solid #f4f4f4;
  border-radius: 14px;
  border-width: 1.5px;
  box-shadow: 0px 4px 4px 0px #f4f4f440;
}
.card.h-100.text-center.p-3 img {
  border-radius: 14px;
}

/* .card-body h5.card-title {
  text-align: right !important;
} */

@media screen and (max-width: 992px) {
  h5.card-title {
    font-size: small;
  }

  p.card-text {
    font-size: 14px;
  }
  .card-body {
    margin: 10px 0 !important;
  }
}
/*  */

/*=============================
=      Publishing House      =
=============================*/
.Publishing_House {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.Publishing_card {
  width: 199px;
  height: 164px;
  background: white;
  border: 1.5px solid #f4f4f4;
  box-shadow: 0px 4px 4px 0px #f4f4f440;
  border-radius: 14px;
  border-width: 1.5px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.Publishing_card img {
  width: 129px;
  height: 129px;
}
/*=============================
=       Author Section       ammar =
=============================*/
.Author_book {
  height: 293px;
  border-radius: 5px;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

.Author_text p {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  text-align: right;
  margin: 10px 0;
}

p.Author_data {
  font-size: 16px;
  color: #999999;
  text-align: right;
  line-height: 22px;
}

/*=============================
=      Favorite Books        =
=============================*/

.icon-container {
  position: relative;
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.icon-container svg {
  font-size: 22px;
  width: 22;
  height: 22px;
}

.nav_bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px 20px;
  position: relative;
}

.nav_left ul,
.nav_right ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0 !important;
}

.nav_left ul li,
.nav_right ul li,
.nav_left ul select {
  margin: 0 10px;
}

.logo {
  height: 40px;
}

.icon-container {
  position: relative;
  cursor: pointer;
}
.badge {
  position: absolute;
  background: #851c65;
  color: white;
  width: 13px;
  height: 13px;
  top: 12px;
  left: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 10px;
  line-height: 100%;
  letter-spacing: 0%;
}

.login a {
  text-decoration: none;
  color: white;
}

.login {
  background-color: black;
  color: white;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
}

/* Hamburger menu icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: black;
  margin: 4px 0;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav_left ul,
  .nav_right ul {
    position: absolute;

    right: 0;
    background-color: white;
    width: 100%;
    display: none;
    z-index: 1000;
    padding: 10px 0;
    border-top: 1px solid #ccc;
  }

  .nav_left ul.active,
  .nav_right ul.active {
    display: flex;
  }

  .nav_bar {
    flex-wrap: wrap;
  }

  .nav_right {
    width: 100%;
  }
}

/* eroooooor */
/*=============================
=           Footer           =
=============================*/
.footer-top {
  background-color: #6b1e58;
  color: white;
  text-align: center;
  padding: 40px 20px;
  background-image: url("../images/sec.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  height: 182.44140625px;
}

.footer-top h2 {
  font-size: 28px;
  margin-top: 20px;
}

.footer {
  display: grid;
  grid-template-columns: 4fr 7fr 1fr;
  gap: 20px;
  background-color: #f9f9f9;
  padding: 40px 20px;
  text-align: right;
  line-height: 2;
}

.grid_footer {
  display: flex;
  justify-content: space-between;
}

.footer-social {
  display: flex;
  align-items: center;
}
.footer .column {
  margin: 10px;
}

.footer h3 {
  color: #6b1e58;
  margin-bottom: 10px;
}

.footer a {
  color: #000;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer a:hover {
  color: #6b1e58;
}

.contact i {
  margin-left: 8px;
}

.footer-logo img {
  max-width: 120px;
  margin-bottom: 10px;
}

.footer-social {
  margin-top: 15px;
}

.footer-social i {
  font-size: 20px;
  margin: 0 10px;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-social i:hover {
  color: #6b1e58;
}

.footer .books-img {
  text-align: center;
  margin-top: 20px;
}

.footer .books-img img {
  width: 269px;
  height: 269px;
}

p {
}

.flex.foot {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  height: 65px;
  padding: 0 20px;
  background: linear-gradient(
    267.61deg,
    var(--header-gradient-start) 38.06%,
    var(--header-gradient-end) 96.12%
  );
}

@media (max-width: 768px) {
  .footer {
    display: block;
    text-align: center;
  }
  .Favorite_Books {
    grid-template-columns: repeat(2, 1fr);
  }
}

ul.list_flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.toggle.menu-toggle {
  width: 100%;
}
p.Vector {
  width: 25px;
  height: 25px;

  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #d9d9d9;
}

@media screen and (max-width: 992px) {
  body {
    overflow-x: hidden;
  }

  .Selections_quotes {
    flex-direction: column;
  }

  .Publishing_House {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .Library_card {
    grid-template-columns: 1fr 1fr;
  }
  .postar,
  .Author_book {
    height: 24vh;
  }

  .Author_book {
    height: 219px;
  }

  .Ads_Sec {
    height: 192px;
  }
  .footer-top {
    height: 10vh;
  }

  .Library_card,
  .Favorite_Books {
    gap: 10px;
  }


  

  /*p.Vector {*/
  /*  position: absolute;*/
  /*  top: 25px;*/
  /*  left: 25px;*/
  /*  border: 1px solid var(--primary-color);*/
  /*  background: var(--primary-color);*/
  /*}*/

  .Library_card {
    gap: 5px;
  }
  .container_ {
    padding: 15px;
  }

  .Selections_img img,
  .Selections,
  .Publishing_card {
    width: auto;
  }

  .Publishing_card {
    padding: 10px !important;
  }
  .category-item.col-6.col-md-3.col-lg-2.mb-3 {
    padding: 5px;
  }
  .Publishing_House {
    gap: 10px;
  }
  ul#nav-left-list {
    display: none;
  }

  .content {
    left: 0;
    top: 10%;
    color: #fff;
    z-index: 1000;
    padding: 20px;
  }
  .column.books-img {
    display: none;
  }
  .column.books-img {
    display: none;
  }

  .column {
    text-align: right;
  }
  .column.books-img {
    display: none;
  }

  .column {
    justify-content: start;
    text-align: right;
  }

  .grid_footer {
    display: flex;
    flex-wrap: wrap;
  }

  .column.footer-logo {
    display: flex;
  }

  .column.footer-logo .flex {
    display: block;
  }

  .footer-social {
    display: flex;
  }

  .Selections_quotes {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .Selections_quotes {
    gap: 10px;
  }
  ul.nav-right-list {
    display: flex;
    align-items: center;
  }
}

/*  */
.gift_card h2 {
  text-align: center;
  margin: 10px 0;
  font-family: Aref Ruqaa;
  font-weight: 700;
  /* font-size: 45px; */
  line-height: 155%;
  letter-spacing: 0%;
  text-align: center;
}
div#exit {
  padding: 10px;
  position: absolute;
  right: 35px;
  top: 40px;

  border: 1px solid white;

  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
}

a {
  text-decoration: none !important;
}

li.icon {
  display: flex;
  align-items: center;
}
/*  */
.pc {
  display: none;
}

@media screen and (max-width: 992px) {
  .pc {
    display: flex;
  }
  .d-flex.align-items-center.order-lg-last .login {
    display: none;
  }

  .categories-section {
    max-width: 100%;
  }
  .category-icon {
    width: 70px;
    height: 70px;
  }
}

.dropdown-item {
  width: fit-content;
}

.carousel-control-next,
.carousel-control-prev {
  display: none !important;
}

@media screen and (max-width: 992px) {
  .Library_card {
    grid-template-columns: repeat(3, 1fr);
  }
  section.shop_sec {
    gap: 10px;
  }
  .Selections_quotes {
    grid-template-columns: repeat(3, 1fr);
  }
  .flex.bar p {
    font-size: 12px;
  }

  .flex.bar ul li svg,
  .nav_right ul li svg {
    width: 18px;
    height: 18px;
  }
}

@media screen and (max-width: 767px) {
  .Library_card {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop_card {
    width: 138px;
    height: 90px;

    border-radius: 5px;
  }
  .Selections_quotes {
    grid-template-columns: repeat(2, 1fr);
  }

  .Selections_img img {
    width: 361px;
    height: 270px;
    box-shadow: 0px 4px 4px 0px #f4f4f440;
    border-radius: 14px;
    width: 157px;
    height: 143px;
    top: 2926px;
    left: 41px;
    border-radius: 14px;
  }
  .Selections {
    height: auto;
    border-radius: 14px;
    border-width: 1.5px;
    border: 1.5px solid #f4f4f4;
    text-align: center;
    width: auto;
    box-shadow: 0px 4px 4px 0px #f4f4f440;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
}

@media screen and (max-width: 420px) {
  .Library_card {
    grid-template-columns: repeat(2, 1fr);
  }
}

body {
  overflow-x: hidden !important;
}

.offcanvas {
  right: auto !important;
  left: 0 !important;
}

section#Header_ {
  position: fixed;
  z-index: 9999999;
  top: 0;
  left: 0;
  width: 100%;
}
main.container_ {
  margin-top: 20vh;
}

.offcanvas-header {
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* pages */
section.terms.and.condition {
  margin: auto;

  height: 365px;
  border-radius: 20px;
  background: url(../images/cover.jpg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.text_condition {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;

  background: #2827277a;
  color: white;
}

.text_condition h2 {
  /* font-family: Almarai; */
  font-weight: 700;
  font-size: 30px;
  line-height: 25px;
  letter-spacing: 0%;
  text-align: right;
  margin: 10px 0;
}

.path_link a,
.path_link p {
  /* font-family: Almarai; */
  font-weight: 400;
  font-size: 24px;
  line-height: 25px;
  letter-spacing: 0%;
  text-align: right;
  color: white;
}

.path_link a.active {
  color: #efc900;
}

.path_link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.block_titel {
  margin: 10vh 0;
}

.block_titel h2 {
  font-weight: 700;
  font-size: 24px;
  line-height: 25px;
  letter-spacing: 0%;
  text-align: right;
  border-right: 5px solid #851c65;
  padding-right: 10px;
}

.block_titel p {
  /* font-family: Almarai; */
  font-weight: 400;
  font-size: 24px;
  line-height: 35px;
  letter-spacing: 0%;
  text-align: right;
  color: black;
  margin: 20px 0;
}

@media screen and (max-width: 992px) {
  section.terms.and.condition {
    height: 25vh;
  }

  .block_titel p {
    font-size: 18px;
    line-height: 30px;
  }

  .block_titel {
    margin: 5vh 0;
  }
  p.price {
    font-size: 12px;
  }
}

.publisher-box {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.2s ease;
}

.publisher-box:hover {
  transform: scale(1.02);
}

.publisher-box img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

/* contact us */

.contact-section {
  padding: 50px;
}

.contact-info i {
  color: #6f1d55;
  margin-left: 5px;
}

.btn-send {
  background-color: #6f1d55;
  color: white;
  width: 100%;
}

.btn-send:hover {
  background-color: #5a1544;
}

.contact-box {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.btn-purple {
  background-color: #771854;
  color: white;
}

.btn-purple:hover {
  background-color: #5e1243;
}

.container.py-5 .text-masseg {
  /* font-family: Almarai; */
  font-weight: 400;
  font-size: larger;
  line-height: 25px;
  letter-spacing: 0%;
  /* text-align: right; */
  margin: 5vh 0;
}

h2.text-center.mb-3.text-primary {
  /* font-family: Almarai; */
  font-weight: 700;
  font-size: 36px;
  line-height: 25px;
  letter-spacing: 0%;
  /* text-align: right; */
  color: #851c65 !important;
}

.col-md-7 form input,
textarea {
  padding: 15px;
  background: none !important;
  border: none !important;
  outline: none !important;
  text-align: right;
}

.mb-3.d-flex.align-items-center {
  border-radius: 10px;
  border-width: 1px;
  border: 1px solid #f2f2f2;
  background: #f9f9f9;
  padding: 0 10px;
}

textarea#message {
  height: 276px;
  border: 1px solid #f2f2f2 !important;
  background: #f9f9f9 !important;
  border-radius: 10px;
}

button.btn.btn-send {
  width: 453px;

  padding: 15px;
  top: 1396px;
  left: 940px;
  border-radius: 10px;
  border-width: 1.5px;
  text-align: center;
  /* margin: auto; */
  background: #851c65;
  color: white;
}

button.btn.btn-send {
  /* font-family: Almarai; */
  font-weight: 700;
  font-size: larger;
  line-height: 100%;
  letter-spacing: 0%;
  /* text-align: right; */
}

p.titel_addres,
.col-md-5.mb-4.contact-info p,
.col-md-5.mb-4.contact-info a {
  /* font-family: Almarai; */
  font-weight: 400;
  font-size: large;
  line-height: 25px;
  letter-spacing: 0%;
  /* text-align: right; */
  color: #757575;
}

.d-flex span {
  font-weight: 400;
  font-size: large;
  line-height: 25px;

  color: #851c65;
}

h4.mb-4.fw-bold {
  /* font-family: Almarai; */
  font-weight: 700;
  font-size: 28px;
  line-height: 100%;
  letter-spacing: 0%;
  /* text-align: right; */
  margin-bottom: 5vh;
}

.row.box_shadow {
  border-radius: 20px;
  border-width: 1px;
  border: 1px solid #d9d9d9;
  box-shadow: 0px 4px 4px 0px #d9d9d963;
  padding: 25px;
  margin-top: 5vh;
}

.d-flex .d-flex,
.d-flex.gap {
  gap: 5px;

  display: flex;
  align-items: center;
}
.col-md-5.mb-4.contact-info .d-flex.align-items-center {
  margin: 10px 0;
}

@media screen and (max-width: 992px) {
  button.btn.btn-send {
    width: 100%;
    font-size: large;
    height: 50px;
    margin-bottom: 5vh;
  }

  p.text-center.mb-4.text-masseg {
    font-size: larger;
  }

  .d-flex span {
    font-size: larger;
  }

  p.titel_addres,
  .col-md-5.mb-4.contact-info p,
  .col-md-5.mb-4.contact-info a {
    font-size: large;
  }

  .col-md-5.mb-4.contact-info .d-flex.align-items-center {
    display: block !important;
    margin: 20px 0;
  }

  .d-flex .d-flex,
  .d-flex.gap {
    display: block;
    justify-content: flex-start;
  }
  h4.mb-4.fw-bold {
    margin: 0 !important;
    font-size: larger;
  }

  .row.box_shadow {
    padding: 25px 10px;
  }
}
/* contact us */

/*  */

.card-title {
  font-weight: bold;
}

.btn-read {
  background-color: #6f42c1;
  color: #fff;
}

.btn-read:hover {
  background-color: #5936a7;
}

.pagination .page-link {
  color: #851c65;
}

.pagination .active .page-link {
  background-color: #851c65;
  border-color: #851c65;
  color: white;
}

.card-img-top {
  height: 362px;
  top: 644px;
  left: 629px;
  border-radius: 5px;
  border-width: 1px;
  background: url(../images/blog.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}

h5.card-title {
  /* font-family: Almarai; */
  font-weight: 700;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: 0%;
  color: #851c65;
}

p.card-text {
  color: #444444;
}

.page-link.active {
  background: #851c65 !important;
  color: white !important;
  background: #851c65 !important;
}

button.btn.btn-read.w-100 {
  background: #851c65;
  margin-top: 3vh;
}

button.btn.btn-read.w-100 a {
  color: white;
}

span.card-date {
  font-weight: 400;
  font-size: 14px;
  line-height: 25px;
  letter-spacing: 0%;

  color: #757575;
}

/*  */
body {
  background-color: #f8f9fa;
}

.card-title {
  font-weight: bold;
}

.btn-read {
  background-color: #6f42c1;
  color: #fff;
}

.btn-read:hover {
  background-color: #5936a7;
}

.pagination .page-link {
  color: #851c65;
}

.pagination .active .page-link {
  background-color: #851c65;
  border-color: #851c65;
  color: white;
}

.card-img-top {
  height: 362px;
  top: 644px;
  left: 629px;
  border-radius: 5px;
  border-width: 1px;
  background: url(../images/blog.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}

h5.card-title {
  /* font-family: Almarai; */
  font-weight: 700;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: 0%;
  text-align: right;
  color: #851c65;
}

p.card-text {
  color: #444444;
}

button.btn.btn-read.w-100 {
  background: #851c65;
  margin-top: 3vh;
}

button.btn.btn-read.w-100 a {
  color: white;
}

span.card-date {
  font-weight: 400;
  font-size: 14px;
  line-height: 25px;
  letter-spacing: 0%;

  color: #757575;
}

.d-flex.justify-content-between.mb-1 h2 {
  font-weight: 700;
  font-size: 30px;
  line-height: 55px;
  letter-spacing: 0%;
  text-align: right;
  color: #851c65;
}

.d-flex.justify-content-between.mb-1 h2 {
  border: none;
}

.blog_cover {
  height: 582px;

  border-radius: 5px;
  border-width: 1px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media screen and (max-width: 992px) {
  .block_titel p {
    font-weight: 300;
    font-size: large;
    line-height: 30px;
    letter-spacing: 0%;
    /* text-align: right; */
  }
  .card-img-top.cover {
    height: 25vh;
  }

  .card-body {
    padding: 5px;
  }
}

@media screen and (max-width: 575.98px) {
  .author-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .card-img-top.cover {
    height: 15vh;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .author-col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .author-col {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .author-col {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

@media (min-width: 1200px) {
  .author-col {
    flex: 0 0 20%;
    max-width: 20%;
  }
}


.page-item:last-child .page-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 24px;
  line-height: 25px;
  letter-spacing: 0%;
  text-align: right;
}

.d-flex.align-items-center .d-flex svg,
.d-flex.gap svg {
  width: 20px;
  height: 20px;
}

ul.pagination {
  gap: 10px;
}

@media (max-width: 992px) {
  div#mainNavbar {
    width: fit-content;
    right: 0 !important;
  }
}

@media (max-width: 768px) {
  .row.box_shadow {
    flex-direction: column-reverse;
  }
}

/*
edit Home Page
*/

/* === Carousel Wrapper === */
.carousel-wrapper {
  position: relative;
  padding: 0 !important;
  max-width: 1200px;
  margin: 0 auto;
  direction: ltr !important;
  overflow: hidden;
}

.owl-carousel {
  position: relative;
}

.owl-nav {
  position: absolute;
  top: 30%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.owl-theme .owl-nav [class*="owl-"] {
  color: #fff;
  font-size: 14px;
  z-index: 99999999999 !important;
  margin: -15px !important;
  padding: 4px 7px;
  background: #d6d6d6;
  display: inline-block;
  cursor: pointer;
  border-radius: 3px;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
  background: white !important;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: xxx-large !important;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  -ms-border-radius: 50% !important;
  -o-border-radius: 50% !important;
}
.owl-nav button.owl-prev,
.owl-nav button.owl-next {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 1.8rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  cursor: pointer;
  transition: background 0.3s;
}

.owl-nav button.owl-prev:hover,
.owl-nav button.owl-next:hover {
  color: black !important;
}

.item {
  text-align: center;
  color: white;
  border-radius: 8px;
  font-size: 24px;
  display: flex;
  justify-content: center;
}

.owl-dots {
  display: none;
}

/* === Search Section === */
.search-container {
  background-color: white;
  border-radius: 6px;
  padding: 0.5em 1em;
  display: flex;
  align-items: center;
  width: 734px;
  max-width: 734px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.search-container input {
  border: none;
  font-size: 1em;
  padding: 0.7em;
  width: 100%;
  outline: none;
  direction: rtl;
}

.search-icon {
  margin-right: 10px;
  font-size: 1.2em;
  color: gray;
}

.block_search {
  text-align: right;
}

.block_search h1 {
  margin: 20px 0 0;
  font-weight: 400;
  font-size: 33px;
  line-height: 26px;
  text-align: right;
}

.block_search p {
  margin: 10px 0;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  text-align: right;
}

aside.aside_slider {
  margin-top: 20vh;
  padding: 25px;
}

/* === Carousel Image + Overlay === */
.carousel-image {
  height: 373px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.overlay-content {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.position_slider {
  height: 373px;
  margin-bottom: 1vh;
  overflow: hidden;
  border-radius: 5px;
}

/* === Categories === */
section.categories {
  width: 80%;
  margin: auto;
}

.category-item {
  text-align: center;
  margin: 0;
  padding: 0;
  width: fit-content;
}

.owl-carousel .owl-item .category_img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #7b4c74;
  display: block;
  margin: 0 auto;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
  background: none;
  color: black;
}

@media screen and (max-width: 767px) {
  .owl-carousel .owl-item .category_img {
    width: 60px;

    height: 60px;
  }
}

.category-item span {
  display: block;
  margin-top: 5px;
  color: #7b4c74;
  font-weight: bold;
  font-size: 14px;
}

/* === Paner Section === */
.paner {
  background-size: contain;
  background-repeat: no-repeat;
}

section.paner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.paner_img {
  width: 331px;
  height: 159px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* === Publishing Card === */
.Publishing_card {
  padding: 25px;
}

.Publishing_card img {
  border: navajowhite;
  border-radius: 6px;
}

.sections-containt-library {
  cursor: pointer;
  background-image: url(../images/paner_img2.png);
  height: 200px;
  width: 100%;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.sections-containt-shopping {
  cursor: pointer;
  background-image: url(../images/paner_img3.png);
  height: 200px;
  width: 100%;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.sections-containt-calendar {
  cursor: pointer;
  background-image: url(../images/paner_img1.png);
  height: 200px;
  width: 100%;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.sections-containt.sections-containt-library.p-3.text-right.en_tree {
  background-image: url(../img_en/paner_img2.png) !important;
}

.sections-containt.sections-containt-shopping.p-3.text-right.en_tow {
  background-image: url(../img_en/paner_img3.png) !important;
}

.sections-containt.sections-containt-calendar.p-3.text-right.en_one {
  background-image: url(../img_en/paner_img1.png) !important;
}

@media (min-width: 320px) and (max-width: 991px) {
  .sections-containt.sections-containt-library.p-3.text-right.en_tree {
    background-image: url(../img_en/one.png) !important;
  }

  .sections-containt.sections-containt-calendar.p-3.text-right.en_one {
    background-image: url(../img_en/toww.png) !important;
  }

  .sections-containt.sections-containt-shopping.p-3.text-right.en_tow {
    background-image: url(../img_en/tre.png) !important;
  }
}

/*  */
@media (min-width: 320px) and (max-width: 991px) {
  .sections-containt-calendar {
    background-image: url(../images/1one.png) !important;
    height: 80px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
  }

  .sections-containt-shopping {
    background-image: url(../images/tree.png) !important;
    height: 80px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
  }

  .sections-containt-library {
    background-image: url(../images/tow.png) !important;
    height: 80px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
  }

  .sections-containt-membership,
  .sections-containt-saudishopping {
    height: 80px;
    background: blue;
  }
}

/* === Author Columns === */
.author-col {
  flex: 0 0 50%;
}

@media (min-width: 768px) {
  .author-col {
    flex: 0 0 33.3333%;
  }
}

@media (min-width: 992px) {
  .author-col {
    flex: 0 0 20%;
  }
}

/* === Responsive === */
@media screen and (max-width: 992px) {
  section.Library .row .col-lg-3.col-md-4.col-6.mb-4 {
    padding: 5px;
  }

  aside.aside_slider {
    margin-top: 15vh;
    padding: 0;
  }

  .search-container {
    width: 100%;
  }

  .block_search {
    text-align: center;
  }

  .block_search h1,
  .block_search p {
    text-align: center;
  }

  .block_search h1 {
    font-size: 20px !important;
  }

  .block_search p {
    font-size: 14px;
  }

  .overlay-content,
  section.position_slider {
    border-radius: 0 !important;
  }

  section.categories {
    width: 100%;
  }

  .card-body {
    padding: 5px !important;
  }

  .Ads_Sec {
    height: 192px !important;
  }
}

@media screen and (max-width: 767px) {
  .paner_img {
    width: 138px;
    height: 90px;
    border-radius: 5px;
  }

  .paner_img.three {
    background-image: url(../images/tree.png) !important;
  }

  .paner_img.tow {
    background-image: url(../images/tow.png) !important;
  }

  .paner_img.one {
    background-image: url(../images/1one.png) !important;
  }
  /* en */

  .paner_img.three {
    background-image: url(../img_en/tree.png) !important;
  }

  .paner_img.tow {
    background-image: url(../img_en/tow.png) !important;
  }

  .paner_img.one {
    background-image: url(../img_en/1one.png) !important;
  }

  section.paner {
    gap: 0;
  }

  section.paner {
    padding: 0 5px;
  }

  .carousel-image {
    background-position: left;
  }

  section.shop_sec {
    height: 6vh;
  }

  .Ads_Sec {
    background-size: contain !important;
  }
  .Ads_Sec {
    height: 100px !important;
  }
}

@media screen and (max-width: 320px) {
  p.price {
    font-size: smaller !important;
  }

  .Ads_Sec {
    height: 130px !important;
  }

  .card-img-top.cover {
    height: 110px;
  }

  .col-6.col-md-6.col-lg-3 {
    padding: 2px;
  }

  .row.g-4.mobil {
    --bs-gutter-y: 5px;
  }
}

/* login */
.cover_login {
  height: 612px;
  border-width: 1px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  background: url(../images/login.jpg);
  background-position: center center;
  background-size: cover;
}
.cover_login.cover_login_sign_up {
  height: 100%;
}

form.login_form {
  margin-top: 5vh;
}

form.login_form button.btn.btn-send {
  width: 80%;
  margin-bottom: 0;
}

a.text-primary {
  color: #851d65 !important;
}

form.login_form .text-center span {
  color: black !important;
}

.col-md-5.mb-4.contact-info {
  padding: 0;
  margin: 0 !important;
}

.container.py-5 .row.box_shadow {
  padding: 0;
}

@media screen and (max-width: 767px) {
  .cover_login {
    display: none;
  }
}
/* login */

/* cart_page */

.product-image {
  width: 130px;
  height: 167px;
  border-radius: 9px;
  background-size: cover;
  background-position: center center;
  margin-inline-end: 0.5rem;
  /* بديل عن me-2 */
}

.price {
  color: #800f4f;
}

.summary {
  background-color: #f7f7f7;
  padding: 1rem;
  margin-top: 2rem;
}

.btn-add {
  background-color: #800f4f;
  color: white;
}

.col-2.d-flex.align-items-center {
  width: 130px;
  height: 167px;
  border-radius: 9px;
  background: red;
  position: relative;
  top: 877px;
  left: 1447px;
}

thead.table-cart.text-muted.fw-bold th {
  text-align: right;
  padding: 0;
  font-weight: 400;
  line-height: 25px;
}

tbody.tbody_cart td {
  padding: 0;
}

.input-group {
  width: 95px !important;
  border: 1px solid #ccc;
  border-radius: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  padding: 5px;
}

button.btn_plus {
  width: 25px;
  height: 25px;
  border: 1px solid #ccc;
  border-radius: 50% !important;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
button.btn_plus:hover {
  color: black;
}

input.form-control.text-center {
  padding: 0 !important;
  margin: 0 !important;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mb-4.d-flex.w-75 {
  margin: 5vh auto;
}

input.coupon {
  padding: 15px;
  width: 100%;
  border: none;
}

button.btn.btn-add.px-4.me-2 {
  border-radius: 5px 0 0 5px;
  padding: 18px;
  margin-right: -13px !important;
  background-color: #800f4f;
  color: white;
}

button.btn.btn-add.px-4.me-2:hover {
  background-color: #800f4f;
  color: white;
}

.col-3.col-md-2.mb-2.mb-md-0 {
  display: flex;
  align-items: center;
}

button.delet {
  background: none;
  border: none;
  cursor: pointer;
}

span.span_titel {
  color: #800f4f;
}

.summary p {
  line-height: 3;
  text-align: left;
}

button.pay_now.ptn.w-75.mt-3 {
  width: 25% !important;
  padding: 20px 10px !important;
  margin: 5vh auto 0 auto !important;
  display: block;
}

.block_input.form-control.coupon {
  display: flex;
  align-items: center;
}

input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

button.pay_now.ptn.w-75.mt-3.next_pay {
  height: auto !important;
}

@media screen and (max-width: 992px) {
  .summary p {
    display: flex;
    align-items: center;
    line-height: 3;
    gap: 10px;
  }

  button.pay_now.ptn.w-75.mt-3 {
    width: 50% !important;
    padding: 20px !important;
  }
}

.alert-card.error-card,
.alert-card.success-card {
  height: 30vh;

  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

button.close-btn {
  border: 1px solid;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.alert-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px 25px;
  max-width: 420px;
  width: 90%;
  position: relative;
  text-align: center;
  border-right: 5px solid;
}

.alert-card .icon svg {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

.alert-card .message {
  font-size: 18px;
  font-weight: 500;
  color: #333;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #888;
}

@media screen and (max-width: 420px) {
  .mb-4.d-flex.w-75.align-items-center {
    width: 100% !important;
  }
  .input-group {
    width: 75px !important;
  }
  .row.border-top.py-3.align-items-center.cart-item
    .col-3.col-md-2.mb-2.mb-md-0 {
    width: auto !important;
  }
}

/* cart_page */

/* Chackout */
form.chackout_form input,
form.chackout_form select {
  padding: 15px;
  margin-top: 2vh;
  text-align: right;
}

textarea.form-control {
  height: 20vh;
  margin-top: 2vh;
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: 1px solid #dee2e6 !important;
  border-radius: var(--bs-border-radius);
  appearance: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.bg-white.rounded.Chackout_box_card {
  border-radius: 14px !important;
  background: #f9f9f9 !important;
}

.summary_Chackout p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.summary.summary_Chackout {
  margin-top: 10px;
}

button.pay_now.ptn.p-3.Chackout {
  padding: 25px !important;
}

@media screen and (max-width: 767px) {
  .row.responsive_row {
    flex-direction: column-reverse;
  }

  .bg-white.rounded.Chackout_box_card {
    border-radius: 0 !important;
    background: white !important;
  }

  section.terms.and.condition {
    height: 20vh;
  }
}
/* Chackout */
/* book_Categories */

/* === Buttons === */
button.pay_now.ptn.edit_free {
  background: #f4e6ef;
  color: #851d65;
}

.filter-button,
button.btn.filter-button.w-100 {
  background-color: #741e5e !important;
  color: white !important;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  justify-content: center;
}

.filter-button:hover {
  background-color: #5c174b;
}

/* === Dropdowns === */

.ul_filter {
  position: static !important;
  transform: none !important;
  box-shadow: none;
  margin-top: 0.25rem;
}

button.d-flex.align-items-center.justify-content-between.dropdown-toggle.btn.btn-outline-secondary.w-100::after {
  display: none !important;
}

ul.dropdown-menu.w-100.ul_filter.show {
  margin-top: 1vh !important;
  border: 1px solid #c1c1c1 !important;
}
/* === Responsive Dropdown for Mobile === */
@media screen and (max-width: 992px) {
  .dropdown-menu.w-100.p-3.shadow.rounded-3.show {
    position: fixed !important;
    z-index: 999999999;
    width: 100%;
    left: 0;
    height: 100vh;
    top: 0;
    background: white;
    overflow: hidden;
    border-radius: 0 !important;
    padding: 0 !important;
  }
}

/* === Responsive Filter Visibility === */
@media (min-width: 768px) {
  .dropdown-mobile {
    display: none;
  }

  .filter-box-desktop {
    display: block;
  }
}

@media (max-width: 767.98px) {
  .dropdown-mobile {
    display: block;
  }

  .filter-box-desktop {
    display: none;
  }
}

/* === Modal === */
.modal-header,
.modal-footer {
  justify-content: center;
}

.modal-title {
  color: #80005e;
  font-weight: bold;
}

.upload-area {
  border: 2px dashed #ccc;
  text-align: center;
  padding: 40px 20px;
  color: #888;
  cursor: pointer;
}

.upload-area:hover {
  background-color: #f8f8f8;
  color: black !important;
}

.btn-save {
  background-color: #80005e !important;
  color: white !important;
  width: 50%;
}

.modal-content form input,
.modal-content form select {
  padding: 15px;
  margin-top: 2vh;
}

div#editModal {
  z-index: 999999999999999999;
  position: fixed;
  top: 0;
  background: #0000004a;
}

.modal-content {
  border-radius: 10px;
}

/* === Search Button === */
.search_book {
  background: #851c65 !important;
  color: white !important;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Others === */
.bg-filter {
  background: #741e5f33;
}

.d-flex.align-items-center.gap-2.mb-3.border-0.bg-none {
  background: none;
  color: #741e5f !important;
}

.d-flex.align-items-center.gap-2.mb-3.border-0.bg-none svg {
  fill: #741e5f !important;
}

.nav_filter.d-flex.align-items-center.justify-content-between {
  background: #851c652e;
  padding: 0 15px;
}

.nav_filter.d-flex.align-items-center.justify-content-between
  button.btn.filter-button.w-100
  svg {
  color: #741e5f;
  fill: #741e5f;
}

h5#editModalLabel {
  font-size: large;
}
button.btn.btn-outline-secondary.dropdown-toggle.w-100:hover {
  color: black !important;
}

ul.dropdown-menu.w-100.ul_filter.show {
  padding: 0;
}

a.dropdown-item.hover_items_ptn:hover,
a.dropdown-item.hover_items_ptn:hover {
  color: #741e5e !important;
  border-bottom: 8px solid #741e5e !important;

  border: 1px solid #851c65;
  background: #851c652e;

  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-width: 1px;
}

button.d-flex.align-items-center.justify-content-between.dropdown-toggle.btn.btn-outline-secondary.w-100.selected {
  background-color: #ff000000 !important;
}

@media screen and (max-width: 767px) {
  .modal-dialog.modal-dialog-centered.modal-lg {
    padding: 0 !important;
    margin: 0 !important;
  }

  .menu_filter {
    height: 100%;
    border-radius: 0;
  }

  .modal-header.border-0.justify-content-between {
    background: #741e5f33;
    border-radius: 0;
  }
}

button.btn.filter-button.d-flex.align-items-center.justify-content-center.gap-2.ptn_filter {
  background: none !important;
  border: 2px solid #741e5e;
  color: #741e5e !important;
}

@media screen and (max-width: 992px) {
  form.container.form_Categories_book input {
    margin-bottom: 2vh;
    margin-top: 2vh;
  }
}

/* book_Categories */

/* boook */
p.Vector.Vectorـdetails {
  position: absolute;
  left: 0;
  top: 0vh;
}

.d-flex.align-items-center.justify-content-between.d-none.d-sm-block.position-reltev {
  position: relative;
}

@media screen and (max-width: 992px) {
  p.Vector.Vectorـdetails {
    position: static;
    left: 0;
    top: 0vh;
  }

  .col-lg-3.col-md-4.col-sm-6.col-6.d-block.d-sm-none.book-image {
    display: grid !important;
    grid-template-rows: 7fr 1fr !important;
    margin: 0;
  }
}
/* bookkkkk */

ul.dropdown-menu.trans.Translate_lang.show {
  display: flex;
  background: no-repeat;
}
/*  */
button.custom-outline-btn.btn.btn.pay_now.ptn.d-flex.align-items-center.gap-3.p-3 {
  background: no-repeat;
  color: #851d65;
}

h4.text-dark {
  font-size: larger;
  color: #851d65 !important;
}

span.text-muted.fs-6 {
  color: #a6a6a6;
  font-weight: 300;
}
.book-image.me-2 {
  height: 45vh;
  background-position: center center;
  border-radius: 10px;
}

p.Vector.Vectorـdetails {
  position: absolute;
}

main.container_.mt-5 {
  margin-top: 12vh !important;
}

@media screen and (max-width: 767px) {
  .book-image.me-2 {
    height: 28vh;
  }
  h4.text-dark.mb-2 {
    font-size: small;
  }
  p.Vector.Vectorـdetails {
    position: revert-layer;
  }
}

@media screen and (max-width: 992px) {
  .d-flex.align-items-center.justify-content-between.d-none.d-sm-block.position-reltev,
  .col-12.col-md-2.d-none.d-sm-block,
  p.text-muted.mb-2.d-none.d-sm-block {
    display: none !important;
  }
  section.paner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    overflow: hidden;
  }
}
/*  */

/* index */
.row.g-4.d-flex.flex-wrap.container.m-auto {
  padding: 0 !important;
}

.card_book_ui.author-col {
  padding: 5px;
}

section.Library ul li:first-child,
section.quotes ul li:first-child,
section.Publishing.House ul li:first-child,
section.Favorite ul li:first-child {
  font-size: larger;
}
/*  
*/
@media screen and (max-width: 992px) {
  .book-image.me-2 {
    height: 30vh;
  }

  .col-lg-3.col-md-4.col-sm-6.col-6.d-block.d-sm-none.book-image {
    display: none !important;
  }

  .d-flex.align-items-center.justify-content-between.d-none.d-sm-block.position-reltev,
  .col-12.col-md-2.d-none.d-sm-block,
  p.text-muted.mb-2.d-none.d-sm-block {
    display: block !important;
  }
}

@media screen and (max-width: 767px) {
  .d-flex.align-items-center.justify-content-between.d-none.d-sm-block.position-reltev,
  .col-12.col-md-2.d-none.d-sm-block,
  p.text-muted.mb-2.d-none.d-sm-block {
    display: none !important;
  }

  .col-lg-3.col-md-4.col-sm-6.col-6.d-block.d-sm-none.book-image {
    display: grid !important;
    padding: 20px !important;
  }

  .postar,
  .Author_book {
    height: 241px;
  }

  .titel.flex.text p {
         font-size: x-small !important;
  }


}
/* 
 */

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

@media (max-width: 576px) {
  .card_book_ui:nth-child(5) {
    display: none !important;
  }
}

@media screen and (max-width: 767px) {
  .postar,
  .Author_book {
    height: 242px;
    height: 255px !important;
    object-fit: contain;
    border-radius: 3px;
  }
}

/*@media screen and (max-width: 992px) {*/
/*  .postar,*/
/*  .Author_book {*/
/*    height: 242px;*/
/*    height: 255px !important;*/
/*    object-fit: contain;*/
/*    border-radius: 3px;*/
/*    margin: 10px 0;*/
/*  }*/
/*}*/

@media screen and (max-width: 992px) {
  .postar,
  .Author_book {
    height: 242px;
    height: 255px !important;

    object-fit: contain;
    border-radius: 3px;
  }

  .d-flex.align-items-center.flex_phone {
    flex-direction: column-reverse;
    gap: 0;
    margin: 0;
  }
}

p.text.text_price {
  text-decoration: line-through;
}

.titel.flex.text {
  margin: 10px 0 !important;
}

.row.mt-3.align-items-center.mb-3 {
  align-items: start !important;
}

.col-6.col-md-6.d-flex.justify-content-between.phone_RE {
  gap: 0;
}

.col-6.col-md-6.d-flex.justify-content-between.phone_RE p {
  margin: 0 !important;
  padding: 0 !important;
}
@media screen and (max-width: 992px) {
  .col-6.col-md-6.d-flex.justify-content-between.phone_RE {
    flex-direction: column-reverse;
  }

  .col-6.col-md-6.d-flex.justify-content-between.phone_RE {
    flex-direction: column-reverse;
    padding: 0;
    margin: 0;
  }
  p.price.mb-1 {
    font-size: 18px;
  }
  .price.font-size-larger {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price.font-size-larger p {
    font-size: medium !important;
}
}

.card_book_ui.author-col {
  position: relative;
}

.svg_sall {
  position: absolute;
  color: white;
  transform: rotate(42deg);
  font-weight: 700;
  /* text-align: center; */
  width: max-content;
  margin-left: 35px;
  margin-top: 20px;
}

.img_svg {
  width: 110px;
  height: 110px;
  display: flex;
  /* align-items: center; */
  justify-content: center;
  position: absolute;
top: -13px;
    right: -16px;
}

.row.mt-3.align-items-center.mb-3 {
    justify-content: space-evenly;
    align-items: center;
}



.price.font-size-larger.text-end {
    display: flex;
    align-items: center;
    font-size: xx-small;
    justify-content: space-evenly;
}


.price.font-size-larger.text-end p {
    font-size: medium !important;
}


p.mb-1 {
    margin-bottom: 0 !important;
}


.price.font-size-larger.text-end p {
    /* color: red !important; */
    font-size: medium !important;
    font-weight: normal !important;
}
.titel.flex.mb {
    margin: 10px 0;
}

@media screen and (max-width: 767px) {
  .card_chil {
    padding: 15px 10px !important;
  }
  .card_book_ui.author-col {
    padding: 2px;
}
}


.item.book-image.me-2 {
    background-size: contain;
    background-repeat: no-repeat;
}


button.Vector {

    border: none;
    background: #eee;
    padding: 4px 6px;
    border-radius: 50%;
    cursor: pointer;
}



