﻿@media (max-width: 991px) {
    .offset-card {
        margin-top: 0; /* Remove stagger on tablets/mobiles */
    }
}

@media (min-width: 330px) and (max-width: 430px) {
    .wave-img {
        margin-top: -99px !important;
    }

    .mini-cart #place-order {
        margin-left: 20px;
        margin-top: 0 !important;
    }

    .product-hero {
        display: none;
    }
}


@media (max-width: 320px) {
    .wave-img {
        margin-top: -76px !important;
    }

    .product-hero {
        display: none;
    }

    .product-detail-image {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .banner-product-img {
        height: 250px !important;
    }

    .banner-content h1 {
        color: #00a859 !important;
        text-shadow: none !important;
    }

    .footer-Bottom-row {
        display: flex;
        flex-direction: column;
    }
    /*.wave-img {
        margin-top: -76px;
    }*/

    .why-us h2 {
        font-size: 1.75rem;
    }

    .why-us-card {
        text-align: center;
    }

    .why-us-icon-img {
        height: 50px;
    }

    .why-us-img img {
        max-width: 90%;
    }

    .fixed-buy-btn {
        padding: 10px 16px;
        width: 100% !important;
        bottom: 0 !important;
        border-radius: 0px;
        border: none !important;
        right: 0;
        font-size: 18px !important;
        display: flex;
        justify-content: center;
    }

        .fixed-buy-btn .btn-content i {
            text-align: center;
        }

    .left-box {
        align-self: safe center;
        text-align: center;
    }

    .right-box {
        align-self: safe center;
        text-align: center;
    }

    .cart-icon {
        width: 20px;
        height: 20px;
    }

    .product-bottle {
        max-height: 300px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .feature-box {
        margin-left: 15px;
        margin-right: 15px;
    }

    .feature-box-right {
        margin-left: 15px;
        margin-right: 15px;
    }

    .testimonials::before {
        top: 8%;
        left: 2%;
    }

    .testimonials::after {
        bottom: 2%;
        right: 5%;
    }

    .news-detail {
        padding: 5px;
        max-width: auto;
        margin: 30px auto;
    }

    .product-detail-image {
        height: 280px;
    }

    .product-thumbs-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .product-detail-main {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    table thead {
        display: none;
    }

    table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 10px;
    }

    table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 8px;
    }

        table tbody td::before {
            content: attr(data-label);
            font-weight: bold;
        }

    th[data-label="Qty"], td[data-label="Qty"] {
        padding: 0.75rem 0.5rem; /* more vertical space */
        text-align: center;
    }

    .input-group {
        justify-content: end;
    }

    .order-summary thead {
        display: none;
    }

    .order-summary tr {
        display: block;
        margin-bottom: 1rem;
        border-bottom: 1px solid #ddd;
    }

    .order-summary td {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
        border: none;
        width: 100%;
    }

        .order-summary td::before {
            content: attr(data-label);
            font-weight: 600;
        }

    .order-tracker {
        flex-wrap: wrap;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .order-step {
        flex: 1 1 50%;
        margin-bottom: 20px;
    }

    .order-tracker::before,
    .order-tracker::after {
        display: none;
    }

    .order-step .label {
        font-size: 0.75rem;
    }

    .orderNofontSize {
        font-size: 16px !important;
    }

    .myOrderTable {
        font-size: 14px !important;
    }
}
