@import 'variables.css';
@import 'reset.css';
@import './components/components.css';

body {
    font-family: var(--ff-primary);
    font-size: 1rem;
    font-weight: var(--fw-400);
    line-height: 1.2;
    background-color: var(--clr-whiter);
}

/* hero */

.img-wrap {
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 498px;
    position: relative;
    z-index: -2;
}

.hero__book-img {
    margin: 0;
}

.header__logo a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 300 !important;
    text-align: center;
    display: inline-block;
}

.header__logo a span {
    display: block;
    font-size: 14px;
    letter-spacing: 8px;
    text-align: center;
}

.img-wrap:before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, .2);
    z-index: -1;
}

.hero__slider-item {
    position: relative;
    z-index: 2;
}

.hero__caption {
    position: absolute;
    top: 50%;
    left: 13%;
    transform: translateY(-50%);
    max-width: 600px;
    width: 100%;
    z-index: 99;
}

.hero__caption strong {
    color: var(--clr-primary);
}

.hero__caption h1 {
    color: white;
}

.hero__caption p {
    color: white;
}

.hero__slider .slick-prev,
.hero__slider .slick-next {
    display: none !important;
}

.hero__slider .slick-dots {
    display: flex;
    justify-content: center;
    column-gap: 5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
}

.hero__slider .slick-dots button {
    font-size: 0;
    width: 8px;
    height: 8px;
    border-radius: 5px;
    background-color: #999999;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.hero__slider .slick-dots .slick-active button {
    width: 30px;
    background-color: var(--clr-primary);
}

section {
    padding-block: min(20vh, 4rem);
}

section.searchQuery {
    background: #333;
}

.search h2 {
    font-size: 2rem;
    text-transform: capitalize;
    color: #d9d9d9;
}

/* shipping-support */

.shipping-support {
    margin: 30px 0;
}

.shipping-support__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    border: 1px solid rgba(206, 51, 36, .5);
    border-radius: 10px;
}

.shipping-support__col {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    text-align: center;
    justify-content: center;
    padding: 18px 8px;
    position: relative;
    border-right: 1px solid rgba(206, 51, 36, .5);
}

.all-books.text-center {
    justify-content: center;
}

section.page-hero {
    background: #F6F6F9;
}

.shipping-support__col:last-child {
    border-right: none;
}

.shipping-support__title {
    color: rgb(51, 62, 72);
}

.shipping-support__content {
    margin-left: 20px;
    color: rgb(102, 102, 102);
}

.shipping-support__col .icon {
    color: var(--clr-primary);
}

.icon-wrap .icon {
    width: 40px;
    height: 40px;

}

/* deal-week */

.all-books {
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.all-books .btn-more {
    background-color: var(--clr-primary);
    color: white;
}

.all-books .btn-more:hover {
    color: #000;
}

.deal-week__grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    /* padding-inline: min(14vw, 11rem); */
}

.deal-week__col {
    max-width: 260px;
    width: 100%;
    margin: 0 auto 20px;
    position: relative;
}

.deal-week__wrap {
    position: relative;
}

.deal-week__col:after {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: #E6E6E6;
    right: -15px;
    top: 0;
}

.deal-week__col:nth-child(5):after,
.deal-week__col:nth-child(10):after,
.deal-week__col:nth-child(15):after {
    background-color: transparent;
}

.deal-week__col:last-child:after {
    background-color: transparent;
}

.shop-action {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    transition: all ease-in-out .3s;
    opacity: 0;
    visibility: hidden;
    z-index: 9;
}

.deal-week__product-item:hover .shop-action {
    opacity: 1;
    visibility: visible;
}

.shop-action .toview,
.shop-action .tocart {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: white;
    cursor: pointer;
    position: relative;
    margin: 5px 0;
}

.shop-action .toview .icon,
.shop-action .tocart .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.shop-action .toview:hover,
.shop-action .tocart:hover {
    background-color: var(--clr-primary);
    color: white;
}

.deal-week__image {
    margin: 0;
}

.deal-week__img {
    width: 100%;
    object-fit: cover;
    background-position: center center;
    background-size: cover;
    height: 300px;
    display: block;
    border-radius: 15px;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.deal-week__img:before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, .2);
    z-index: 2;
}

.deal-week__content {
    padding-top: 15px;
}

.deal-week__content h3 {
    margin-bottom: 15px;
}

.product__auther a {
    color: rgb(102, 102, 102);
    display: inline-block;
    margin-bottom: 15px;
}

.product__auther a:hover {
    color: var(--clr-primary);
}

.deal-week__content .product__title {
    color: var(--clr-black);
}

.deal-week__content .product__title:hover {
    color: var(--clr-primary);
}

.price .price__current {
    color: var(--clr-primary);
    font-size: 26px;
    font-weight: 700;
}

.price__amount {
    font-size: 20px;
    color: #999999;
}

.price__amount s {
    text-decoration-line: overline, underline;
}


/* productcategories */

.productcategories-heading {
    margin: 15px 0;
}

.productcategories__grid {
    display: grid;
    grid-template-columns: 1fr 20% 35%;
    gap: 10px 10px;
    margin-bottom: 10px;
}

.productcategories__image {
    margin: 0;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
    z-index: -1;
}

.productcategories__image:before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, .4);
    z-index: 2;
}

.productcategories__grid-2 {
    display: grid;
    grid-template-columns: 35% 20% 1fr;
    gap: 10px 10px;
    margin-bottom: 10px;
}

.productcategories__col {
    position: relative;
}

.product-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 30px;
}

.product-caption__title {
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    list-style: 1.4;
    color: rgba(255, 255, 255, 1);
}

.product-caption .cat-total {
    color: rgba(255, 255, 255, 1);
}

.product-caption__title span {
    position: relative;
    cursor: pointer;
}

.product-caption__title span:before {
    position: absolute;
    height: 1px;
    width: 0;
    content: '';
    background-color: black;
    left: 0;
    bottom: 0;
    transition: all .3s ease;
}

.product-caption__title:hover span:before {
    width: 100%;
}

.productcategories__item {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
    height: 300px;
    transition: all .3s ease;
}


.productacategories__link:hover .productcategories__image .productcategories__item {
    transform: scale(1.1);
}

/* categoriespremium */

.categoriespremium__grid {
    display: grid;
    /* padding: min(14vw, 6rem); */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px 15px;
}

.categoriespremium__title {
    background-color: aliceblue;
    box-shadow: 10px 10px 25px rgba(206, 51, 36, .15);
    max-width: 385px;
    width: 100%;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    margin: 0 auto;
}

.categoriespremium__title.boxshadow-green {
    box-shadow: 10px 10px 25px rgba(123, 197, 124, .15);
}

.categoriespremium__title.boxshadow-bluesky {
    box-shadow: 10px 10px 25px rgba(0, 206, 230, .15);
}


.categoriespremium__heading {
    background-color: #fdca01;
    color: white;
    max-width: 250px;
    width: auto;
    margin: -45px auto 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 15px 0;
    font-size: 20px;
    text-transform: uppercase;
    box-shadow: 5px 5px 2px rgba(238, 238, 238, .5);
    position: relative;
}

.categoriespremium__heading-green {
    background-color: #7BC57C;
}

.categoriespremium__heading-green:before {
    border-color: transparent transparent #7BC57C transparent !important;
}

.categoriespremium__heading-bluesky {
    background-color: #00CEE6
}

.categoriespremium__heading-bluesky:before {
    border-color: transparent transparent #00CEE6 transparent !important;
}

.categoriespremium__heading:before {
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 0 20px 8px;
    border-color: transparent transparent #FDCA01 transparent;
    transform: rotate(0deg);
    top: 0;
    left: -8px;
}

.categoriespremium__heading p {
    margin: 15px 0 0 0;
    font-size: 14px;
}

.categoriespremium__price {
    margin: 30px 0;
}

.categoriespremium__price-item {
    font-size: 16px;
    font-weight: 600;
    vertical-align: top;
}

.categoriespremium__price-value {
    font-size: 40px;
    font-weight: 700;
}

.categoriespremium__detail {
    display: grid;
    justify-content: center;
    text-align: left;
}

.categoriespremium__detail li {
    margin-bottom: 15px;
    font-size: 18px;
    position: relative;
}

.categoriespremium__detail li .icon {
    margin-right: 10px;
}

.categoriespremium__title .btn {
    padding: 15px 60px;
    font-size: 18px;
    font-weight: 400;
}

.categoriespremium__title .btn:hover {
    color: white;
}

.categoriespremium__title .btn:after {
    background-color: #FDCA01;
}

.categoriespremium__title .btn-green:after {
    background-color: #7BC57C;
}

.categoriespremium__title .btn-bluesky:after {
    background-color: #00CEE6;
}

/* blog */

.blog {
    background-color: #F6F6F9;
}

.blog__headling {
    margin-bottom: 25px;
}

.blog__card {
    max-width: 390px;
    width: 100%;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    margin: 0 15px;
}

.blog__col {
    position: relative;
    transition: all .3s ease;
}

.blog__figure {
    margin: 0;
    overflow: hidden;
}

.blog__img {
    max-width: 390px;
    width: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 230px;
    transition: all .3s ease;
}

.blog__img:hover {
    transform: scale(1.1);
}

.blog__postinfo {
    padding: 1.5rem 2rem 3rem 3rem;
    font-size: 1.2rem;
    font-weight: 400;
}

.blog__categories {
    margin-bottom: 1.5rem;
}

.blog__categories a {
    color: #6fa600;
}

.post-title {
    margin-bottom: 1.5rem;
}

.post-title a {
    color: #5F686F;
    line-height: 1;
    font-size: 16px;
    transition: all .3s ease;
}

.post-title a:hover {
    color: var(--clr-primary);
}

.blog__postinfo .item {
    font-size: 12px;
    font-style: normal;
    color: #999999;
    font-weight: normal;
    display: inline-block
}

.post-date .icon-clock {
    margin: 0 5px;
}

.blog__col .slick-dots button {
    display: none;
}

.blog__col .slick-arrow {
    font-size: 0;
    border: none;
    background: transparent;
    color: transparent;
}

.blog__col:hover .slick-prev:before,
.blog__col:hover .slick-next:after {
    content: '';
    width: 40px;
    height: 45px;
    background-image: url('/img/next.png');
    display: inline-block;
    background-size: 50px 50px;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    z-index: 99;
    cursor: pointer;
}


.blog__col:hover .slick-prev:before {
    left: -25px;
    transform: rotate(-180deg);
}

.blog__col:hover .slick-next:after {
    right: -25px;
}

/* newslater */

.newslaterform__item {
    color: white;
    padding: 80px 30px;
    /* height: 300px; */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 15px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.newslaterform__item:before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, .4);
    z-index: -1;
}

.newslater__heading {
    font-size: 36px;
}

.newslaterform__form {
    border-radius: 25px;
    max-width: 535px;
    width: 100%;
    position: relative;
    margin: auto;
    z-index: 99;
}

.newslaterform__form input[type="email"] {
    padding: 12px 140px 12px 25px;
    width: 100%;
    border: none;
    border-radius: 25px;
}

.newslaterform__form input[type="email"]:focus {
    outline: none;
}

.newslaterform__form button {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: red;
}

.newslaterform__form label {
    display: none;
}

/* counter */

.counter__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.counter__popular {
    padding: 40px 30px;
    border: 1px solid rgba(153, 153, 153, .5);
    border-radius: 15px;
    display: flex;
    gap: 0 30px;
    align-items: center;
    max-width: 330px;
    width: 100%;
    margin: 15px;
}

.counter__popular:hover .counter__icon-animation {
    transform: scale(1.1);
}

.counter__icon .counter__icon-animation {
    background-color: rgba(237, 235, 252, .5);
    display: flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all .3s ease;
}

.counter__icon .icon {
    width: 40px;
    height: 40px;
}

.counter__info-box {
    font-size: 25px;
}

.counter__description {
    font-size: 14px;
    text-transform: uppercase;
    color: #999999;
    white-space: nowrap;
}

/* style by hriday */

.login-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    background-color: rgba(0, 0, 0, .2);
    flex-direction: column;
    padding: 50px 0;
    background-repeat: no-repeat;
    background-position: top left;
    background-attachment: scroll;
    background-size: contain;
    background-blend-mode: overlay;
}

.pp-control {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.pp-control img {
    width: 150px;
    border-radius: 50%;
    height: 150px;
    object-fit: cover;
}

form#login-form {
    background: #ffff;
    padding: 50px 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 4px;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, .50);
}


.form-group {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.form-group label {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
}

.form-group .form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

h1.loginTitle {
    margin-bottom: 50px;
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.flex.items-center.justify-end.mt-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 5px;
}

.button {
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 15px;
    font-weight: 600;
    background: #0d6efd;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.5s linear;
}

.seco-button {
    background-color: #000000;
}

.primary-button {
    background: #0d6efd;
}

.primary-button:hover {
    background: #000;
}

.seco-button:hover {
    background-color: var(--clr-primary);
}


ul.deal-week__grid.tag_grid {
    text-align: center;
}

ul.deal-week__grid.tag_grid li {
    text-align: center;
    margin: 0 auto;
}

figure.tag_image {
    margin: 0;
    padding: 10px;
    background: #dfdfdf;
    border-radius: 50%;
    overflow: hidden;
    height: 200px;
    width: 200px;
}

figure.tag_image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    object-position: center;
}

ul.deal-week__grid.tag_grid h3.post-title {
    margin-top: 25px;
}

ul.pagination li {
    display: inline-block;
}

ul.pagination li span,
ul.pagination li a {
    padding: 10px 15px;
    border: 1px solid #000;
    text-decoration: none;
    font-size: 16px;
    color: #000;
    transition: all 0.5s ease-in-out;
}

ul.pagination li.active span,
ul.pagination li.active a,
ul.pagination li:hover span,
ul.pagination li:hover a {
    padding: 10px 15px;
    border: 1px solid #000;
    text-decoration: none;
    color: #fff;
    background-color: #000000;
}

section.page-hero {
    background: #F6F6F9;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
}

.blog__col.all-blogs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.blog__col.all-blogs .blog__card {
    width: calc(25% - 30px);
    margin-top: 25px;
}

section.page-single-hero {
    position: relative;
    height: 50vh;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    padding: 15px 0;
}

section.page-single-hero::after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(252, 252, 252, 0.25);
    z-index: 1;
}

.single-blog-title {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
    z-index: 10;
}

/* pdf-nav-lists */
.pdf-viewer-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.pdf-nav-verticle {
    width: 150px;
}

div#pdfViewer {
    width: calc(100% - 170px);
}

ul.pdf-nav-lists {
    background-color: #000;
    margin-top: 15px;
}

li.pdf-nav-item {
    border-bottom: 1px solid #fff;
}

li.pdf-nav-item.active {
    border-bottom: 1px solid var(--clr-primary);
}

li.pdf-nav-item.active a {
    background-color: var(--clr-primary);
}

ul.pdf-nav-lists a {
    text-decoration: none;
    color: #fff;
    display: block;
    padding: 10px 20px;
}

.inline-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.register-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.register_text,
.register_form {
    width: calc(50% - 15px);
}

.inline-group .form-group {
    width: calc(50% - 15px);
}

/* media */

@media(max-width: 1259px) {

    .deal-week__col:nth-child(4):after,
    .deal-week__col:nth-child(8):after,
    .deal-week__col:nth-child(12):after {
        background-color: transparent;
    }
}

@media(max-width: 1024px) {
    .login-text {
        display: none;
    }

    .add-item:nth-child(2) {
        border: none;
    }
}

@media(max-width: 768px) {
    .hero__caption {
        left: 3%;
    }

    .productcategories__grid-2,
    .productcategories__grid {
        grid-template-columns: 1fr;
        margin-bottom: 10px;
    }

    .deal-week__col:after {
        background-color: transparent;
    }

    .counter__grid {
        gap: 5px 15px;
    }

    .counter__popular {
        margin: 15px auto;
        padding: 40px 15px;
    }

}

@media(max-width: 480px) {

    .newslaterform__form input[type="email"] {
        margin-bottom: 10px;
    }

    .newslaterform__form button {
        right: 31%;
        bottom: -40px;
    }

    .counter__popular {
        margin: 15px auto;
    }
}