body {
    font-family: 'Inter', sans-serif; /* Using Inter for consistent styling */
    background-color: #f8f9fa; /* Light background */
    align-items: center;
    min-height: 100vh;
    margin: 0;
}
.card {
    width: 100%;
    padding: 2rem;
}
.header-section, .detail-section {
    margin-bottom: 1rem;
}
.header-section {
    border-bottom: 1px solid #e0e0e0;
}
.detail-item, .price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}
.detail-item span:first-child, .price-item span:first-child, .text-muted {
    color: rgba(20, 20, 20, 0.6) !important;
}

.status-success {
    color: rgba(12, 108, 68, 1); /* Green for success */
    font-weight: 600;
}
.discount-amount {
    color:rgba(12, 108, 68, 1); /* Green for discount */
    font-weight: 600;
}
.free-delivery {
    color: rgba(12, 108, 68, 1); /* Green for free delivery */
    font-weight: 600;
}
.total-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #343a40;
}

.less-details {
    color: #007bff; /* Bootstrap primary blue */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}
.subtotal-section {
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
}
.subtotal-section .subtotal-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #343a40;
}
.subtotal-section .subtotal-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #343a40;
}

/*
 * Base styles would be your default (larger) font sizes for wider screens.
 * This ensures a "mobile-first" approach where we define the smallest
 * font sizes first, and then scale up for larger screens.
 */

/* Example: Assuming these are your desired font sizes for medium to large screens */
.total-price {
    font-size: 1.5rem;
}
.less-details {
    font-size: 0.9rem;
}
.x-fs-15 { /* Assuming this class is meant for a specific font size */
    font-size: 15px; /* or whatever its intended base size is */
}
.subtotal-section .subtotal-label {
    font-size: 1.2rem;
}
.subtotal-section .subtotal-amount {
    font-size: 1.2rem;
}
/* ... and any other text elements you want to control */

/* Media Query for Small Screens (e.g., less than 576px wide - typical for mobile) */
@media (max-width: 575.98px) {
    /* Adjust font sizes downwards for smaller screens */
    .total-price {
        font-size: 1.2rem; /* Smaller total price */
    }
    .less-details {
        font-size: 0.75rem; /* Smaller "Less Details" link */
    }
    .x-fs-15 {
        font-size: 12px; /* Smaller for your custom font size class */
    }
    .subtotal-section .subtotal-label,
    .subtotal-section .subtotal-amount {
        font-size: 1rem; /* Smaller subtotal text */
    }
    /* You might also consider slightly reducing padding or margins if text still feels cramped,
       but this focuses purely on font size as requested. */
    .card {
        padding: 1rem; /* A slight reduction in overall card padding for very small screens */
    }
}

/* Optional: For even tinier screens or specific phones if needed */
@media (max-width: 374.98px) {
    .total-price {
        font-size: 1.1rem;
    }
    .less-details {
        font-size: 0.7rem;
    }
    /* Add more specific font size reductions here if necessary */
}