body,
.mobile-shell {
    background: #f8f9fa !important;
}

.mobile-bottom-nav,
.bottom-nav,
.mobile-tabbar {
    display: none !important;
}

.home-page {
    /* padding: 12px 12px 34px; */
    color: #17231d;
    max-width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
}

.home-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
}

.home-header > div:first-child {
    flex: 1;
    min-width: 0;
}

.home-store-name {
    font-size: clamp(20px, 4vw, 20px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 6px;
    color: #1a1a1a;
    word-wrap: break-word;
}

.home-address {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    color: #6b7280;
    font-size: clamp(12px, 3vw, 13px);
    line-height: 1.4;
}

.home-address span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-address i {
    color: #9ca3af;
    font-size: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.lang-btn {
    border: 0;
    border-radius: 10px;
    background: #ffffff;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: clamp(12px, 3vw, 14px);
    color: #1a1a1a;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    white-space: nowrap;
}

.lang-btn img {
    width: 18px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px;
    min-width: 140px;
    display: none;
    z-index: 100;
    border: 1px solid #e5e7eb;
}

.lang-dropdown.show {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 14px;
    font-weight: 500;
}

.lang-option:hover {
    background: #f3f4f6;
}

.lang-option.active {
    background: #d1fae5;
    color: #059669;
}

.lang-option img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
}

.hero-swiper-container {
    margin-bottom: 16px;
    width: 100%;
    max-width: 100%;
}

.heroSwiper {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
}

.swiper-slide {
    height: auto;
    width: 100%;
}

.hero-banner {
    min-height: 160px;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .35), transparent 30%),
        linear-gradient(135deg, #059669 0%, #10b981 50%, #6ee7b7 100%);
    position: relative;
    padding: 20px 16px;
}

.hero-banner-2 {
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .35), transparent 30%),
        linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%);
}

.hero-banner-3 {
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .35), transparent 30%),
        linear-gradient(135deg, #3b82f6 0%, #60a5fa 50%, #93c5fd 100%);
}

.hero-banner h2 {
    color: #ffffff;
    font-size: clamp(20px, 5vw, 28px);
    line-height: 1.2;
    font-weight: 800;
    max-width: 100%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin: 0 0 8px;
    word-wrap: break-word;
}

.hero-banner p {
    color: rgba(255, 255, 255, .95);
    font-size: clamp(12px, 3vw, 14px);
    font-weight: 600;
    max-width: 100%;
    margin: 0;
    line-height: 1.5;
    word-wrap: break-word;
}

.swiper-pagination {
    position: relative !important;
    margin-top: 12px;
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 4px;
    background: #059669;
}

.hero-food-image {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.hero-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.98);
    color: #059669;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: clamp(9px, 2.5vw, 11px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.hero-banner-2 .hero-badge {
    color: #92400e;
}

.hero-banner-3 .hero-badge {
    color: #1e40af;
}

.slider-dot {
    display: none;
}

.welcome-card {
    text-align: center;
    /* margin-bottom: 14px; */
    background: transparent;
    padding: 18px 16px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    display: none;
}

.welcome-title {
    font-size: clamp(20px, 5vw, 24px);
    font-weight: 900;
    margin-bottom: 12px;
    color: #1a1a1a;
    word-wrap: break-word;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.welcome-title span {
    color: #10b981;
    text-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
    font-weight: 900;
    white-space: nowrap;
}

.welcome-title i {
    font-size: clamp(18px, 4.5vw, 22px);
    color: #10b981;
    animation: editPulse 2s ease-in-out infinite;
    flex-shrink: 0;
    margin-left: 4px;
}

@keyframes editPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.table-line {
    font-size: clamp(15px, 4vw, 18px);
    color: #374151;
    font-weight: 700;
    word-wrap: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.table-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    padding: 10px 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 0;
    color: #78350f;
    font-weight: 900;
    font-size: clamp(18px, 5vw, 24px);
    letter-spacing: 1px;
    animation: tableBadgePulse 2s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(254, 243, 199, 0.6);
}

@keyframes tableBadgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.point-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #d1fae5;
    border: 0;
    border-radius: 16px;
    padding: 14px 16px;
    color: #065f46;
    font-size: clamp(13px, 3.5vw, 16px);
    font-weight: 700;
    margin-bottom: 14px;
    text-decoration: none;
    width: 100%;
    max-width: 100%;
}

.point-card span {
    flex: 1;
    word-wrap: break-word;
}

.point-card i.fa-gift {
    margin-right: 6px;
    font-size: clamp(18px, 4.5vw, 22px);
    color: #059669;
    flex-shrink: 0;
}

.point-card i.fa-chevron-right {
    flex-shrink: 0;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
    width: 100%;
}

@media (max-width: 360px) {
    .quick-actions {
        gap: 8px;
    }
}

.quick-actions.has-history {
    grid-template-columns: repeat(2, 1fr);
}

.quick-card {
    position: relative;
    overflow: hidden;
    min-height: 110px;
    aspect-ratio: 1;
    border-radius: 16px;
    padding: 12px 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-decoration: none;
    width: 100%;
}

.quick-card:active {
    transform: scale(0.97);
}

@media (max-width: 380px) {
    .quick-card {
        min-height: 100px;
        padding: 10px 8px 8px;
    }
}

.quick-card.payment {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
}

.quick-card.staff {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.quick-card.review {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}
.quick-card.history {
    background: #dcfce7;
}
.quick-card.special-history {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid #86efac;
}
.history-badge-new {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    z-index: 10;
}

.quick-content {
    position: relative;
    z-index: 5;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 700;
    line-height: 1.25;
    color: #1f2937;
    max-width: 70%;
    margin-top: 0;
    word-wrap: break-word;
    hyphens: auto;
}

@media (max-width: 380px) {
    .quick-content {
        font-size: 11px;
        max-width: 65%;
    }
}

.quick-card.payment .quick-content {
    color: #1e3a8a;
}

.quick-card.staff .quick-content {
    color: #065f46;
}

.quick-card.review .quick-content {
    color: #78350f;
}

.quick-bg {
    position: absolute;
    right: 0;
    bottom: 0;
    transform: none;
    width: clamp(50px, 14vw, 68px);
    height: clamp(50px, 14vw, 68px);
    object-fit: contain;
    z-index: 1;
    opacity: 0.9;
}

@media (max-width: 380px) {
    .quick-bg {
        width: 48px;
        height: 48px;
    }
}

.menu-cta {
    position: relative;
    overflow: hidden;
    min-height: 100px;
    border-radius: 20px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    text-decoration: none;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.menu-cta:active {
    transform: scale(0.98);
}

.menu-content {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.menu-title {
    font-size: clamp(18px, 4.5vw, 24px);
    line-height: 1.3;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.15);
    word-wrap: break-word;
    flex: 1;
}

.menu-bg {
    position: absolute;
    right: 8px;
    bottom: 50%;
    transform: translateY(50%) rotate(-8deg);
    width: clamp(90px, 25vw, 130px);
    height: clamp(90px, 25vw, 130px);
    object-fit: contain;
    z-index: 1;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .15));
}

.menu-arrow {
    position: static;
    flex-shrink: 0;
    width: clamp(36px, 9vw, 42px);
    height: clamp(36px, 9vw, 42px);
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
    transition: .3s ease;
}

.menu-cta:hover .menu-arrow {
    transform: translateX(4px);
    background: rgba(255,255,255,.35);
}

.menu-cta.menu-orange {
    min-height: 100px;
    border-radius: 20px;
    padding: 18px 16px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.menu-cta.menu-orange::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.3), transparent 30%);
    z-index: 2;
}
.floating-support {
    position: fixed;
    right: 16px;
    bottom: 20px;
    width: clamp(52px, 13vw, 60px);
    height: clamp(52px, 13vw, 60px);
    border-radius: 18px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(22px, 5.5vw, 26px);
    text-decoration: none;
    z-index: 99;
    transition: .25s ease;
}

.floating-support:hover {
    transform: translateY(-3px) scale(1.04);
}

.floating-support::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 22px;
    border: 2px solid rgba(16, 185, 129, .25);
    animation: supportPulse 1.8s infinite;
}

@keyframes supportPulse {
    0% {
        transform: scale(.9);
        opacity: .9;
    }

    100% {
        transform: scale(1.22);
        opacity: 0;
    }
}

/* Order History Section */
.order-history-section {
    margin-bottom: 24px;
    width: 100%;
    max-width: 100%;
}

.order-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 4px;
    flex-wrap: wrap;
    gap: 8px;
}

.order-history-header h3 {
    font-size: clamp(18px, 4.5vw, 20px);
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-history-header h3 i {
    color: #059669;
    font-size: clamp(16px, 4vw, 18px);
}

.view-all-link {
    font-size: clamp(13px, 3.5vw, 14px);
    font-weight: 700;
    color: #059669;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.view-all-link:hover {
    color: #047857;
    gap: 6px;
}

.view-all-link i {
    font-size: 11px;
}

.order-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-history-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px;
    border: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    display: block;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.order-history-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #059669 0%, #10b981 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.order-history-card:hover::before,
.order-history-card:active::before {
    opacity: 1;
}

.order-history-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 0;
    border-bottom: 0;
}

.order-number {
    font-size: clamp(15px, 4vw, 17px);
    font-weight: 800;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-number i {
    color: #10b981;
    font-size: clamp(14px, 3.5vw, 16px);
}

.order-status {
    font-size: clamp(9px, 2.5vw, 10px);
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

.order-status.status-pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.order-status.status-confirmed {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
}

.order-status.status-preparing {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    color: #4338ca;
}

.order-status.status-completed {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.order-status.status-cancelled {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.order-card-body {
    margin-bottom: 0;
}

.order-items-preview {
    margin-bottom: 14px;
    padding: 12px 14px;
    background: #f9fafb;
    border-radius: 14px;
    border: 1px solid #f3f4f6;
}

.order-item-mini {
    font-size: clamp(13px, 3.5vw, 15px);
    color: #374151;
    font-weight: 600;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.item-variant {
    color: #6b7280;
    font-weight: 500;
    font-size: clamp(12px, 3vw, 14px);
}

.order-item-more {
    font-size: clamp(12px, 3vw, 13px);
    color: #9ca3af;
    font-style: italic;
    margin-top: 6px;
    font-weight: 500;
}

.order-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    border-top: 0;
}

.order-time {
    font-size: clamp(12px, 3vw, 13px);
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.order-time i {
    font-size: clamp(11px, 2.8vw, 12px);
}

.order-total {
    font-size: clamp(17px, 4.5vw, 20px);
    font-weight: 900;
    color: #10b981;
    letter-spacing: -0.5px;
}
