﻿body {
    line-height: unset
}

.main-container {
    max-width: 1100px;
    margin: 0 auto;
}

.search {
    width: 100%;
    padding: 20px 0 0 0;
}

    .search > div {
        width: 100%;
    }

.search-icon {
    float: left;
    position: relative;
    bottom: 43px;
    left: 5px;
}

.card {
    max-width: 258px;
    max-height: 388px;
    border-radius: 6px;
    overflow: hidden;
    background-color: white;
    position: relative
}

.card-container {
    height: 425px;
}

.topViewCard {
    display: flex;
    flex-direction: column;
}

.bottomViewCard {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cardImg {
    max-width: 258px;
    max-height: 300px;
    width: 100%;
    height: 100%;
}

.cart-icon-btn svg {
    width: 17px;
    height: 17px;
    color: white !important
}

.learn {
    color: #374A59;
    font-size: 15px;
}

.learn-word {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 188px;
    white-space: pre;
}

.price {
    padding: 5px 10px;
    font-weight: 1000;
    text-align: start;
    font-size: 20px;
    color: #9B0000;
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 15px;
}

.old-price-descount-strike {
    position: relative;
    white-space: nowrap;
    font-weight: 1000;
    font-size: 15px;
    text-align: center;
    color: #9B0000;
    display: flex;
    justify-content: center;
    gap: 15px;
}

    .old-price-descount-strike:after {
        border-top: 1px solid #9b0700;
        position: absolute;
        content: "";
        right: 0;
        width: 100%;
        top: 50%;
        background: #9b0700;
    }

.bundle-title {
    font-weight: bold;
    font-size: 14px;
    height: 50px;
}

.cards-button > div > button:nth-of-type(1) {
    background-color: white;
    color: #0e385e;
    width: 100%;
    box-shadow: unset;
    border-radius: 5px;
    /*max-height: 30px;*/
    border: 1px solid #0e385e;
}

.cards-button > button:nth-child(1):hover {
    background-color: #0e385e;
    box-shadow: unset;
}

.cards-button > button:nth-child(1) {
    background-color: #0e385e;
    color: white;
    width: 100%;
    box-shadow: unset;
    border-radius: 5px;
    max-height: 30px;
}

.cards-button > div > button:nth-of-type(1):hover {
    background-color: white;
    box-shadow: unset;
}

.cards-button {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 5px 10px;
    min-width: 62%;
    justify-content: center;
}

.cards-container {
    display: flex;
    gap: 22px;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    margin: -1px 0 59px;
    justify-content: center;
    min-height: 50vh;
    /*padding-top: 40px*/
}

.cards-body {
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    white-space: pre-wrap;
    max-width: 258px;
    min-height: 155px;
    max-height: 300px;
}

.bundles-about-box-contaier {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 15px 0px;
    width: 100%;
    background: #145189;
    color: white;
    border-radius: 5px;
    padding: 15px 0px;
    min-height: 64vh;
    position: relative
}

.bundles-about-box-top {
    display: flex;
    justify-content: flex-start;
    align-items: start;
    width: 100%;
    padding: 10px;
    direction: ltr;
    gap: 40px;
}

    .bundles-about-box-top > h2 {
        color: white;
        font-size: 22px;
    }

    .bundles-about-box-top > img {
        max-width: 35%;
        width: 25%;
        margin-left: 15px;
    }

.bundles-about-box-top-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 15px;
}

.bundles-about-box-bottom-inner > h2 {
    color: white;
    width:100%;
    text-align:center
}
.bundles-about-box-bottom-inner p {
    text-align: center;
    font-size: 17px
}

.bundles-about-box-top-inner > h2 {
    text-align: center;
    color: white;
}

.bundles-about-box-top-inner > p {
    text-align: center;
}

.bundles-about-box-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    min-width: fit-content;
    position: absolute;
    top: 26%;
    right: -30px;
    gap: 15px;
}

.bundles-about-box-bottom-first {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 75%;
    flex-wrap: wrap;
    gap: 10px;
    min-width: fit-content;
}

    .bundles-about-box-bottom-first > h2 {
        width: 100%;
        text-align: center;
        color: white;
    }

    .bundles-about-box-bottom-first > p {
        border: 1px solid white;
        padding: 5px 40px;
        border-radius: 5px;
    }

.bundles-about-box-bottom-second {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 75%;
    flex-wrap: wrap;
    gap: 10px;
    min-width: fit-content;
}

    .bundles-about-box-bottom-second > h2 {
        width: 100%;
        text-align: center;
        color: white;
    }

    .bundles-about-box-bottom-second > p {
        border: 1px solid white;
        padding: 5px 30px;
        width: fit-content;
        border-radius: 5px;
    }

    .bundles-about-box-bottom-second > div {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        width: 75%;
        flex-wrap: wrap;
        gap: 10px;
        min-width: fit-content;
    }

        .bundles-about-box-bottom-second > div > p {
            border: 1px solid white;
            padding: 5px 30px;
            width: fit-content;
            border-radius: 5px;
        }

/*media queries*/
@media (max-width:768px) {
    .bundles-about-box-bottom {
        position: unset;
        top: unset;
        right: unset;
    }
    .bundles-about-box-top > img {
        display: none
    }

    .bundles-about-box-contaier {
        margin: 15px auto;
        width: 98%;
    }

    .bundles-about-box-top-inner {
        padding: 0
    }

    .cards-container {
        gap: 30px
    }
    .bundles-about-box-contaier {
        min-height: 58vh;
    }
}

@media (max-width:540px) {
    .bundles-about-box-top > h2 {
        font-size: 15px !important;
    }
    .bundles-about-box-bottom-inner > h2, .bundles-about-box-bottom-second > h2 {
        font-size: 12px !important;
    }
    .bundles-about-box-top-inner > h2, .bundles-about-box-bottom-first > h2 {
        font-size: 16px
    }

    .bundles-about-box-top {
        padding: 5px;
    }

    .bundles-about-box-contaier p {
        font-size: 11px;
    }

    .bundles-about-box-bottom-first > p:first-of-type, .bundles-about-box-bottom-first > p:nth-of-type(2) {
        width: 48%
    }

    .bundles-about-box-bottom-first > p:last-of-type {
        width: 98%
    }

    .bundles-about-box-bottom-second > p:not(:last-of-type) {
        width: 48%
    }

    .bundles-about-box-bottom-second > p:last-of-type {
        width: 98%
    }

    .bundles-about-box-bottom-second > div {
        width: 100%
    }

        .bundles-about-box-bottom-second > div p {
            width: 48%;
            font-size: 10px;
        }

    .price {
        font-size: 18px;
        align-items: center;
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    .old-price-descount-strike {
        font-size: 11px
    }

    .bundle-title {
        height: fit-content;
        padding: 0px 10px;
    }

    .cards-container {
        padding-top: unset;
        margin: unset;
        margin-top: unset;
        z-index: unset;
        gap: 30px;
        padding-top: unset;
    }

    .card-container {
        width: 100%;
        margin: 0px 10px;
        height: unset;
        z-index: unset;
        border: unset;
        max-width: unset;
        max-height: unset;
    }

    .card {
        border-radius: 6px;
        overflow: hidden;
        background-color: white;
        display: flex;
        flex-direction: column;
        box-shadow: 4px 3px 6px -3px;
        border: unset;
        max-width: unset;
        max-height: unset;
    }

    .topViewCard {
        display: flex;
        flex-direction: row-reverse;
        gap: 5px;
        padding: 5px;
    }

    .learn {
        font-size: 13px;
    }

    .cardImg {
        max-width: 200px;
        max-height: 150px;
        width: 100%;
        height: 100%;
        border-radius: 6px;
    }

    .cards-body {
        display: flex;
        flex-direction: column;
        padding: 5px 10px;
        width: 100%;
        overflow: hidden;
        white-space: pre-wrap;
        max-width: unset;
        min-height: unset;
        max-height: unset;
    }

    .bundle-title {
        font-weight: bold;
        font-size: 19px;
        text-align: center;
    }

    .bottomViewCard {
        padding-bottom: 3px;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .view-btn {
        display: none;
    }

    .buyNow-btn {
        background-color: white;
        color: #145189;
        width: 100%;
        border-radius: 5px;
        max-height: 30px;
    }

        .buyNow-btn > span {
            font-size: 20px;
            font-weight: bold;
        }
}


@media(max-width:400px) {
    .bundles-about-box-bottom-second > div > p, .bundles-about-box-bottom-first > p:last-of-type, .bundles-about-box-bottom-second > p:last-of-type {
        padding: 5px 10px;
        text-align: center
    }
    .bundles-about-box-bottom-second > p {
        padding: 5px 9px;
    }
    .bundles-about-box-contaier p {
        font-size: 10px;
    }

    .bundles-about-box-bottom-second > div p {
        width: 48%;
        font-size: 9px;
    }

    .cards-button {
        min-width: 60%;
    }

    .price {
        font-size: 14px;
    }

    .old-price-descount-strike {
        font-size: 11px;
    }
}
