/* ==========================================
   FOODEXPRESS - CUSTOM STYLES (ACCESSIBILITY & MODERN)
   ========================================== */

/* Cài đặt chung cho trang web */
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    /* Tăng độ mượt hiển thị font chữ trên màn hình điện thoại */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #f8fafc;
    color: #0f172a; /* Tăng độ đậm màu chữ chính để hiển thị sắc nét, dễ nhìn hơn */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
    font-size: 16px; /* Chuẩn hóa cơ bản cỡ chữ lớn hơn một chút */
    line-height: 1.5;
}

/* Ẩn thanh cuộn ngang cho danh mục (Categories horizontal scroll) */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hiệu ứng chuyển động mượt mà cho card món ăn */
.food-card, .food-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.food-card:active, .food-item:active {
    transform: scale(0.98);
}

/* Tùy chỉnh màu sắc viền và shadow cho phong cách Modern Minimalism */
.app-shadow {
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
}

/* ==========================================
   NÂNG CẤP CỠ CHỮ & ĐỘ RÕ RÀNG (CHO NGƯỜI MẮT KÉM)
   ========================================== */

/* Tiêu đề các mục to rõ */
h1, h2, h3, h4 {
    letter-spacing: -0.025em;
}

/* Tăng kích thước và độ đậm chữ tên món ăn */
.food-item h3 {
    font-size: 1rem !important; /* ~16px, to và rõ ràng */
    font-weight: 800 !important;
    color: #0f172a !important;
}

/* Tăng kích thước chữ mô tả phụ */
.food-item p {
    font-size: 0.85rem !important; /* ~13.5px */
    font-weight: 500 !important;
    color: #475569 !important; /* Màu xám đậm hơn giúp dễ đọc */
}

/* Tăng kích thước và độ nổi bật của giá tiền */
.food-item .text-orange-600, 
.food-item span.font-black,
.food-item span.font-extrabold {
    font-size: 1.1rem !important; /* Giá tiền to rõ */
    font-weight: 900 !important;
}

/* Tăng kích thước chữ trên các nút bấm (Button) để dễ chạm, dễ đọc */
button, .btn-action {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

/* Thanh tìm kiếm to rõ, chữ nhập vào lớn dễ nhìn */
input[type="text"], input[type="tel"], input[type="number"], textarea, select {
    font-size: 1rem !important; /* ~16px giúp điện thoại không bị tự động zoom phóng khó chịu */
    font-weight: 600 !important;
    color: #0f172a !important;
}

input::placeholder, textarea::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}