@media (max-width: 767.98px) {
    html,
    body {
        overflow-x: hidden;
    }

    body {
        font-size: 14px;
        line-height: 1.55;
    }

    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    section,
    .section,
    .py-80,
    .py-60,
    .product-details.product-detail-page {
        padding-bottom: 22px !important;
        padding-top: 22px !important;
    }

    .mb-24 {
        margin-bottom: 16px !important;
    }

    .p-24 {
        padding: 16px !important;
    }

    h1,
    .h1 {
        font-size: 24px;
        line-height: 1.22;
    }

    h2,
    .h2,
    .demo-title {
        font-size: 21px;
        line-height: 1.25;
    }

    h3,
    .h3 {
        font-size: 18px;
        line-height: 1.3;
    }

    h4,
    .h4 {
        font-size: 17px;
    }

    h5,
    .h5 {
        font-size: 16px;
    }

    p,
    .demo-muted,
    .text-muted,
    label,
    input,
    select,
    textarea,
    .btn {
        font-size: 13px;
    }

    .btn {
        min-height: 40px;
        padding: 9px 12px;
    }

    .form-control,
    .form-select,
    input,
    select {
        min-height: 40px;
    }

    .breadcrumbs,
    .bread-inner {
        padding-bottom: 8px !important;
        padding-top: 8px !important;
    }

    .bread-list {
        align-items: center;
        display: flex;
        gap: 6px;
        overflow: hidden;
        white-space: nowrap;
    }

    .bread-list li,
    .bread-list a {
        font-size: 12px;
    }

    .table-responsive,
    .cart-table,
    .checkout-wrapper {
        overflow-x: auto;
    }

    img {
        max-width: 100%;
    }

    .footer,
    footer {
        padding-bottom: 18px;
        padding-top: 22px;
    }
}

@media (max-width: 575.98px) {
    .row {
        --bs-gutter-x: 14px;
    }

    .card,
    .product-card,
    .shop-single-blog,
    .customer-panel,
    .order-success-card {
        border-radius: 8px;
    }

    .header,
    .mobile-menu,
    .nav-menu {
        max-width: 100vw;
    }
}
