
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

 .back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}
/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.border-secondary {
    transition: 0.5s;
}

.btn.border-secondary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.fixed-top {
    transition: 0.5s;
    background: var(--bs-white);
    border: 1px solid #81c408;
    box-shadow: 0 8px 22px rgba(24, 55, 48, 0.11), 0 2px 6px rgba(129, 196, 8, 0.07);
}

.topbar {
    padding: 10px 20px;
    border-radius: 230px 100px;
    background: #f4c542 !important;
    box-shadow: 0 4px 14px rgba(80, 57, 10, 0.12);
}

.topbar a.text-white,
.topbar span.text-white {
    color: #263238 !important;
}

.brand-accent-text {
    color: #f4c542 !important;
}

.home-hero-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    max-width: 680px;
    margin-bottom: 16px !important;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: clamp(.78rem, 1.05vw, .98rem);
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.5;
    text-transform: uppercase;
}

.home-hero-title {
    max-width: 820px;
    margin: 0 0 1.5rem;
    color: #45595b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 60px;
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.home-hero-title span {
    display: block;
}

.home-hero-title .home-hero-title-accent {
    color: var(--bs-primary);
}

.home-hero-kicker::after {
    width: 74px;
    height: 2px;
    flex: 0 0 74px;
    background: currentColor;
    content: "";
}

@media (max-width: 575.98px) {
    .hero-header > .container.py-5 {
        padding-top: calc(3rem - 5px) !important;
    }

    .home-hero-kicker {
        display: none;
    }

    .home-hero-title {
        font-size: 24px;
        line-height: 1.05;
    }
}

.home-page {
    overflow-x: clip;
}

.home-hero-subtitle {
    max-width: 560px;
    margin: 0 0 26px;
    color: #405356;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 1.55vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.7;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: 1.25rem;
    white-space: nowrap;
}

.brand-logo-mark {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid rgba(129, 196, 8, 0.25);
    border-radius: 14px;
    background: linear-gradient(145deg, #26363b, #18272c);
    box-shadow: 0 5px 12px rgba(31, 48, 53, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-logo-mark svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: #81c408;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.brand-logo-wordmark {
    display: inline-flex;
    align-items: baseline;
    color: #f4b51c;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: clamp(1.45rem, 2.8vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1;
}

.brand-logo-wordmark span:last-child {
    color: #70ad00;
}

.brand-logo-wordmark span:first-child {
    color: #45595B;
}

/* Keep the shared header logo the same size on every page. */
.navbar .brand-logo {
    gap: 10px;
}

.navbar .brand-logo-mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    border-radius: 10px;
}

.navbar .brand-logo-mark svg {
    width: 22px;
    height: 22px;
}

.navbar .brand-logo-wordmark {
    font-size: 25px;
    line-height: 1;
}

.brand-logo:hover .brand-logo-mark,
.brand-logo:focus-visible .brand-logo-mark {
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(31, 48, 53, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-logo:focus-visible {
    outline: 3px solid rgba(112, 173, 0, 0.4);
    outline-offset: 5px;
    border-radius: 4px;
}

.topbar .top-info {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link a {
    letter-spacing: 1px;
}

.topbar .top-link a small:hover {
    color: var(--bs-secondary) !important;
    transition: 0.5s;
}

.topbar .top-link a small:hover i {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar {
    height: 76px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

@media (min-width: 1200px) {
    .navbar .navbar-collapse {
        flex: 1 1 auto;
        min-width: 0;
    }

    .navbar .navbar-nav.mx-auto {
        width: 100%;
        justify-content: space-evenly;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border-radius: 8px;
    color: #344a43;
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    transition: background-color 160ms ease, color 160ms ease;
}

.navbar .dropdown-menu {
    min-width: 290px;
    padding: 8px;
    border: 1px solid #e3eae2;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 14px 36px rgba(26, 55, 43, 0.16);
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus-visible {
    background: #f1f7e8;
    color: #47790a;
}

.header-category-icon {
    width: 19px;
    flex: 0 0 19px;
    font-size: 1rem;
    text-align: center;
}

.header-icon-blue { color: #28aef1; }
.header-icon-purple { color: #a66af0; }
.header-icon-green { color: #78d150; }
.header-icon-pink { color: #f45c88; }
.header-icon-orange { color: #ff8b23; }

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/

/*** Hero Header ***/
.hero-header {
    background: linear-gradient(rgba(248, 223, 173, 0.1), rgba(248, 223, 173, 0.1)), url(../img/learnebooks-ebook-store-hero.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.carousel-item {
    position: relative;
}

.carousel-item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    background: linear-gradient(rgba(255, 181, 36, 0.7), rgba(255, 181, 36, 0.7));
}

.carousel-control-next,
.carousel-control-prev {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 1px solid var(--bs-white);
    background: var(--bs-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-next {
    margin-right: 20px;
}

.carousel-control-prev {
    margin-left: 20px;
}

.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/cart-page-header-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .page-header {
        margin-top: 152px !important;
    }
}

@media (max-width: 992px) {
    .page-header {
        margin-top: 97px !important;
    }
}

/* The homepage header is fixed, so offset the hero by its actual height only. */
.hero-header {
    margin-top: 76px !important;
}
/*** Hero Header end ***/


/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

.featurs .category-card {
    color: var(--bs-dark);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featurs .category-card:hover {
    color: var(--bs-dark);
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(69, 89, 91, 0.12);
}

.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 35px;
    height: 35px;
    background: var(--bs-secondary);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--bs-secondary);
    
}
/*** featurs End ***/


/*** service Start ***/
.service .service-item .service-content {
    position: relative;
    width: 250px; 
    height: 130px; 
    top: -50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
}

/*** service End ***/


/*** Fruits Start ***/
.fruite .tab-class .nav-item a.active {
    background: var(--bs-secondary) !important;
}

.fruite .tab-class .nav-item a.active span {
    color: var(--bs-white) !important; 
}

.fruite .fruite-categorie .fruite-name {
    line-height: 40px;
}

.fruite .fruite-categorie .fruite-name a {
    transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
    color: var(--bs-secondary);
}

.fruite .fruite-item {
    height: 100%;
    transition: 0.5s;
}
.fruite .fruite-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.fruite .fruite-item .fruite-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.fruite .fruite-item .fruite-img img {
    transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
    transform: scale(1.3);
}
/*** Fruits End ***/


/*** vesitable Start ***/
.vesitable .vesitable-item {
    height: 100%;
    transition: 0.5s;
}

.vesitable .vesitable-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img {
    transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
    transform: scale(1.2);
}

/* Home discovery section under the main carousel */
.featurs.py-5 { padding-top: 0 !important; }
.featurs > .container.py-5 { padding-top: 0 !important; }
.home-discovery { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; padding: 30px max(4vw, 24px) 36px; background: radial-gradient(circle at 8% 102%, rgba(220, 212, 255, .3) 0 120px, transparent 121px), radial-gradient(circle at 97% 105%, rgba(226, 241, 211, .55) 0 150px, transparent 151px), #fffefa; }
.home-discovery-inner { width: min(100%, 1760px); margin: 0 auto; }
.home-discovery-hero { display: grid; min-height: 390px; grid-template-columns: 1fr 1.12fr; align-items: center; gap: 24px; }
.home-discovery-copy { position: relative; z-index: 1; padding: 10px 0 20px; }
.home-discovery-eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; color: #81c408; font-size: clamp(.8rem, 1.15vw, 1rem); font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.home-discovery-eyebrow span { width: 105px; height: 2px; background: #81c408; }
.home-discovery-copy h2 { margin: 0 0 16px; color: #45595B; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 4.5vw, 4.25rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.home-discovery-copy h2 span { color: #81c408; }
.home-discovery-description { max-width: 64ch; margin: 0; color: #52616b; font-family: "Open Sans", Arial, sans-serif; font-size: clamp(.98rem, 1.15vw, 1.15rem); font-weight: 400; letter-spacing: .005em; line-height: 1.7; }
.home-discovery-art { display: flex; min-width: 0; height: 410px; align-items: center; justify-content: center; }
.home-discovery-art img { display: block; width: 100%; max-width: 850px; max-height: 410px; object-fit: contain; }
.home-discovery-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; margin: 0 0 26px; color: #81c408; }
.home-discovery-divider span { height: 2px; background: #81c408; }
.home-discovery-divider i { font-size: 2rem; }
.home-discovery-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-discovery-feature { display: grid; min-width: 0; grid-template-columns: 126px minmax(0, 1fr); align-items: start; gap: 24px; padding: 2px 34px; border-right: 1px solid #dfe2df; }
.home-discovery-feature:first-child { padding-left: 0; }
.home-discovery-feature:last-child { padding-right: 0; border-right: 0; }
.home-discovery-icon { display: grid; width: 126px; height: 126px; place-items: center; border-radius: 50%; background: #f0ebff; color: #f4b51c; font-size: 3.2rem; }
.feature-mint .home-discovery-icon { background: #eef5e5; color: #f4b51c; }
.feature-cream .home-discovery-icon { background: #fff3d8; color: #f4b51c; }
.home-discovery-feature h3 { margin: 8px 0 12px; color: #45595B; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.3rem, 1.8vw, 1.8rem); font-weight: 700; line-height: 1.12; }
.home-discovery-feature p { margin: 0 0 14px; color: #6b7d8b; font-size: clamp(.88rem, 1.2vw, 1.05rem); line-height: 1.55; }
.home-discovery-feature a { display: inline-flex; align-items: center; gap: 12px; color: #81c408; font-size: clamp(.92rem, 1.2vw, 1.05rem); font-weight: 700; text-decoration: none; }
.home-discovery-feature a:hover { color: #174d13; }
.home-discovery-feature a i { transition: transform .18s ease; }
.home-discovery-feature a:hover i { transform: translateX(4px); }

@media (max-width: 1199.98px) {
    .home-discovery-features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
    .home-discovery-feature:nth-child(2) { padding-right: 0; border-right: 0; }
    .home-discovery-feature:nth-child(3) { padding-left: 0; }
}

@media (max-width: 991.98px) {
    .home-discovery { padding: 24px 28px 32px; }
    .home-discovery-hero { min-height: 330px; grid-template-columns: 1fr 1fr; gap: 12px; }
    .home-discovery-copy h2 { font-size: clamp(2.35rem, 5vw, 3.3rem); }
    .home-discovery-art { height: 340px; }
    .home-discovery-art img { max-height: 340px; }
    .home-discovery-feature { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding-inline: 18px; }
    .home-discovery-icon { width: 80px; height: 80px; font-size: 2.2rem; }
    .home-discovery-features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
    .home-discovery-feature:nth-child(2) { padding-right: 0; border-right: 0; }
    .home-discovery-feature:nth-child(3) { padding-left: 0; }
}

@media (max-width: 767.98px) {
    .home-discovery { padding: 30px 20px 28px; }
    .home-discovery-hero { grid-template-columns: 1fr; gap: 4px; }
    .home-discovery-copy { padding: 4px 0 0; }
    .home-discovery-eyebrow { margin-bottom: 14px; }
    .home-discovery-eyebrow span { width: 55px; }
    .home-discovery-copy h2 { font-size: clamp(2.25rem, 9vw, 3.1rem); }
    .home-discovery-description { max-width: 58ch; font-size: 1rem; }
    .home-discovery-art { height: min(62vw, 330px); min-height: 220px; }
    .home-discovery-art img { max-height: 100%; }
    .home-discovery-divider { gap: 14px; margin-bottom: 20px; }
    .home-discovery-features { grid-template-columns: 1fr; gap: 0; }
    .home-discovery-feature, .home-discovery-feature:first-child, .home-discovery-feature:last-child { grid-template-columns: 74px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-right: 0; border-bottom: 1px solid #e2e7e0; }
    .home-discovery-feature:last-child { border-bottom: 0; }
    .home-discovery-icon { width: 74px; height: 74px; font-size: 2rem; }
    .home-discovery-feature h3 { margin-top: 0; font-size: 1.35rem; }
}

@media (max-width: 420px) {
    .home-discovery { padding-inline: 16px; }
    .home-discovery-eyebrow { font-size: .73rem; letter-spacing: .04em; }
    .home-discovery-eyebrow span { width: 32px; }
    .home-discovery-feature, .home-discovery-feature:first-child, .home-discovery-feature:last-child { grid-template-columns: 60px minmax(0, 1fr); gap: 13px; }
    .home-discovery-icon { width: 60px; height: 60px; font-size: 1.65rem; }
    .home-discovery-feature h3 { font-size: 1.2rem; }
}

/* Reader feedback carousel above the shared footer */
.home-feedback { padding: 62px 0 70px; background: linear-gradient(180deg, #f8faf6 0%, #fff 100%); }
.home-feedback-inner { width: min(calc(100% - 64px), 1600px); max-width: 1600px; }
.home-feedback-heading { margin: 0 auto 30px; text-align: center; }
.home-feedback-eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 9px; color: #81c408; font-size: .82rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.home-feedback-eyebrow span { width: 22px; height: 2px; background: currentColor; }
.home-feedback-heading h2 { margin: 0 0 8px; color: #45595B; font-family: "Raleway", "Open Sans", sans-serif; font-size: clamp(1.8rem, 3.4vw, 2.65rem); font-weight: 800; letter-spacing: -.035em; }
.home-feedback-note { margin: 0; color: #798780; font-size: .8rem; line-height: 1.5; }
.home-feedback-carousel { display: block; }
.home-feedback-card { position: relative; display: flex; min-height: 250px; height: 100%; flex-direction: column; overflow: hidden; padding: 28px 30px 24px; border: 1px solid #e6ece5; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(40, 64, 52, .07); }
.home-feedback-card::before { position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #81c408, #f4b51c); content: ""; }
.home-feedback-quote { position: absolute; top: 10px; right: 24px; color: rgba(129, 196, 8, .22); font-family: Georgia, serif; font-size: 5rem; line-height: 1; }
.home-feedback-card > p { position: relative; z-index: 1; flex: 1; margin: 4px 20px 25px 0; color: #53646a; font-family: "Open Sans", Arial, sans-serif; font-size: 1rem; line-height: 1.75; }
.home-feedback-author { display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid #edf0eb; }
.home-feedback-avatar { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 50%; background: #eef6e4; color: #6da900; font-size: 1rem; }
.home-feedback-avatar.avatar-gold { background: #fff4dc; color: #ce930e; }
.home-feedback-avatar.avatar-green { background: #e8f4ec; color: #32814a; }
.home-feedback-avatar.avatar-blue { background: #eaf3f6; color: #497783; }
.home-feedback-author strong, .home-feedback-author small { display: block; }
.home-feedback-author strong { color: #45595B; font-size: .9rem; }
.home-feedback-author small { margin-top: 3px; color: #8a9690; font-size: .76rem; }
.home-feedback-carousel .owl-stage { display: flex; }
.home-feedback-carousel .owl-item { display: flex; }
.home-feedback-carousel .owl-nav { position: static; display: flex; justify-content: flex-end; gap: 9px; margin: 20px 0 0; }
.home-feedback-carousel .owl-nav button.owl-prev, .home-feedback-carousel .owl-nav button.owl-next { display: grid; width: 46px; height: 46px; place-items: center; padding: 0; border: 1px solid #dce7d7; border-radius: 50%; background: #fff; color: #81c408; font-size: 1rem; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.home-feedback-carousel .owl-nav button.owl-prev:hover, .home-feedback-carousel .owl-nav button.owl-next:hover { transform: translateY(-2px); border-color: #81c408; background: #81c408; color: #fff; }
.home-feedback-carousel .owl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.home-feedback-carousel .owl-dots button.owl-dot span { width: 9px; height: 9px; margin: 0; border-radius: 10px; background: #dce5d7; transition: width .18s ease, background .18s ease; }
.home-feedback-carousel .owl-dots button.owl-dot.active span { width: 25px; background: #81c408; }

@media (max-width: 767.98px) {
    .home-feedback { padding: 44px 0 50px; }
    .home-feedback-inner { width: calc(100% - 32px); }
    .home-feedback-heading { margin-bottom: 23px; }
    .home-feedback-card { min-height: 230px; padding: 24px 22px 20px; }
    .home-feedback-carousel .owl-dots { justify-content: center; margin-top: 16px; }
    .home-feedback-carousel .owl-nav { margin-top: 14px; }
}
/*** vesitable End ***/

.category-intro {
    margin: 2rem 0 1.5rem;
    padding: 0 12px;
}

.category-intro p {
    margin-bottom: 1rem;
    color: #f4c542;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.category-intro h2 {
    margin: 0;
    color: var(--bs-dark);
    font-family: "Raleway", sans-serif;
    font-size: calc(1.375rem + 1.5vw);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.featurs .category-card .featurs-content h5 {
    color: #34494b;
    font-family: "Raleway", "Open Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.featurs .category-card .featurs-content p {
    color: #52616b;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.005em;
    line-height: 1.6;
}

.product-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 3px;
    color: #f4b400;
    font-size: 0.75rem;
    line-height: 1;
}

@media (min-width: 1200px) {
    .category-intro h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .new-release-books .featured-books-section {
        padding: 1.5rem 8px 2rem !important;
    }

    .featured-books-section {
        padding-right: 8px !important;
        padding-left: 8px !important;
    }

    .featurs .featured-books-section {
        width: calc(100% + 20px);
        margin-left: -10px;
    }

    .featured-books-section > h1 {
        max-width: 100%;
        font-size: 1.4rem;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .featured-books-section > .owl-carousel {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .featured-books-section .owl-stage {
        margin: 42px 0 24px;
    }

    .featured-books-section .owl-nav {
        top: 0;
        right: 0;
    }

    .featurs .category-card {
        padding: 12px !important;
    }

    .featurs .category-card .featurs-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.25rem !important;
    }

    .featurs .category-card .featurs-icon::after {
        width: 24px;
        height: 24px;
        bottom: -7px;
    }

    .featurs .category-card .featurs-icon i {
        font-size: 2rem;
    }

    .featurs .category-card .featurs-content h5 {
        font-size: 13px;
        line-height: 1.25;
    }

    .featurs .category-card .featurs-content p {
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .category-intro {
        margin: 1.5rem 0 1rem;
        padding: 0;
    }
}


/*** Banner Section Start ***/
.banner .banner-btn:hover {
    background: var(--bs-primary);
}
/*** Banner Section End ***/


/*** Facts Start ***/
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.counter i {
    font-size: 60px;
    margin-bottom: 25px;
}

.counter h4 {
    color: var(--bs-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.counter h1 {
    margin-bottom: 0;
}
/*** Facts End ***/


/*** testimonial Start ***/
.testimonial-header h1 {
    margin-bottom: 1rem !important;
}

.testimonial-carousel {
    display: flex;
    flex-direction: column;
}

.testimonial-carousel .owl-nav {
    position: static;
    order: -1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 12px;
}

.testimonial .owl-nav .owl-prev {
    position: static;
    width: 44px;
    height: 36px;
    color: var(--bs-primary);
    padding: 0;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: static;
    width: 44px;
    height: 36px;
    color: var(--bs-primary);
    padding: 0;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** testimonial End ***/


/*** Single Page Start ***/
.pagination {
    display: inline-block;
}
  
.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}
  
.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}
  
.pagination a:hover:not(.active) {background-color: var(--bs-primary)}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}
/*** Single Page End ***/


/*** Footer Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, .5);
    transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
    color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
    line-height: 35px;
}
/*** Footer End ***/


/* Reduce ebook title text across the home page product cards. */
.vesitable-item h4 {
    font-size: 16px;
}

.container-fluid.py-5 .row.g-4 a.h5 {
    font-size: 12px;
}

.vesitable-item .p-4 > p {
    font-size: 14px;
}

.bestseller-heading {
    max-width: 700px;
}

.bestseller-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--bs-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bestseller-heading h1 {
    margin-bottom: 12px;
    color: var(--bs-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.bestseller-heading p {
    margin: 0;
    color: #68766f;
    font-size: 1rem;
}

.bestseller-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e6ece8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(25, 55, 42, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.bestseller-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(25, 55, 42, 0.12);
}

.bestseller-card > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1060 / 1484;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

.bestseller-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.bestseller-tag {
    margin-bottom: 9px;
    color: var(--bs-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bestseller-card h2 {
    min-height: 2.8em;
    margin: 0 0 8px;
    color: #20372e;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.bestseller-description {
    min-height: 4.5em;
    margin: 0 0 10px;
    color: #68766f;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 0.88rem;
    line-height: 1.5;
}

.bestseller-rating {
    margin: 9px 0 14px;
    color: #efa928;
    font-size: 1rem;
    letter-spacing: 0.08em;
}

.bestseller-rating span {
    color: #d9dedb;
}

.bestseller-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 18px;
}

.bestseller-price del {
    color: #7c8982;
    font-size: 0.9rem;
}

.bestseller-price strong {
    color: #173b32;
    font-size: 1.4rem;
}

.bestseller-price span {
    padding: 3px 7px;
    border-radius: 20px;
    background: #e8f5ed;
    color: #237447;
    font-size: 0.72rem;
    font-weight: 700;
}

.bestseller-button {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: auto;
    padding: 10px 16px;
    border: 1px solid var(--bs-primary);
    border-radius: 999px;
    background: var(--bs-primary);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
}

.bestseller-button:hover,
.bestseller-button:focus-visible {
    background: #fff;
    color: var(--bs-primary);
}

@media (max-width: 575.98px) {
    .bestseller-books-section > .container {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .bestseller-card-body {
        padding: 16px;
    }

    .bestseller-card h2 {
        min-height: 0;
        font-size: 11px;
    }

    .bestseller-price strong {
        font-size: 18px;
    }
}


/* Book card badge text is 3px smaller than the original 24px label. */
.book-card-badge {
    font-size: 10px;
}

/* Keep each book card's price and action aligned consistently. */
.featured-books-section .product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.featured-books-section .product-pricing {
    min-width: 0;
    line-height: 1.35;
}

.featured-books-section .product-card-footer > a {
    display: inline-flex;
    min-height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    line-height: 1.2;
    white-space: nowrap;
}

/* Keep all four card edges consistent in the Technology & Business row. */
.technology-business-home-section .featured-books-section .vesitable-item {
    border: 1px solid #81c408 !important;
    border-bottom-color: transparent !important;
    box-shadow: inset 0 -1px 0 #81c408;
}

.technology-business-home-section .featured-books-section .vesitable-item:hover {
    box-shadow: inset 0 -1px 0 #81c408, 0 0 55px rgba(0, 0, 0, 0.4);
}

/* Give the home book-carousel controls a clear, polished desktop placement. */
.featured-books-section .owl-nav {
    position: absolute;
    top: -58px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    border: 1px solid #e7eddf;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 16px rgba(49, 73, 38, 0.1);
}

.featured-books-section .owl-nav button.owl-prev,
.featured-books-section .owl-nav button.owl-next {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f8eb;
    color: #527b13;
    font-size: 1rem;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.featured-books-section .owl-nav button.owl-next {
    background: var(--bs-primary);
    color: #fff;
}

.featured-books-section .owl-nav button.owl-prev:hover,
.featured-books-section .owl-nav button.owl-next:hover {
    transform: translateY(-1px);
    background: #5f9100;
    color: #fff;
}

.featured-books-section .owl-nav button:focus-visible {
    outline: 3px solid rgba(129, 196, 8, 0.35);
    outline-offset: 2px;
}

/* Keep any carousel card left outside Owl Carousel's stage at the same width as a slide. */
.featured-books-section > .owl-carousel > .vesitable-item {
    display: inline-block;
    width: calc(25% - 19px);
    margin-right: 20px;
    vertical-align: top;
}

@media (max-width: 575.98px) {
    .featured-books-section > .owl-carousel > .vesitable-item {
        width: 100%;
        margin-right: 0;
    }

    .featured-books-section .owl-nav {
        top: 0;
        right: 0;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .featured-books-section > .owl-carousel > .vesitable-item {
        width: calc(50% - 13px);
        margin-right: 20px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .featured-books-section > .owl-carousel > .vesitable-item {
        width: calc(33.333% - 17px);
        margin-right: 20px;
    }
}

@media (max-width: 575.98px) {
    .featured-books-section .product-card-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .featured-books-section .product-card-footer > a {
        width: 100%;
        min-height: 44px;
    }
}


/* Keep homepage category symbols white at their existing size. */
.featurs .category-card .featurs-icon i {
    color: #fff !important;
}
