@import url("https://fonts.googleapis.com/css2?family=Alex+Brush&family=Meie+Script&display=swap");

.main-container-wpr .container,
footer .container {
    width: 100%;
    max-width: 1640px;
    margin: auto;
    padding: 0 20px !important;
}

* {
    font-family: var(--DM-Sans-font-family);
}

.price-info .font-lg-bold {
    font-size: 14px;
}
.see-all-link {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    position: absolute;
    right: 100px;
    bottom: 0;
}
.card-grid-style-3 .card-grid-inner .price-info {
    margin-top: 5px;
}
.col-xl-12.col-lg-12.max-width-80 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    position: relative;
}
.main-container-wpr {
    padding-top: 10px;
}

.color-primary {
    color: var(--primary-color);
}

.color-white {
    color: #fff;
}

.bg-home9 {
    background-color: transparent;
}

.info-right .category {
    display: block;
    line-height: 130% !important;
    min-height: 35px;
}
.my-cat {
    display: block;
    line-height: 130% !important;
    min-height: 22px !important;
}
.just-in-wpr .info-right .category {
    min-height: auto;
}
.just-in-wpr .color-brand-3.BookVendorName {
    margin: 0;
}
.info-right br {
    display: none;
}
.banner-home9 .banner-big-home9 img {
    object-fit: cover;
    object-position: left;
}
.owl-carousel.just-in-publishers .owl-nav.disabled {
    display: none !important;
}
.owl-carousel.just-in-publishers .shop-card .image-box,
.owl-carousel.just-in-publishers .shop-card .image-box img {
    height: 100%;
    max-height: 295px;
    min-height: 295px;
    object-fit: contain;
}
.just-in-tag {
    font-size: 12px;
    font-weight: 600;
    background: var(--primary-color);
    padding: 5px 20px;
    position: absolute;
    left: 15px;
    top: 18px;
    color: #fff;
    font-family: var(--DM-Sans-font-family);
    border-radius: 25px;
    z-index: 1;
    line-height: 140%;
}

span.color-gray-500.price-line.font-xl.line-through {
    text-decoration: line-through;
}

.banner-small.bg-5.text-center.just-in-wpr {
    /* position: relative; */
    padding: 0;
    min-height: 440px;
}

.button-buy.btn-group-wppr {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.button-buy.btn-group-wppr a.btn.btn-buy {
    margin: 0;
}

.byAuthor.book-auth {
    color: var(--primary-color);
    font-weight: 600;
}

h2.color-brand-3.mb-25.book-ttl {
    font-size: 30px;
    line-height: 1.2;
}

.single-book-cat span {
    color: #000;
    font-size: 16px;
    font-weight: 600;
}

.single-book-tag span {
    color: #000;
    font-weight: 600;
    font-size: 16px;
}

.single-book-cat,
.single-book-tag {
    color: var(--primary-color);
}

.banner-small.bg-5.text-center.just-in-wpr img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 100%;
    position: absolute;
    left: 0;
    object-fit: cover;
}

.publisher-just-in-outer {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 10px;
    min-height: 100%;
}

.publisher-mobile-wpr {
    /* display: none; */
    width: 100%;
}

.publisher-mobile-wpr .owl-nav.disabled {
    display: none !important;
}

.book-by {
    font-size: 15px;
    margin: 0;
    background: var(--primary-color);
    color: #fff;
    font-weight: 500;
    z-index: 1;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0 10px;
}

.glibn-testi-wpr {
    position: relative;
    overflow: hidden;
}

.sidebar-tittle {
    background: var(--primary-color);
    padding: 5px 15px;
    margin-top: 25px;
    color: #fff;
    margin-bottom: 5px;
    font-size: 15px;
}

.section-heading {
    font-size: 25px;
    font-weight: 500;
    color: #fff;
    background: var(--primary-color);
    padding: 5px 15px;
    line-height: 40px;
}

.testimonial-slider {
    /* width: 260px; */
    padding-bottom: 48px;
}

.testimonial-card {
    background: #5e6821;
    color: #ffffff;
    border-radius: 6px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.quote-mark {
    font-size: 32px;
    line-height: 1;
}

.tagline {
    margin: 36px 0 40px;
    font-size: 28px;
    font-weight: 600;
    line-height: 32px;
}

.author-block {
    display: flex;
    align-items: flex-end;
    margin-bottom: auto;
}

span.quote-mark img {
    max-width: 45px;
}

.avatar {
    width: 94px;
    height: 140px;
    background: #ffffff;
    border-radius: 4px;
    margin-right: 16px;
}

.author-meta {
    line-height: 1.3;
}

.author-name {
    margin: 0;
    font-weight: 600;
}

.author-role {
    margin: 4px 0 0;
    font-size: 12px;
    opacity: 0.85;
}

.testimonial-card hr {
    border: 0;
    border-top: 3px solid #ffffff;
    margin: 30px 0 18px;
}

.digest-link {
    font-size: 15px;
    text-decoration: none;
    color: #ffffff;
    opacity: 0.9;
}

.head-main.book-slider-v2 {
    margin-bottom: 10px;
}

.bg-white {
    background-color: #ffffff;
}

.color-primary {
    color: var(--primary-color);
}

.primary-family {
    font-family: "DM Sans", sans-serif;
}

/* .book-slider-v2 .list-products-5 .card-grid-style-3{
width: 25%;
} */
.literary-events {
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    padding: 24px 20px;
    box-sizing: border-box;
}

.events-heading {
    color: var(--primary-color);
    line-height: 140%;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.header-wpr {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.btn.btn-primary {
    min-width: 140px;
}

.header .main-menu li.has-children {
    position: relative;
}

.blog-card .image-box a {
    display: block;
}

.card-grid-style-1.blog-card {
    padding: 10px;
}

.event-item {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 30px;
}

.image-feature img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 5/3;
}

.event-thumb {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    flex-shrink: 0;
    max-width: 33%;
}

.event-thumb img {
    max-height: 100%;
    object-fit: cover;
    min-height: 126px;
}

.event-content {
    font-size: 13px;
    line-height: 1.4;
}

.event-title {
    font-weight: bold;
    margin: 0px 0 10px;
    color: #333333;
    font-size: 16px;
}

.card-vendor
    .card-top-vendor
    .card-top-vendor-left
    a.btn.btn-gray.vendor-profile {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-meta {
    margin: 0;
    color: #555555;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.card-vendor .card-top-vendor .card-top-vendor-left a.btn.btn-gray {
    display: inline-block;
    margin-bottom: 10px;
}

.view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: #5e6821;
    text-decoration: none;
    display: block;
    text-align: right;
    margin-top: 10px;
}

.glibn-container {
    display: flex;
    padding: 20px;
    gap: 20px;
    flex-wrap: nowrap;
}

.glibn-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.glibn-sidebar {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.glibn-sidebar-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5718;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.glibn-sidebar-icon {
    width: 10px;
    height: 10px;
    background-color: #4b5718;
}

/* Banner Slider */
.glibn-banner {
    flex-grow: 1;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
    height: 350px;
    min-width: 300px;
}

.glibn-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.glibn-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.glibn-slide a {
    display: block;
    height: 100%;
}

.glibn-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.glibn-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.glibn-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid black;
    opacity: 0.6;
}

.glibn-dot.active {
    opacity: 1;
    background-color: #4b5718;
}

/* Just In Section */
.glibn-justin {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
}

.glibn-book-card {
    width: 150px;
    background-color: white;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.glibn-book-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.glibn-book-card h4 {
    text-align: center;
    color: #4b5718;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}

.glibn-publisher {
    margin-top: 5px;
    font-size: 12px;
    color: #4b5718;
    font-weight: 500;
}

.glibn-book-link {
    text-decoration: none;
    color: inherit;
}

.leftside-feature-box ul li {
    border-bottom: 1px solid #5e6821;
    padding: 10px 0px 10px;
}

.leftside-feature-box ul li a {
    font-size: 14px;
    color: #5e6821;
    font-weight: 500;
}

.leftside-feature-box {
    margin-bottom: 30px;
}

.leftside-populartags-box ul {
    flex-wrap: wrap;
    display: flex;
}

.leftside-populartags-box ul li {
    padding: 4px 5px;
    border: 1px solid #5e6821;
    margin-bottom: 5px;
    font-weight: 500;
    margin-right: 5px;
    font-size: 12px;
    color: #5e6821;
}

.leftside-recommend-box h4 {
    font-size: 14px;
    color: #ffffff;
    margin: 0 -10px 14px -10px;
    font-weight: 500;
    padding: 10px 8px;
    line-height: 1.2;
}

.leftside-recommend-box {
    background: #fff;
    padding: 0 10px 20px 10px;
    border: 5px;
    box-shadow: 0px 0px 5px 0px #b5b3b3;
    margin-top: 30px;
}

.recommend-imgbox {
    margin-bottom: 20px;
}

.recommend-imgbox h5 {
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-transform: capitalize;
}
.view-more {
    display: inline-block;
    font-size: 14px;
    text-transform: capitalize;
    color: var(--primary-color);
    font-weight: 500;
}
.recommend-imgbox p {
    font-size: 14px;
    color: #5e6821;
    margin: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--primary-color);
    text-transform: capitalize;
}

.recommend-imgbox a {
    font-size: 16px;
    color: #5e6821;
    font-weight: 700;
}

.logo-slider .slide {
    width: max-content;
}

.logo-slider .slide a img {
    width: 100%;
}

.recommend-imgbox span {
    color: #ff0000;
    text-decoration: line-through red 2px;
}

.books-list-sec {
    position: relative;
}

.books-list-sec:before {
    content: "";
    display: inline-block;
    width: 100%;
    background-color: var(--primary-color);
    height: 180px;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
}

.books-list-sec.just-list-in:before {
    height: 60%;
}

section.section-box.mt-30.mb-30.books-list-sec.just-list-in {
    padding-top: 120px;
}

.container.add-container {
    margin-top: -200px;
}

.container.add-container {
    margin-top: -180px;
    max-width: 90%;
}

.books-list-sec.just-list-in .card-grid-style-3 .card-grid-inner .image-box {
    height: 235px;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.banner-right.single-page-banner {
    background: transparent;
    background-color: #bad0e8;
}

.price-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.book-list-section {
    padding: 20px 15px;
}

.books-list-sec .container {
    position: relative;
}

.book-list-header {
    color: white;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.book-list-header h4 {
    margin: 0;
}

.book-card {
    /* min-width: 180px; */
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 0 0 auto;
    text-align: center;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 220px;
}

.book-card img {
    width: 60px !important;
    height: 60px;
    border-radius: 50%;
    background-color: #ddd;
}

main.main {
    overflow-x: hidden;
}

.book-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--primary-color);
}

.book-author {
    font-size: 0.8rem;
    color: var(--theme-black);
    margin: 10px 0;
}

.swiper.book-list-slider {
    margin-top: 25px;
}

.book-subtext {
    font-size: 0.75rem;
    color: gray;
}

/* Single book item styling */
.single-book-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.single-book-item .item {
    max-width: 300px;
    width: 100%;
}

.single-book-item .book-card {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.2s ease;
}

.single-book-item .book-card:hover {
    transform: translateY(-5px);
}

/* Additional fixes for live server banner stretching */
.book-list-slider {
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
}

.book-list-slider .owl-carousel {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.book-list-slider .owl-carousel .item {
    width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
}

/* Force proper item sizing */
.book-list-slider .owl-carousel .owl-stage {
    display: flex !important;
    align-items: center !important;
}

.book-list-slider .owl-carousel .owl-stage-outer {
    overflow: hidden !important;
}

/* Ensure single item doesn't stretch */
.single-book-item .item {
    flex-shrink: 0 !important;
    width: auto !important;
    max-width: 300px !important;
}

/* Override any server-side CSS conflicts */
.book-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
}

.scroll-container {
    overflow-x: auto;
    display: flex;
    padding: 10px 0px;
}

.swiperbtn-controller {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    position: absolute;
    top: 50%;
}

.mobile-contact-link {
    color: #000;
    font-weight: 600;
}

.has-children.in-mobile ul.sub-menu.all-products {
    padding: 15px 0px !important;
}

.has-children.in-mobile ul.sub-menu.all-products a.dropdown-item {
    padding: 10px;
}

.swiperbtn-controller .swiper-button-next {
    position: static;
}

.swiperbtn-controller .swiper-button-prev {
    position: static;
}

ul.main-menu {
    justify-content: center !important;
}

ul.main-menu li a {
    text-transform: uppercase;
}

.card-grid-style-3 .card-grid-inner .image-box {
    max-height: 335px;
    min-height: 335px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-grid-style-1.article-card {
    padding: 10px;
    background: #fff;
    height: 100%;
}

.list-col-5.service-key-poits .item-list {
    background: #fff;
    margin-bottom: 10px;
}

.display-list .card-grid-style-1 .image-box img {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
}

.card-grid-style-1.article-card .image-box {
    max-height: 180px;
}

.card-grid-style-1.article-card img {
    height: 100%;
    max-height: 180px;
    width: 100%;
    object-fit: cover;
}

.article-decription {
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.glibn-title {
    font-family: "Meie Script", cursive;
    color: #5e6821;
    font-weight: 400;
    font-size: 65px;
}

h3.digits-categ {
    font-size: 18px;
    color: var(--primary-color);
}

.cat-ttl .legend-box {
    width: 15px;
    height: 10px;
    background: var(--primary-color);
    display: block;
}

.cat-ttl {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.card-grid-style-1.article-card h4 {
    font-size: 20px;
}

.service-key-poits .info-right p {
    font-size: 14px !important;
    margin-bottom: 0;
}

.btn.btn-buy {
    margin-top: 13px;
}

input.form-control.font-sm {
    margin-bottom: 10px;
}

.shop-top-banner {
    position: relative;
    max-height: 250px;
    margin-bottom: 30px !important;
    padding: 0;
}

.shop-top-banner img {
    max-width: 100%;
    object-fit: cover;
    object-position: bottom;
    max-height: 250px;
    width: 100%;
}

.shop-top-banner h2 {
    position: absolute;
    font-size: 38px;
    text-align: right;
    /* width: max-content; */
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "DM Sans", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    color: #212529;
    text-align: center;
}

.section-box.shop-template {
    padding-bottom: 40px;
}

.card-grid-style-2.popular-articles .price-info .price-main,
.card-grid-style-2.popular-articles .price-info .price-line {
    margin-right: 10px;
    font-size: 14px !important;
}

.hero-banner {
    position: relative;
    min-height: 32vh;
    background: url("../imgs/banner/photo-banner.avif") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

header .dropdown-account li button {
    border: 0;
    background: transparent;
    padding: 0;
}

.review-form-wpr h2 {
    font-size: 25px;
    text-align: left;
}

.review-form-wpr {
    text-align: left;
    background: #fff;
    padding: 25px;
    margin-bottom: 30px;
}

.comment-content h5 {
    font-size: 15px;
    margin: 0;
    color: #5b6420;
}

.hero-content {
    position: relative;
    z-index: 1;
}

button.owl-prev span {
    left: auto;
    right: 40px;
    top: -78px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    margin-top: 0px;
    background: url(../imgs/slider/swiper/prev.svg) no-repeat 0px 0px;
    font-size: 0;
    position: absolute;
}

button.owl-next span {
    left: auto;
    right: 0px;
    top: -78px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    margin-top: 0px;
    background: url(../imgs/slider/swiper/next.svg) no-repeat 0px 0px;
    font-size: 0;
    position: absolute;
}

.owl-carousel .item {
    display: none;
}

.owl-carousel.owl-loaded .item {
    display: block;
}

.owl-carousel .owl-nav.disabled {
    display: block !important;
}

.smooth-carousel .owl-nav.owl-nav.disabled {
    display: none !important;
}

.nav-tabs li:first-child a {
    padding-left: 0;
}

.nav-tabs li:first-child {
    padding-left: 0;
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    border-color: transparent;
    isolation: isolate;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-color: transparent;
}

.owl-carousel .item {
    height: 100%;
    display: flex;
}

.card-grid-style-3.home6-style {
    display: flex;
    flex-direction: column;
    height: 100%;
}

span.font-sm.color-gray-500.font-medium.mr-2 {
    margin-right: 15px;
}

.card-grid-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

button#dropdownSort {
    font-size: 13px !important;
}

.info-right {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.box-btn-cart {
    margin-top: auto;
}

.books-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(5, 1fr);
}

.books-grid-7 {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(7, 1fr);
}
.shop-card {
    background: #fff;
    border: 1px solid #d5dfe4;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    padding: 10px;
    height: 100%;
    position: relative;
}

.shop-card form {
    display: inline;
    height: 100%;
    position: relative;
    bottom: 100%;
    margin-top: 10px;
}

.shop-card .info-right {
    margin-top: 15px;
}

.shop-card-inner {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.dropdown.dropdown-sort.border-1-right.latest:before {
    display: none;
}

.shop-card .image-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100%;
    max-height: 265px;
}

.card-grid-style-2.card-grid-none-border.recent-view {
    background: #fff;
    padding: 8px;
    border: 1px solid #dde4f0;
    margin-bottom: 0;
}

.card-grid-style-2.card-grid-none-border.recent-view .image-box img {
    max-width: 100%;
    max-height: 110px;
}

h4.color-brand-3.unit-price {
    font-size: 20px;
}

h4.color-brand-3.subtotal-price {
    font-size: 20px;
}

.shop-card .image-box img {
    width: 100%;
    height: 265px;
    display: block;
    object-fit: cover;
}

.shop-card .price-info {
    gap: 15px;
    margin-top: 8px;
}

.shop-card .info-right a.color-brand-3 {
    margin-top: 7px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 42px;
}

a.color-brand-3.font-sm-bold.BookVendorName {
    min-height: auto;
    margin: 0;
}
.shop-card span.price-line {
    text-decoration: line-through;
}
button#dropdownCategory span.dropdown-right {
    background-image: none;
}
.shop-card .price-info .font-lg-bold {
    font-size: 14px;
    color: var(--primary-color) !important;
    line-height: 1.2;
}
.price-main {
    color: var(--primary-color);
}
section.page-banner {
    padding: 50px;
    background: var(--primary-color);
}

section.page-banner h1 {
    font-size: 40px;
    text-align: center;
    color: #fff;
    line-height: 140%;
}

section.page-banner p {
    font-size: 16px;
    text-align: center;
    color: #fff;
    margin-bottom: 0;
}

.faq-inner {
    padding: 90px 0;
}

.container.faq-container {
    max-width: 1024px;
}

.shortby {
    margin-bottom: 15px;
}

.accordion-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.box-quantity .input-quantity input::-webkit-outer-spin-button,
.box-quantity .input-quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.box-quantity .input-quantity input[type="number"] {
    -moz-appearance: textfield;
}

.accordion-question {
    padding: 18px 20px;
    cursor: pointer;
    background: #fff;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
}

.accordion-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-question::after {
    content: "-";
    transform: rotate(180deg);
}

.accordion-answer {
    padding: 0 20px 15px;
    display: none;
    font-size: 1rem;
    color: var(--text);
}

.accordion-item.active .accordion-answer {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

/* mega menu */
li.has-children.mega-menu {
    position: static !important;
}

.sub-menu.all-products.mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-width: 98.3%;
    margin: auto;
    width: 100%;
    padding: 0px;
    gap: 20px;
    background: #fff;
    border: 1px solid #5f69226b;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    display: flex;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

li.has-children.mega-menu.show-submenu .sub-menu.all-products.mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
    pointer-events: auto;
}

.sub-menu.all-products.mega h3.digits-categ {
    padding-left: 15px;
}

.submenu-list-item {
    width: 100%;
    max-width: 70%;
}

.header .main-menu .submenu-list-item ul {
    position: static !important;
    opacity: 1;
    visibility: visible;
    border: 0;
    display: flex;
    flex-wrap: wrap;
}
.header .main-menu .mega-menu .submenu-list-item ul {
    flex-direction: row;
}
.book-promo-mega {
    width: 100%;
    max-width: 30%;
}

.header-bottom .header-nav .main-menu li a.btn.btn-brand-2 {
    display: inline;
    color: #fff;
}

.header .main-menu .submenu-list-item ul li {
    max-width: 33%;
}

.submenu-list-item {
    width: 100%;
    max-width: 70%;
}

/* mega-menu */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    .accordion-question {
        font-size: 1rem;
    }
}

@media (max-width: 1440px) {
    .books-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1366px) {
    .books-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .books-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .books-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
}

@media (max-width: 820px) {
    .books-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .books-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 580px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .border-1-right.span {
        padding: 5px 10px 5px 0px;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #edebe1;
    color: #333;
}

.top-categories {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.top-categories h2 {
    color: #5e6821;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: left;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.category-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.category-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.category-item h3 {
    font-size: 16px;
    color: #000;
    margin-bottom: 10px;
}

.category-item ul {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.category-item ul li {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin: 5px 0;
}

.category-item a {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
}

.color-brand-3.book-ttl {
    min-height: 40px;
    margin-top: 5px;
}

.related-common-slider .card-grid-style-3 .card-grid-inner {
    padding: 0;
}

.related-common-slider .card-grid-style-3 .info-right {
    padding: 0 15px 10px 15px;
}

.display-large-none {
    display: none;
}

section.section-box.shop-template.review-sec-wpr {
    margin-top: -30px;
}

.logos-slider .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logos-slider .swiper-slide img {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.logos-slider .swiper-wrapper {
    transition-timing-function: linear !important;
}

.hero-banner.reviews-bnner {
    margin-top: -30px;
    background: url("../imgs/template/reviews.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

section.section-box.books-list-sec.just-list-in.reviews:before {
    height: 100%;
}

@media (max-width: 600px) {
    .top-categories h2 {
        font-size: 22px;
        text-align: center;
    }

    .category-item h3 {
        font-size: 15px;
    }
}

/* dsicussion page css */

.comment-form .comment-form__actions .button {
    position: relative;
    display: inline-block;
    width: initial;
    height: 35px;
    padding: 0 10px;
    margin-left: 15px;
    background-color: white;
    color: #4ab2d9;
    line-height: 35px;
    font-weight: 400;
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
    border: 1px solid #4ab2d9;
    -webkit-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
}

.comment-form .comment-form__actions .button:hover {
    background-color: #4ab2d9;
    color: #fff;
}

.comment-form,
.panel {
    position: relative;
    padding: 15px;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.15);
}

.response-group {
    position: relative;
    width: 100%;
    padding: 30px 15px 15px;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.15);
}
#recentReviewsList li.list-group-item p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.progress {
    position: relative;
    width: 100%;
    height: 0.75em;
    border-radius: 2px;
    background-color: #ebeff1;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
}

.progress__complete {
    position: absolute;
    top: 0;
    width: 50%;
    height: 0.75em;
    background-color: #5e6821;
    border-radius: 2px;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.15);
}

.response {
    position: relative;
}

.response__number {
    position: absolute;
    width: 2rem;
    height: 2rem;
    line-height: 1.8rem;
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
    color: #89989c;
    border: 2px solid #cdd7dc;
    border-radius: 50%;
}

.response__title {
    margin-left: 3.25rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-size: 24px;
}

.post-group {
    margin-left: 3.5rem;
}

.post {
    position: relative;
    padding: 15px 15px 15px 80px;
    margin-bottom: 50px;
    border: 1px solid #ebeff1;
    border-bottom: none;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.15);
}

.post__author {
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 1.2;
    font-size: 18px;
}

.post__timestamp {
    margin-top: 0;
    font-size: 12px;
    line-height: 1.2;
}

.post__actions {
    height: 40px;
    width: calc(100% + 95px);
    margin-left: -80px;
    background-color: #ebeff1;
    border-top: 1px solid #ebeff1;
}

.post__actions .button {
    float: left;
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
    vertical-align: top;
    border-right: 1px solid #cdd7dc;
}

.post__actions .button i.solid {
    display: none;
}

.post__actions .button:not(.comment):active i {
    transform: scale(1.2);
}

.post__actions .button:not(.comment-trigger):hover,
.post__actions .button:not(.comment-trigger).active {
    background-color: #fff;
    cursor: pointer;
}

.post__actions .button:not(.comment-trigger):hover i.solid,
.post__actions .button:not(.comment-trigger).active i.solid {
    display: inline-block;
}

.post__actions .button:not(.comment-trigger):hover i:not(.solid),
.post__actions .button:not(.comment-trigger).active i:not(.solid) {
    display: none;
}

.post__actions .button:not(.comment-trigger):hover.button--approve,
.post__actions .button:not(.comment-trigger).active.button--approve {
    color: #5e6821;
}

.post__actions .button:not(.comment-trigger):hover.button--deny,
.post__actions .button:not(.comment-trigger).active.button--deny {
    color: #f26f54;
}

.post__actions .button--flag {
    width: 60px;
    border-right: none;
    font-weight: 400;
}

.post__actions .button--flag i {
    margin-right: 5px;
}

.post__actions .button--fill {
    width: calc(100% - 140px);
    padding: 0 10px;
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    color: #89989c;
}

/* .post__comments {
  padding: 15px;
} */

.comment-group {
    padding-bottom: 15px;
}

.comment-group .post {
    padding: 15px 15px 0 65px;
    margin-bottom: 15px;
    box-shadow: none;
}

.comment-group .post__avatar {
    height: 35px;
    width: 35px;
    background: url("../imgs/template/icons/avtar-icon.png");
    border-radius: 50%;
    margin-bottom: 10px;
    position: absolute;
    left: 10px;
    top: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.comment-form {
    height: 100%;
    padding: 15px 15px 15px 65px;
    background: #636d270d;
}

.comment-form textarea {
    width: 100%;
    height: 4em;
    margin-bottom: 10px;
    font-size: 16px;
    border: 1px solid #cdd7dc;
    border-radius: 2px;
    box-shadow: 0 1px 1px #ebeff1 inset;
}

.comment-form textarea:focus {
    outline: none;
}
.post__avatar,
.comment-form__avatar {
    height: 35px;
    width: 35px;
    margin-bottom: 15px;
    background: url("../imgs/template/icons/avtar-icon.png");
    border-radius: 50%;
    margin-bottom: 10px;
    position: absolute;
    left: 10px;
    top: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.topic-container,
.main-topic {
    position: relative;
}
.main-topic .post__actions {
    margin-left: 3.25rem;
    width: calc(100% - 3.25rem);
    margin-bottom: 15px;
}
.reply-to-reply {
    position: relative;
}
.reply-to-reply .post__actions {
    width: 100%;
    margin: 0;
    margin-bottom: 15px;
}
.reply-to-reply .post__actions .button--fill {
    width: 100%;
    margin: 0;
    margin-left: 0;
    border: 0;
}
.comment-form .comment-form__actions {
    text-align: right;
}

.comment-form .comment-form__actions .button {
    float: none;
}

.comment-form .comment-form__actions .button--confirm {
    border-color: #5e6821;
    color: #5e6821;
}

.comment-form .comment-form__actions .button--confirm:hover {
    background-color: #5e6821;
    color: #fff;
}

.comment-form .comment-form__actions .button--light {
    border-color: transparent;
    color: #89989c;
}

.comment-form .comment-form__actions .button--light:hover {
    background-color: #89989c;
    color: #fff;
}

.post--commenting .post__actions {
    height: initial;
}
ul.spolight-texts {
    display: flex;
    flex-direction: column;
}
ul.spolight-texts li:nth-child(1) {
    order: 1;
}
ul.spolight-texts li:nth-child(2) {
    order: 1;
}
ul.spolight-texts li:nth-child(3) {
    order: 7;
}
ul.spolight-texts li:nth-child(4) {
    order: 5;
}
ul.spolight-texts li:nth-child(5) {
    order: 9;
}
ul.spolight-texts li:nth-child(6) {
    order: 4;
}
ul.spolight-texts li:nth-child(7) {
    order: 3;
}
ul.spolight-texts li:nth-child(8) {
    order: 8;
}
ul.spolight-texts li:nth-child(9) {
    order: 6;
}
ul.spolight-texts li:nth-child(10) {
    order: 10;
}
/* .post--commenting .button.comment-trigger span {
  display: none;
} */

.post--commenting .post__comments {
    display: block;
    margin-top: 40px;
    border-top: 1px solid #cdd7dc;
}

/* discussion page css end here */
