:root {
  --theme-primary: #683d9d;
  --theme-primary-rgb: 104, 61, 157;

  --theme-secondary: #ffc232;
  --theme-secondary-rgb: 255, 194, 50;

  --theme-soft: #f8f5fc;
  --theme-text: #241b2f;
  --theme-muted: #6f6878;
  --theme-border: #e8e2ef;

  --theme-white: #fff;
  --theme-radius: 10px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  color: var(--theme-text);

}

a{
    text-decoration: none !important;

  }
  p{
    margin-bottom: 0px !important;
  }
a {
  text-decoration: none;
  color: inherit;
}
.breadcrumb {
  font-size: 0.8rem;
}
.breadcrumb a {
  color: var(--theme-primary);
}
.breadcrumb-item.active {
  color: var(--theme-muted);
}
.page-banner {
  /* height: 300px; */
  /* border-radius: var(--theme-radius); */
  overflow: hidden;
  /* background: var(--theme-soft) url("assets/banner.jpg") center/cover no-repeat; */
}
.page-banner img {
  display: block;
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  max-width: 100%;
}
.section-pad {
  padding: 2.2rem 0;
}
.section-title {
  text-align: center;
  margin-bottom: 1.3rem;
}
.section-title h1,
.section-title h2 {
  font-size: 1.45rem;
  font-weight: 800;
}
.section-title p {
  color: var(--theme-muted);
  margin: 0;
}
.section-heading {
  display: grid;
 grid-template-columns: repeat(3, 1fr);
  align-items: center;
  margin-bottom: 1rem;
}
.section-heading h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  grid-column: 2;
  text-align: center;
}
.section-heading a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--theme-primary);
  /* margin-right: auto; */
  text-align: end;
}
.sub-title {
  font-size: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.sub-title:before,
.sub-title:after {
  content: "";
  height: 1px;
  background: var(--theme-border);
  flex: 1;
}
.category-card {
  display: block;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  background: #fff;
  text-align: center;
  padding: 0.75rem 0.4rem 1rem;
  transition: 0.2s;
  height: 100%;
}
.category-card:hover {
  transform: translateY(-4px);
  color: var(--theme-text);
  border-color: var(--theme-secondary);
  box-shadow: 0 9px 25px rgba(12, 31, 65, 0.08);
}
.category-card img {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin: 0 auto 0.55rem;
}
.category-card b {
  display: block;
  font-size: 0.8rem;
}
.category-extra {
  display: none;
}
.btn-primary-custom {
  background: var(--theme-primary);
  color: #fff;
  border: 0;
}
.btn-primary-custom:hover {
  background: rgba(var(--theme-primary-rgb), 0.9);
  color: #fff;
}
.request-banner {
  display: grid;
  grid-template-columns: 145px 1fr 220px;
  align-items: center;
  gap: 25px;
  padding: 16px 25px;
  border: 1px solid rgba(var(--theme-secondary-rgb), 0.45);
  border-radius: var(--theme-radius);
  background: linear-gradient(
    90deg,
    var(--theme-soft),
    var(--theme-white)
  );
}

.request-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.request-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s;
}

.search-btn {
  color: var(--theme-white);
  background: var(--theme-primary);
}

.search-btn:hover {
  color: var(--theme-secondary);
  background: var(--theme-primary);
}

.request-book-btn {
  color: var(--theme-primary);
  background: var(--theme-secondary);
}

.request-book-btn:hover {
  color: var(--theme-white);
  background: var(--theme-primary);
}

.request-content {
  text-align: center;
}

.request-content h2 {
  margin-bottom: 9px;
  color: var(--theme-primary);
  font-size: 18px;
  font-weight: 800;
}

.request-content p {
  margin-bottom: 6px;
  color: var(--theme-text);
  font-size: 12px;
}

.request-content span {
  color: var(--theme-muted);
  font-size: 11px;
}

.request-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.request-image img {
  width: 170px;
  /*height: 110px;*/
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .request-banner {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px;
  }

  .request-actions {
    order: 3;
  }

  .request-content {
    order: 2;
  }

  .request-image {
    order: 1;
  }

  .request-image img {
    width: 120px;
    height: 100px;
  }
}
.owl-carousel {
  direction: ltr;
}
.owl-carousel .item {
  direction: rtl;
  padding:5px;
}
.product-card {
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  background: #fff;
  padding: 0.7rem;
  height: 100%;
  transition: 0.2s;
  display: block;
  border-radius:15px;
}
.product-card:hover {
  box-shadow: 0 10px 30px rgba(10, 28, 58, 0.1);
}
.book-cover {
  height: 185px;
  margin-bottom: 0.8rem;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  /* box-shadow: -7px 5px 10px rgba(0, 0, 0, 0.12); */
  position: relative;
  overflow: hidden;
}

.book-cover img{
  height: 100%;
  object-fit: contain;
  max-width: 100%;
   transition:.5s ease;
}
.product-card:hover img{
  transform:scale(1.1);
  transition:.5s ease;
}
.book-cover:before {
  content: "";
  position: absolute;
  right: 8px;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
}
 
.product-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card p {
  font-size: 0.7rem;
  color: var(--theme-muted);
  margin-bottom: 0.55rem;
}
.product-card strong {
  font-size: 0.78rem;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.add-cart {
  width: 31px;
  height: 31px;
  padding: 0;
  border-radius: 50%;
  background: var(--theme-primary);
  color: #fff;
}
.add-cart:hover {
  background: var(--theme-secondary);
  color: var(--theme-primary);
}
.owl-theme .owl-nav {
  position: absolute;
  right: 0;
  top: -50px;
  margin: 0;
  display: flex;
  gap: 6px;
}
.owl-theme .owl-nav button.owl-prev,
.owl-theme .owl-nav button.owl-next {
  width: 31px;
  height: 31px !important;
  margin: 0 !important;
  border: 1px solid var(--theme-border) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--theme-primary) !important;
  font-size: 1.3rem !important;
  line-height: 24px !important;
}
.owl-theme .owl-dots {
  display: none;
}
.promo-row a {
  background: var(--theme-primary);
  color: #fff;
  border-radius: var(--theme-radius);
  padding: 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.1rem 0.8rem;
  min-height: 78px;
}
.promo-row i {
  grid-row: 1/3;
  font-size: 2.2rem;
  color: var(--theme-secondary);
}
.promo-row small {
  opacity: 0.75;
}
.benefits {
  background: var(--theme-primary);
  color: #fff;
  border-radius: var(--theme-radius);
  padding: 1.2rem 1rem;
  text-align: center;
}
.benefits h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.benefits .col {
  padding: 0.6rem;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}
.benefits .col:last-child {
  border-left: 0;
}
.benefits i {
  color: var(--theme-secondary);
  font-size: 1.8rem;
  display: block;
}
.benefits b,
.benefits small {
  display: block;
}
.benefits b {
  font-size: 0.78rem;
  margin-top: 0.35rem;
}
.benefits small {
  font-size: 0.65rem;
  opacity: 0.68;
}
.guide a {
  display: block;
  height: 100%;
  padding: 1.25rem;
  text-align: center;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  background: #fff;
  transition: .2s ease;
}

.guide a:hover {
  transform: translateY(-4px);
  border-color: var(--theme-secondary);
  box-shadow: 0 9px 25px rgba(12, 31, 65, .08);
}

.guide-img {
  display: block;
  width: 92px;
  height: 92px;
  margin: 0 auto .65rem;
  object-fit: contain;
}

.guide h3 {
  margin: 0 0 .45rem;
  font-size: .9rem;
  font-weight: 700;
}

.guide p {
  margin: 0;
  color: var(--theme-muted);
  font-size: .72rem;
  line-height: 1.9;
}

.publisher {
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius);
  height: 95px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  background: #fff;
  transition: 0.2s;
}
.publisher:hover {
  color: var(--theme-text);
  border-color: var(--theme-secondary);
  transform: translateY(-3px);
}
.publisher img{
 width: 60px;
 height: 60px;
 object-fit: contain;
}
.publisher span {
  margin-top: 0.25rem;
  font-size: 0.77rem;
}
.accordion-button {
  font-size: 0.82rem;
}
.accordion-button:not(.collapsed) {
  color: var(--theme-primary);
  background: var(--theme-soft);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-body {
  color: var(--theme-muted);
  font-size: 0.8rem;
}
.intro h2 {
  font-size: 1.15rem;
  font-weight: 800;
}
.intro p {
  color: var(--theme-muted);
  max-width: 800px;
  margin: auto;
  line-height: 2;
}
@media (max-width: 767.98px) {
    .guide-img {
    display: block;
    width: 72px;
    height: 72px;
}
.guide h3 {
  margin: 0 0 .45rem;
  font-size: 1em;
  font-weight: 700;
}
.guide p {
    font-size: .8em;
}
.section-title h1,
.section-title h2 {
  font-size: 1.45em;
  font-weight: 800;
}
  .page-banner {
    height: 170px;
  }
  .section-pad {
    padding: 1.6rem 0;
  }
  .product-card {
    padding: 0.5rem;
  }
  .book-cover {
    height: 155px;
  }
  .benefits .col {
    border: 0;
  }
  .promo-row a {
    min-height: 68px;
  }
  .owl-theme .owl-nav {
    top: -46px;
  }
  .category-card {
 
  padding: 0.75rem 0.1rem 1rem;
  }
  .category-card b {
    display: block;
    font-size: 0.8em
11.2px
;
}
.category-card img {
    width: 60px;
    height: 60px;
}
}
.triple-products-section {
    padding: 35px 0;
}

.products-carousel-box {
    height: 100%;
    padding: 16px;
    overflow: hidden;
    background: var(--theme-white);
    border: 1px solid var(--theme-border);
    border-radius: var(--theme-radius);
}

.products-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    margin-bottom: 18px;
}

.products-carousel-header h3 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

.products-carousel-header h3 i {
    color: var(--theme-secondary);
    font-size: 24px;
}

.products-carousel-header > a {
    flex-shrink: 0;
    color: var(--theme-primary);
    font-size: 11px;
    font-weight: 700;
}

.new-icon {
    padding: 4px 6px;
    color: var(--theme-white);
    background: var(--theme-secondary);
    border-radius: 5px;
    font-size: 10px;
    transform: rotate(-5deg);
}

.mini-products-carousel {
    direction: ltr;
}

.mini-products-carousel .item {
    direction: rtl;
}

.mini-product-card {
    position: relative;
    min-width: 0;
    padding: 4px;
}

.mini-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 145px;
    margin-bottom: 10px;
}

.mini-product-image img {
    width: auto !important;
    max-width: 100%;
    height: 135px;
    object-fit: contain;
}

.mini-product-card h4 {
    min-height: 36px;
    margin: 0 0 4px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.8;
}

.mini-product-card h4 a:hover {
    color: var(--theme-secondary);
}

.mini-product-card p {
    min-height: 18px;
    margin-bottom: 5px;
    overflow: hidden;
    color: var(--theme-muted);
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.product-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
    color: var(--theme-secondary);
    font-size: 9px;
}

.mini-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}

.mini-product-footer strong {
    color: var(--theme-text);
    font-size: 11px;
    white-space: nowrap;
}

.mini-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    flex-shrink: 0;
    padding: 0;
    color: var(--theme-white);
    background: var(--theme-primary);
    border: 0;
    border-radius: 7px;
}

.mini-cart-btn:hover {
    color: var(--theme-primary);
    background: var(--theme-secondary);
}

.favorite-btn {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    padding: 0;
    color: var(--theme-muted);
    background: transparent;
    border: 0;
    font-size: 15px;
}

.favorite-btn.active i::before {
    content: "\f415";
}

.favorite-btn.active {
    color: #dc3545;
}

.product-badge,
.discount-badge {
    position: absolute;
    z-index: 2;
    top: 2px;
    left: 2px;
    padding: 4px 7px;
    color: var(--theme-white);
    border-radius: 5px;
    font-size: 9px;
    font-weight: 700;
}

.product-badge {
    background: var(--theme-secondary);
}

.discount-badge {
    background: #dc3545;
}

.old-price {
    min-height: 18px;
    color: var(--theme-muted);
    font-size: 9px;
    text-decoration: line-through;
}

.products-carousel-box .owl-theme .owl-nav {
   position: absolute;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    /* margin-top: 14px; */
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.products-carousel-box .owl-theme .owl-nav button.owl-prev,
.products-carousel-box .owl-theme .owl-nav button.owl-next {
    width: 29px;
    height: 29px;
    margin: 0;
    color: var(--theme-primary);
    background: var(--theme-white);
    border: 1px solid var(--theme-border);
    border-radius: 50%;
    font-size: 20px;
    line-height: 24px;
}

.products-carousel-box .owl-theme .owl-nav button:hover {
    color: var(--theme-white);
    background: var(--theme-primary);
}

.products-carousel-box .owl-dots {
    display: none;
}

@media (max-width: 1199.98px) {
    .products-carousel-header {
        align-items: flex-start;
    }

    .products-carousel-header h3 {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .triple-products-section {
        padding: 20px 0;
    }

    .products-carousel-box {
        padding: 13px;
    }

    .mini-product-image {
        height: 155px;
    }

    .mini-product-image img {
        height: 145px;
    }
}

.owl-theme .owl-nav .disabled {
    opacity: 0.7 !important;
}
.mini-products-carousel  .owl-nav .disabled {
    opacity: 0 !important;
}