@media (max-width: 767px) {
    .navbar-toggler {
        padding: 0;
        font-size: 30px;
        line-height: 1;
        background-color: transparent;
        border: 1px solid transparent;
        border-radius: .25rem;
    }

    .logo img {
        float: left;
        width: 60%;
    }

    .navbar-nav {
        display: block;
        padding: 15px;
    }
    
    .navbar {
        background-color: #fff;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        box-shadow: 0px 8px 12px 0px #00000016;
        z-index: 9999;
    }

    .nav-item {
        padding: 5px 20px;
        display: block;
    }

    header .fixed-top {
        padding: 0;
    }

    /* Home page */
    .home-header {
        padding: 0;
        height: auto;
    }

    .home-header .card {
        min-height: 230px;
        height: auto;
        width: auto!important;
        margin: 30% 5% 0 5%;
        box-shadow: 0px 2px 7px -2px #000;
    }

    .carousel-inner {
        height: 350px;
    }

    .home-header .card .card-title {
        margin-bottom: .75rem;
        font-size: 1.5rem;
    }

    /* About page */
    .about .card p {
        font-size: 25px;
    }

    /* Product pages */
    #carousel-custom {
        margin: 20px 0;
        width: 100%;
    }

    .product-page h1 {
        font-size: 20px;
    }

    .image-display {
        min-height: 60vmin;
    }

    .qty-up, .qty-down {
        top: 0;
    }

    input[type="range"] {
        width: 320px;
        height: 35px;
    }

    .product h5 {
        font-size: 17px;
    }

    .product-page {
        height: auto;
        padding-bottom: 30px;
    }

    /* Cart */
    .prod-desc {
        max-width: 100%;
        text-align: left;
        float: left;
        padding-right: 33px;
    }

    .mobi-delete {
        border-top: 0!important;
        padding: 0;
        text-align: center;
    }

    .mobi-delete i {
        font-size: 20px!important;
        margin: 0!important;
    }

    /* hide table headings */
    .table-responsive table thead {
        display: none;
    }

    /* treat rows like divs */
    .table-responsive table tr {
        display: block;
        /* border-bottom: 0; */
        margin-top: 5px;
        border-top: 0;
        vertical-align: top !important;
        border-color: transparent;
    }
    
    /* treat columns like divs */
    .table-responsive table td {
        display: block;
        justify-content: space-between!important;
        align-items: flex-start!important;
        border-bottom: 0;
    }

    .table-responsive table td>a {
        text-align: end;
        font-weight: 400;
    }

    .table-responsive table td>a>i {
        color: #000;
        font-size: 30px;
        margin: 0 10px 0 0;
        line-height: 60px;
        vertical-align: top;
    }

    /* this part is ugly, but necessary to show label on left */
    .table-responsive table td:before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
        display: block;
        width: 100%;
        text-align: left;
    }

    .table-responsive table td>img {
        width: 80% !important;
        text-align: left;
        margin: 5px 0;
        /* display: none; */
        float: left;
    }

    .mobi-delete {
        position: absolute;
        right: 0px;
        top: 0;
    }

    .mobi-delete a {
        font-size: 25px;
        line-height: 20px;
    }

    .qty-down, .qty-up {
        top: 0;
    }

    .table th:first-child, .table td:first-child {
        border-left: 0;
        padding: .5rem .5rem;
    }

    .table.cart-table td {
        flex-direction: column;
    }

    .cart-extra-cards .col-lg-7 img {
        width: 60%;
        height: auto;
    }

    /* FAQs */
    .accordion .card-header.active p {
        color: #28A5B4!important;
        font-size: 20px!important;
        font-weight: 600;
    }

    /* Modals */
    .close {
        font-size: 25px;
    }

    .modal {
        padding-right: 0!important;
    }

    .modal-content {
        border: none;
        border-radius: 0;
        outline: 0;
    }

    .modal-body .card-img {
        width: 100%;
    }

    .modal-body {
        padding: 0 2rem 2rem 2rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .logo img {
        float: left;
        width: 130px;
        text-align: left;
    }

    .navbar-toggler {
        padding: 0;
        font-size: 30px;
        line-height: 1;
        background-color: transparent;
        border: 1px solid transparent;
        border-radius: .25rem;
        text-align: right;
    }

    .navbar-nav {
        display: block;
        padding: 15px;
    }
    
    .navbar {
        background-color: #fff;
        position: absolute;
        left: auto;
        right: 0;
        top: 0;
        box-shadow: 0px 8px 12px 0px #00000016;
        width: 250px;
        z-index: 999;
    }

    .nav-item {
        padding: 5px 20px;
        display: block;
    }

    .home-header {
        min-height: auto;
        padding: 0;
    }

    .home-header .card {
        min-height: 230px;
        height: auto;
        width: 25rem!important;
        margin-top: 4%;
    }

    .about .card p {
        font-size: 30px;
    }

    .modal-body {
        padding: 0 2rem 2rem;
    }

    .modal-body .card-img {
        width: 100%;
    }

    .modal-title {
        margin-bottom: 0;
        line-height: 35px;
        vertical-align: middle;
        font-size: 30px;
    }

    /* FAQs */
    .accordion .card-header.active p {
        color: #28A5B4!important;
        font-size: 20px!important;
        font-weight: 600;
    }

    .our-products h5 {
        font-size: 18px;
    }

    .product-page h1 {
        font-size: 20px;
    }

    .image-display {
        min-height: 20vmin;
    }

    .product .btn-primary.blue {
        padding: 10px 10px !important;
    }

    .product img {
        width: 90%;
        height: auto;
    }

    .product h5 {
        font-size: 18px;
    }

    .product .card-body {
        padding: 0 1.25rem;
    }

    .cart-extra-cards .col-lg-7 img {
        width: 60%;
        height: auto;
    }

    .next {
        right: -20px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .logo img {
        width: 15%;
        margin-bottom: 10px;
    }

    .about .card p {
        font-size: 25px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0;
        padding-left: 0;
    }

    .carousel-indicators {
        max-height: none;
        list-style: none;
        overflow: auto;
        margin-bottom: 0;
    }

    .carousel-indicators li {
        width: 230px;
        height: auto;
        border-top: 0px solid transparent;
        margin-bottom: 5px;
    }

    .home-header .card {
        background-color: #fff;
        min-height: 240px;
        height: auto;
        width: 25rem!important;
        margin-top: 7%;
    }

    /* FAQs */
    .accordion .card-header.active p {
        color: #28A5B4!important;
        font-size: 20px!important;
        font-weight: 600;
    }

    .accordion {
        padding: 30px 0;
    }
    /* Products */
    .image-display {
        min-height: 30vmin;
    }

    input[type="range"] {
        width: 350px;
        height: 35px;
    }

    .product-page h1 {
        font-size: 30px;
    }

    .next {
        right: -20px;
    }
}

@media (min-width: 1200px) and (max-width: 1600px) {
    .logo img {
        width: 50%;
    }

    .home-header .card {
        margin-top: 14%;
        min-height: 240px;
        height: auto;
        width: 27rem!important;
    }

    .carousel-indicators {
        max-height: none;
        overflow: auto;
        margin-bottom: 0;
    }

    .carousel-indicators li {
        width: 270px;
        height: auto;
        border-top: 0px solid transparent;
        margin-bottom: 10px;
        float: right;
    }

    /* FAQs */
    .accordion .card-header.active p {
        color: #28A5B4!important;
        font-size: 20px!important;
        font-weight: 600;
    }

    /* Products */
    .image-display {
        min-height: 40vmin;
    }

    .qty-up, .qty-down {
        top: 0;
    }

    .carousel__btn {
        top: 40%;
    }
}