@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #f23534;
    --btn-color: #008000;
    --text-primary: #333333;
    --text-secondary: #999999;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: "Hind Siliguri", sans-serif;
}

a{
    color: var(--primary-color);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px !important;
}

.bg-success {
    background-color: var(--btn-color) !important;
}

.line-limit-two {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.line-limit-one {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.rsh-mobile-menu-btn {
    background-color: var(--btn-color);
    color: #fff;
    padding: 2px 7px;
}

.rsh-header-search-input {
    border-bottom: 2px solid var(--btn-color);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    background-color: var(--primary-color);
    color: #fff;
}

.navbar-nav .nav-item:hover {
    background-color: var(--primary-color);
}

.navbar-nav .nav-item:hover .nav-link {
    color: #fff;
}

.navbar-nav .nav-link {
    border-right: 1px solid #ddd;
}

.navbar-nav .nav-item:last-child .nav-link {
    border-right: 0;
}

.btn-search-top {
    background-color: var(--btn-color);
    color: #fff;
    border-bottom: 2px solid var(--btn-color);
}

.btn-search-top:hover {
    border: 1px solid var(--btn-color);
    border-bottom: 2px solid var(--btn-color);
}

.rsh-slider .owl-theme .owl-nav.disabled+.owl-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
}

.rsh-mobile-only {
    display: none;
}









/* product section new publish books */
.rsh-product-wrapper {
    font-size: 15px;
}

.rsh-product-head {
    border: 1px solid #ddd;
    padding: 15px;
    box-shadow: 1px 2px 5px #ddd;
}

.rsh-product-title {
    color: var(--primary-color);
    font-size: 18px;
}

.rsh-product-button {
    background-color: var(--btn-color);
    color: #fff;
}

.rsh-product-button:hover {
    border: 1px solid var(--btn-color);
    color: green;
}

.rsh-writer-name {
    font-size: 14px;
    color: #333;
}

.rsh-books-wrap .item {
    border: 1px solid #fff;
    margin-bottom: 2px;
}

.rsh-books-wrap .item:hover {
    border: 1px solid #dddddd70;
    box-shadow: 0px 0px 10px #ddd;
}

.rsh-books-wrap .owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0px, 0px, 0px);
}

.rsh-books-wrap .owl-dots {
    display: none;
}


.rsh-books-wrap .owl-controls .owl-nav {
    position: absolute;
    display: flex
;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 9999;
}
.rsh-books-wrap .owl-carousel .owl-nav button.owl-prev,.rsh-books-wrap .owl-carousel .owl-nav button.owl-next{
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    background: #fff !important;
    border: 1px solid #D5D9D9 !important;
    border-width: 1px;
    box-shadow: 0 2px 5px 0 #d5d9d980;
    padding: 18px 12px !important;
    border-radius: 6px;
    color: #222 !important;
    font-size: 25px;
}

.rsh-books-wrap .owl-carousel .owl-nav button.owl-prev {
    left: -10px;
}
.rsh-books-wrap .owl-carousel .owl-nav button.owl-next{
    right: -10px;
}

/* product section new publish books */

/* writer wrap  */
.rsh-writer-wrap img {
    width: 130px !important;
    height: 130px;
    margin: 0 auto;
    border: 1px solid var(--btn-color);
    border-radius: 50%;
    padding: 5px;
}
/* writer wrap  */

/* footer section  */
.rsh-footer {
    background-color: #1d1f24;
    color: #fff;
}
.rsh-copywright {
    background-color: #22252c;
}
/* footer section  */

/* canvas mobile menu */
.offcanvas-body ul{
    padding: 0px;
}
.offcanvas-body ul li a{
    text-decoration: none;
    color: var(--btn-color);
}
.offcanvas-body ul li {
    list-style: none;
    background: #f0efef;
    margin-bottom: 5px;
    padding: 8px;
}
/* canvas mobile menu */


/* single book details page */
.rsp-details-wrapper {
    font-size: 15px;
}
.rsp-more-products {
    border: 1px solid #ddd;
    border-top: 1px solid var(--primary-color);
}
button.btn-close {
    border: 2px solid red;
    border-radius: 50%;
    width: 9px;
    height: 9px;
    font-size: 10px;
    transition: all linear 0.3;
}
/* single book details page */

/* header logo style design  */
.rsh-main-logo {
    width: 75px;
}
.rsh-footer-main-logo {
    width: 75px;
}
/* header logo style design  */

.npb-image {
    min-height: 250px;
    width: 100%;
    height: 250px;
}

button.active {
    background-color: #dc3545;
    color: white;
}

.bas-wrapper {
    background-color: #f2f2f2;
}
.bas-wrapper p {
    background-color: #008000;
    padding: 10px 10px;
    color: #fff;
    font-size: 18px;
}
.sp-wrap .item:hover {
    box-shadow: 1px 2px 5px #ddd;
}

/* Preloader wrapper */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Blur background */
.blur-bg {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.3); /* optional soft white overlay */
}

/* Preloader card */
.preloader-card {
    position: relative;
    /* background-color: #ffffff; */
    color: #333;
    padding: 15px 45px 0px 45px;
    border-radius: 16px;
    /* box-shadow: 0 0 30px rgba(0,0,0,0.2); */
    text-align: center;
    z-index: 1;
    font-weight: 600;
    color: green;
}

/* Spinner animation */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff0000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Optional fade-out transition */
#preloader.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.ws-item {
    background-color: #f2f2f2;
    padding: 10px;
    border-radius: 5px;
    border-left: 3px solid #008000;
    border-bottom: 1px solid #008000;
}

a {
    text-decoration: none;
    color: #008000;
}
a:hover {
    color: #f23534;
    text-decoration: none;
}

.sidebar-cart-button {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1050;
    border-radius: 4px 0 0 4px;
    width: 70px;
}

.sidebar-cart-wrapper {
    z-index: 9999;
}

.cart-canvas-details-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
}

.sidebar-cart-button svg {
    font-size: 20px;
}

.cart-button-amount {
    font-size: 15px;
    font-weight: 500;
}

.divider-dashed {
    border: 1px dashed #ddd;
    width: 100%;
}

.cart-items-wrapper {
    height: 400px;
    overflow: hidden;
    scroll-behavior: smooth;
    overflow-y: scroll;
}

.checkout-product-details-wrapper {
    max-height: 230px;
    overflow: hidden;
    scroll-behavior: smooth;
    overflow-y: scroll;
}

.mobile-nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.wishlist-item {
    position: relative;
}
.wishlist-close-btn {
    color: red;
    font-size: 20px;
    position: absolute;
    right: 2px;
    top: 0px;
    cursor: pointer;
    opacity: 0;
    transition: all linear 0.3;
}
.wishlist-item:hover .wishlist-close-btn {
    opacity: 1;
}
.shopping-cart-item {
    position: relative;
    border: 1px dashed #ddd;
    margin-bottom: 5px;
}
.shopping-close-btn {
    color: red;
    font-size: 25px;
    position: absolute;
    right: 5px;
    top: 2px;
    cursor: pointer;
    opacity: 0.1;
    transition: all linear 0.3;
}
.shopping-cart-item:hover .shopping-close-btn {
    opacity: 1;
}
.shopping-cart-item del {
    font-size: 14px;
}

/* pagination css  */
.active>.page-link, .page-link.active {
    background-color: #008000;
    border-color: #008000;
}
.page-link {
    color: #008000;
}