@import url('https://fonts.googleapis.com/css2?family=Share+Tech&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

@media screen and (max-width: 400px) {
    .img_banner {
        height: 400px !important;
    }

    .cart_dropdown  {
        transform: translateX(14%);
    }

    .carousel_buttons_div {
        display: none;
    }

    .div_latest_products {
        justify-content: center !important;
    }

    .div_latest_products .card {
        height: 450px !important;
        margin-bottom: 50px !important;
    }

    .div_latest_products .card .btn {
        opacity: 1 !important;
    }

    .categories_row {
        flex-direction: column !important;
        align-items: center;
    }

    .categories_row a {
        margin-bottom: 20px;
    }

    .categories_row img {
        width: 300px;
        height: 300px;
    }

    .images_col {
        display: none !important;
    }

    .images_col_2 {
        display: flex !important;
    }

    .col-9 {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .images_col_2 img {
        width: 100px;
        height: 100px;
    }

    #cart_products {
        display: none;
    }

    #cart_products_2 {
        display: flex !important;
    }

    .col-md-8 {
        padding-right: calc(var(--bs-gutter-x) * .5) !important;
    }

    #shipping_cost {
        margin-top: 10px;
    }

    #total {
        margin-bottom: 30px;
    }

    .div_info .col-md-4 {
        margin-bottom: 20px;
    }

    footer .row {
        flex-direction: column !important;
    }

    footer .col {
        margin-bottom: 30px;
    }

    footer .ebay_div {
        align-items: flex-start !important;
    }
}

#cartDropdown.dropdown-toggle::after {
    display: none;
}

.cart_dropdown {
    width: 300px;
}

.input_search {
    width: 200px;
    font-weight: 500 !important;
    border-radius: 50px;
}

.input_search::placeholder {
    background-image: url(https://img.icons8.com/ios-glyphs/20/000000/search--v1.png);
    background-repeat: no-repeat;
    background-position: left;
}

.img_banner {
    height: 500px;
    object-fit: cover;
    overflow: hidden;
    will-change: transform,opacity;
    touch-action: pan-y;
}

.title_section {
    font-family: Share Tech;
}

.carousel_buttons_div {
    top: 50%;
    transform: translateY(-50%);
}

.div_latest_products .card {
    width: 17rem;
    height: 400px;
    font-family: Open Sans;
    margin-right: 40px;
    margin-bottom: 20px;
    padding: 0;
    border-top: none;
    border-bottom: none;
    border-radius: 0;
    transition: height 0.3s ease, border 0.3s ease;
}

.div_latest_products .card:hover {
    height: 450px !important;
}

.div_latest_products .card .latest_product_img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.div_latest_products h5 {
    font-weight: 500;
}

.div_latest_products .card p {
    font-family: Open Sans;
    font-size: 15px;
}

.div_latest_products h4 {
    font-size: 23px;
    font-family: Share Tech;
}

.div_latest_products .card .btn {
    opacity: 0;
    transition: all .3s ease-in-out;
}

.div_latest_products .card:hover .btn {
    opacity: 1;
}

.categories_row img {
    object-fit: cover;
}

.categories_row .position-absolute {
    background: rgba(0, 0, 0, .7);
    padding-top: 7px;
    padding-bottom: 7px;
    bottom: -7px;
    font-family: Share Tech;
    font-weight: 700;
}

.categories_row h3 {
    background: white;
    font-family: Share Tech;
    font-weight: 700;
    position: absolute;
    bottom: 0;
}

.categories_row_2 .category_img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 0;
    transition: opacity 0.3s ease;
}

.categories_row_2 .category_img:hover {
    opacity: 0.8;
}

.categories_row_2 h3 {
    background: white;
    font-family: Share Tech;
    font-weight: 700;
    color: black;
    margin: 0;
    transition: background 0.3s ease;
}

.categories_row_2 a:hover h3 {
    background: #f5f5f5;
}

.see_more_categories_btn {
    font-family: Open Sans;
    font-size: 17px;
    font-weight: 600;
}

.product_img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0;
}

.thumbnail_img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border: 1px solid #ddd;
}

.thumbnail_img:hover {
    opacity: 0.8;
    border: 1px solid #000;
}

.product_description {
    font-family: Open Sans;
    font-size: 16px;
    line-height: 1.6;
}

.product_details {
    font-family: Open Sans;
    font-size: 15px;
}

.btn-dark {
    font-family: Share Tech;
    font-size: 20px;
}

.table th, .table td {
    display: table-cell;
    vertical-align: middle;
    padding: 15px;
}

.table img {
    object-fit: cover;
    max-height: 60px;
}

.table .quantity-input {
    width: 60px;
    text-align: center;
}

.cart_container {
    font-family: Open Sans;
}

.div_info {
    background: #e2eafb;
    font-family: Open Sans;
}

.font_sans {
    font-family: Open Sans;
}

footer h4 {
    font-family: Share Tech;
}

footer a {
    font-family: Open Sans;
    font-weight: 300;
    margin-bottom: 10px;
}

footer h6 {
    font-family: Open Sans;
    font-weight: 300;
}