@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

.search-input-wide { width:200px; }
@media (max-width:576px) {
    .search-input-wide { width:100%; max-width:100%; }
    .search-inline-flex { flex-wrap:wrap; gap:8px !important; width:100%; }
    .search-inline-flex input { flex:1; min-width:0; }
}
:root {
    --primary: #FF6B00;
    --primary-dark: #E55D00;
    --primary-light: #FFF0E5;
    --primary-glow: rgba(255,107,0,0.25);
    --secondary: #0F172A;
    --secondary-light: #1E293B;
    --surface: #1A1A2E;
    --success: #10B981;
    --success-light: #D1FAE5;
    --danger: #EF4444;
    --danger-light: #FEE2E2;
    --warning: #F59E0B;
    --warning-light: #FEF3C7;
    --info: #3B82F6;
    --info-light: #DBEAFE;
    --bg: #F8FAFC;
    --bg-alt: #F1F5F9;
    --white: #FFFFFF;
    --text: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.05);
    --shadow-card: 0 0 0 1px rgba(0,0,0,0.03), 0 2px 4px rgba(0,0,0,0.04), 0 12px 24px rgba(0,0,0,0.06);
    --shadow-hover: 0 0 0 1px rgba(0,0,0,0.04), 0 4px 8px rgba(0,0,0,0.06), 0 20px 40px rgba(0,0,0,0.1);
    --radius-sm: 0.5rem;
    --radius: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 0.875rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

::selection { background: var(--primary); color: #fff; }

/* ========== BUTTONS ========== */
.btn {
    font-weight: 600;
    letter-spacing: -0.01em;
    border-radius: var(--radius);
    padding: 0.6rem 1.4rem;
    transition: var(--transition-bounce);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,0,0.35);
}
.btn-outline-primary {
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    background: transparent !important;
}
.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: #fff !important;
    transform: translateY(-2px);
}
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: var(--radius-md); }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }

.text-primary { color: var(--primary) !important; }
.bg-primary { background: var(--primary) !important; }
.bg-primary-light { background: var(--primary-light) !important; }
.bg-secondary { background: var(--secondary) !important; }

/* ========== HEADER ========== */
.main-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: box-shadow 0.2s;
}
.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 64px;
    padding: 0 24px;
}
.header-logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
    white-space: nowrap;
    margin-right: 1.5rem;
}
.header-logo span { color: var(--secondary); font-weight: 800; }
.header-logo:hover { color: var(--primary); }
.header-search {
    position: relative;
    flex: 1;
    max-width: 420px;
}
.header-search input {
    border-radius: 999px;
    border: 1.5px solid var(--border);
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    width: 100%;
    font-size: 0.85rem;
    background: var(--bg);
    transition: 0.2s;
}
.header-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
    outline: none;
    background: #fff;
}
.header-search > i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
}
.header-location {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}
.header-location:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.2s;
    position: relative;
    font-size: 1.1rem;
}
.header-icon:hover {
    background: var(--bg);
    color: var(--primary);
}
.header-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.15rem 0.35rem;
    background: var(--primary);
    color: #fff;
    min-width: 16px;
    text-align: center;
    border-radius: 999px;
    line-height: 1;
}
.header-user {
    background: var(--bg);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    text-decoration: none;
    color: var(--text);
    transition: 0.2s;
}
.header-user:hover { background: #eef0f2; }
.header-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
}
.header-hamburger:hover { background: var(--bg); }
.header-mobile-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 1040;
    overflow-y: auto;
    border-top: 1px solid var(--border-light);
}
}
.nav-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}
.nav-icon-btn:hover {
    background: var(--bg);
    color: var(--primary);
}

/* ========== HERO ========== */
.hero-section {
    background: var(--secondary);
    padding: 5rem 0 6rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,107,0,0.18) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -35%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 65%);
    border-radius: 50%;
    z-index: 0;
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,107,0,0.15);
    border: 1px solid rgba(255,107,0,0.3);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}
.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--primary), #FF8C3A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.7;
}
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.hero-stats .stat-item {
    text-align: left;
}
.hero-stats .stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-stats .stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
}
.hero-search {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    max-width: 600px;
}
.hero-search .search-group {
    flex: 1;
    position: relative;
}
.hero-search .search-group i {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
}
.hero-search .search-group input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.6rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    background: rgba(255,255,255,0.08);
    color: #fff;
    transition: var(--transition);
}
.hero-search .search-group input::placeholder { color: rgba(255,255,255,0.4); }
.hero-search .search-group input:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.12);
    outline: none;
}
.hero-search .btn-search {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(255,107,0,0.4);
}
.hero-search .btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,107,0,0.5);
}
.hero-visual {
    position: relative;
    z-index: 1;
}
.hero-visual .floating-card {
    position: absolute;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 1rem;
    color: #fff;
}
.floating-card.card-1 {
    top: 0;
    right: 0;
    animation: float 4s ease-in-out infinite;
}
.floating-card.card-2 {
    bottom: 10%;
    left: 0;
    animation: float 5s ease-in-out infinite 1s;
}
.floating-card.card-3 {
    top: 40%;
    right: 10%;
    animation: float 4.5s ease-in-out infinite 0.5s;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ========== SECTION STYLES ========== */
.section { padding: 5rem 0; }
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}
.view-all {
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}
.view-all:hover { gap: 0.6rem; }

/* ========== CATEGORY CARDS ========== */
.category-scroll {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.5rem 0 1.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.category-scroll::-webkit-scrollbar { display: none; }
.category-card {
    flex: 0 0 auto;
    width: 130px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-decoration: none !important;
}
.category-card:hover { transform: translateY(-6px); }
.category-card .icon-circle {
    width: 75px;
    height: 75px;
    border-radius: var(--radius-xl);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.6rem;
    color: var(--primary);
    box-shadow: var(--shadow-card);
    transition: var(--transition-bounce);
    position: relative;
}
.category-card .icon-circle::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}
.category-card:hover .icon-circle {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 12px 30px rgba(255,107,0,0.35);
    transform: scale(1.08);
}
.category-card:hover .icon-circle::after { opacity: 0.2; }
.category-card .cat-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

/* ========== SHOP CARDS ========== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.shop-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-bounce);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--border-light);
}
.shop-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.shop-card .shop-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}
.shop-card .shop-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.shop-card:hover .shop-img img { transform: scale(1.08); }
.shop-card .shop-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
}
.shop-card .offer-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255,107,0,0.3);
}
.shop-card .rating-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    color: var(--secondary);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.shop-card .rating-badge i { color: var(--warning); font-size: 0.65rem; }
.shop-card .shop-info { padding: 1.1rem 1.2rem; }
.shop-card .shop-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--secondary);
    margin-bottom: 0.35rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-card .shop-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.shop-card .shop-meta i { font-size: 0.7rem; }
.shop-card .shop-categories {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-card .status-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
}
.status-open { background: var(--success-light); color: #065F46; }
.status-closed { background: var(--danger-light); color: #991B1B; }

/* ========== SERVICE CARDS ========== */
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.3rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-bounce);
    border: 1px solid var(--border-light);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.service-card .svc-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.service-card .service-info h6 {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}
.service-card .service-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.service-card .service-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.service-card .price-tag {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--secondary);
}
.service-card .original-price {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.service-card .discount-badge {
    background: var(--success-light);
    color: #065F46;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
}

/* ========== OFFERS SECTION ========== */
.offers-scroll {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}
.offers-scroll::-webkit-scrollbar { display: none; }
.offer-card {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    min-width: 300px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}
.offer-card:hover { transform: translateY(-3px); }
.offer-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,107,0,0.3) 0%, transparent 70%);
    border-radius: 50%;
}
.offer-card .offer-badge-icon {
    display: inline-flex;
    background: rgba(255,107,0,0.2);
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.offer-card h5 { font-weight: 800; margin-bottom: 0.3rem; font-size: 1.1rem; }
.offer-card p { font-size: 0.8rem; opacity: 0.7; margin-bottom: 1rem; }
.offer-card .offer-code {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius);
    border: 1.5px dashed rgba(255,255,255,0.25);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* ========== APP DOWNLOAD ========== */
.app-section {
    background: linear-gradient(160deg, #FFF7ED 0%, #fff 50%, #F0F9FF 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.app-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,107,0,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.app-badge {
    display: inline-block;
    transition: var(--transition-bounce);
}
.app-badge:hover { transform: translateY(-3px); }
.app-badge img { height: 48px; }

/* ========== FOOTER ========== */
.main-footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.6);
    padding: 4rem 0 0;
    position: relative;
}
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,107,0,0.3), transparent);
}
.main-footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}
.main-footer a {
    color: rgba(255,255,255,0.5);
    font-size: 0.83rem;
    transition: var(--transition);
}
.main-footer a:hover { color: var(--primary); padding-left: 4px; }
.main-footer .footer-links {
    list-style: none;
    padding: 0;
}
.main-footer .footer-links li { margin-bottom: 0.65rem; }
.main-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.7);
    margin-right: 0.5rem;
    transition: var(--transition-bounce);
    font-size: 0.9rem;
}
.main-footer .social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,107,0,0.3);
}
.footer-brand {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 0.75rem;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.2rem 0;
    margin-top: 3rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

/* ========== TRENDING SECTION ========== */
.trending-section {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ========== BOOKING TRACKING ========== */
.tracking-timeline {
    position: relative;
    padding-left: 2.5rem;
}
.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--border);
    border-radius: 1px;
}
.tracking-step {
    position: relative;
    padding-bottom: 2rem;
}
.tracking-step:last-child { padding-bottom: 0; }
.tracking-step .step-icon {
    position: absolute;
    left: -2.5rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    z-index: 1;
    transition: var(--transition);
}
.tracking-step.completed .step-icon {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
    box-shadow: 0 0 0 4px var(--success-light);
}
.tracking-step.active .step-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px var(--primary-light);
    animation: pulse-step 2s infinite;
}
@keyframes pulse-step {
    0%, 100% { box-shadow: 0 0 0 4px var(--primary-light); }
    50% { box-shadow: 0 0 0 10px rgba(255,107,0,0.1); }
}
.tracking-step .step-content h6 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}
.tracking-step .step-content small {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ========== GLASSMORPHISM ========== */
.glass-card {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ========== DASHBOARD ========== */
.stat-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 1.4rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-bounce);
    border: 1px solid var(--border-light);
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.stat-card .stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.02em;
}
.stat-card .stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========== SIDEBAR ========== */
.admin-sidebar {
    background: var(--sidebar-bg, #fff);
    min-height: 100vh;
    width: 270px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1040;
    padding: 1.5rem 0 0;
    transition: transform 0.3s ease;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}
.admin-sidebar .sidebar-brand {
    padding: 0.5rem 1.5rem 0.3rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    letter-spacing: -0.5px;
}
.admin-sidebar .sidebar-user {
    padding: 0 1.5rem 1rem;
    font-size: 0.65rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 0.5rem;
}
.admin-sidebar .sidebar-nav { list-style: none; padding: 0; flex: 1; overflow-y: auto; }
.admin-sidebar .sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    margin: 0.1rem 0.75rem;
    color: var(--sidebar-text, #475569);
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s;
    text-decoration: none;
}
.admin-sidebar .sidebar-nav li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.admin-sidebar .sidebar-nav li a.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}
.admin-sidebar .sidebar-nav li a i { width: 18px; text-align: center; font-size: 0.85rem; color: var(--text-muted); }
.admin-sidebar .sidebar-nav li a.active i,
.admin-sidebar .sidebar-nav li a:hover i { color: var(--primary); }
.admin-main {
    margin-left: 270px;
    min-height: 100vh;
    background: var(--bg);
}
.admin-topbar {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    padding: 0.5rem 1.5rem 0.3rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: sticky;
    top: 0;
    z-index: 1030;
}

@media (max-width: 991px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-main { margin-left: 0; }
}

/* ========== CART ========== */
.cart-item {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.1rem;
    box-shadow: var(--shadow);
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-light);
}
.cart-summary {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-light);
}

/* ========== FORM STYLES ========== */
.form-control, .form-select {
    border-radius: var(--radius) !important;
    border: 1.5px solid var(--border) !important;
    padding: 0.6rem 0.9rem !important;
    font-size: 0.9rem !important;
    font-family: 'Inter', sans-serif !important;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px var(--primary-light) !important;
}
.form-label { font-weight: 600; font-size: 0.85rem; color: var(--text); margin-bottom: 0.4rem; }

/* ========== MODALS ========== */
.modal-content { border-radius: var(--radius-xl); border: none; overflow: hidden; }
.modal-header { border-bottom: 1px solid var(--border); padding: 1.2rem 1.5rem; }

/* ========== TOAST ========== */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .hero-content h1 { font-size: 2.75rem; }
}
@media (max-width: 991px) {
    .hero-content h1 { font-size: 2.25rem; }
    .hero-search { flex-direction: column; }
    .shop-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    .hero-stats { gap: 1.5rem; }
    .hero-visual { display: none; }
}
@media (max-width: 767px) {
    .hero-content h1 { font-size: 1.75rem; }
    .hero-section { padding: 3rem 0 4rem; }
    .shop-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.5rem; }
    .section { padding: 3rem 0; }
    .hero-stats { gap: 1rem; flex-wrap: wrap; }
    .hero-stats .stat-num { font-size: 1.3rem; }
    .offer-card { min-width: 260px; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}
.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ========== SKELETON LOADING ========== */
.skeleton {
    background: linear-gradient(90deg, #E2E8F0 25%, #F1F5F9 50%, #E2E8F0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius);
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========== PWA ========== */
@media (display-mode: standalone) {
    .main-header { padding-top: env(safe-area-inset-top); }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ========== BADGE ========== */
.badge {
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 0.3em 0.7em;
    border-radius: var(--radius-full);
}

/* ========== MOBILE NAV ========== */
.search-box-mobile .input-group-text,
.search-box-mobile .form-control {
    background: var(--bg);
    border-color: var(--border);
    font-size: 0.85rem;
}
.search-box-mobile .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}
#searchResultsMobile {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-height: 240px;
    overflow-y: auto;
    z-index: 1060;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.75rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius);
    transition: background 0.15s;
    min-height: 48px;
}
.mobile-nav-link:hover {
    background: var(--bg);
    color: var(--primary);
}
.mobile-nav-link:active { background: var(--border-light); }
.mobile-nav-link i {
    width: 1.25rem;
    text-align: center;
    color: var(--text-muted);
}
.mobile-nav-link.text-danger i { color: var(--danger); }
.mobile-nav-link.text-danger:hover { background: #FEF2F2; }

/* ========== PRICE RANGE CARDS ========== */
.price-range-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.price-range-scroll::-webkit-scrollbar { height: 4px; }
.price-range-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
.price-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 1.25rem;
    min-width: 110px;
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.price-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(255,107,0,0.15);
    transform: translateY(-2px);
    color: var(--text-primary);
}
.price-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
}
.price-label {
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
.price-arrow {
    font-size: 0.55rem;
    color: var(--text-muted);
    opacity: 0.4;
}

/* Touch-friendly mobile */
@media (hover: none) and (pointer: coarse) {
    * { -webkit-tap-highlight-color: transparent; }
    a, button, .btn, .dropdown-item, .nav-link, .mobile-nav-link, .mb-nav-item, .shop-card, .category-card, .price-card, .offer-card, .service-card { cursor: pointer; }
    .btn:active, .admin-btn:active, .btn-sm:active { transform: scale(0.96); }
    .shop-card:active, .category-card:active, .price-card:active { transform: scale(0.97); }
}
@media (max-width: 768px) {
    .btn, .admin-btn, .btn-sm { min-height: 40px; display:inline-flex; align-items:center; justify-content:center; }
    input, select, textarea, .form-control, .admin-input, .admin-select { font-size: 16px!important; }
    .modal-content { margin: 0.5rem; border-radius: 20px!important; }
    .modal-dialog { margin: 0.5rem; }
    .pagination .page-link { min-width: 36px; min-height: 36px; display:flex; align-items:center; justify-content:center; }
}
@media (max-width: 991.98px) {
    .header-inner { padding: 0 12px; height: 56px; gap: 0.5rem; }
    .header-logo { font-size: 1.3rem; margin-right: 0.5rem; }
    .header-mobile-menu { top: 56px; }
}

/* ===== APP-STYLE GLOBAL ===== */
.page-fade-in { animation: pageFadeIn 0.3s ease-out; }
@keyframes pageFadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

.app-spinner { width:24px; height:24px; border:3px solid var(--border); border-top-color:var(--primary); border-radius:50%; animation:spin 0.6s linear infinite; display:inline-block; }
.app-spinner-sm { width:16px; height:16px; border-width:2px; }
.app-spinner-lg { width:40px; height:40px; border-width:4px; }
@keyframes spin { to { transform:rotate(360deg); } }

.app-toast { position:fixed; bottom:80px; left:50%; transform:translateX(-50%); background:var(--secondary); color:#fff; padding:10px 20px; border-radius:var(--radius-full); font-size:0.85rem; z-index:9999; box-shadow:var(--shadow-lg); animation:toastIn 0.3s ease-out; pointer-events:none; white-space:nowrap; }
.app-toast.success { background:var(--success); }
.app-toast.error { background:var(--danger); }
@keyframes toastIn { from { opacity:0; transform:translateX(-50%) translateY(16px); } to { opacity:1; transform:translateX(-50%) translateY(0); } }

.mobile-safe-bottom { padding-bottom:env(safe-area-inset-bottom,0px); }
.mobile-safe-top { padding-top:env(safe-area-inset-top,0px); }

@media (max-width:768px) {
    .admin-topbar { padding-left:12px!important; padding-right:12px!important; height:56px!important; }
    .admin-content { padding:12px!important; }
    .admin-content h4, .admin-content .h4 { font-size:1rem!important; }
    .admin-card { border-radius:16px; margin-bottom:12px; }
    .admin-card h5, .admin-card .h5 { font-size:0.95rem; }
    .admin-card h6, .admin-card .h6 { font-size:0.85rem; }
    .admin-stat { padding:12px; }
    .admin-stat .stat-value { font-size:1.3rem; }
    .gap-3 { gap:0.75rem!important; }
    .gap-2 { gap:0.5rem!important; }
    .container-fluid { padding-left:12px; padding-right:12px; }
    .card-body { padding:0.85rem; }
}
@media (max-width:576px) {
    .d-xs-flex { display:flex!important; }
    .gap-xs-2 { gap:0.5rem!important; }
    .text-xs-sm { font-size:0.82rem; }
    .admin-stat .stat-label { font-size:0.65rem; }
}

/* iOS-style pull indicator */
.pull-indicator { display:none; }
@media (max-width:768px) {
    .pull-indicator { display:flex; justify-content:center; padding:8px 0; }
    .pull-indicator::after { content:''; width:36px; height:4px; background:#ddd; border-radius:2px; }
}

/* ===== Desktop-only section hero responsiveness ===== */
@media (max-width: 1199.98px) {
    .hero-content h1 { font-size: 2.75rem; }
}
@media (max-width: 991.98px) {
    .desktop-only { display: none !important; }
}
@media (min-width: 992px) {
    .mobile-only { display: none !important; }
    .content-wrap {
        min-height: calc(100vh - 64px);
    }
    body { background: var(--bg); }
}
/* Prevent overflow on small screens */
img { max-width: 100%; height: auto; }
/* Mobile shop card same as shop card for consistency */
.shop-card-mob .shop-card { box-shadow: none; border-radius: 0; }
}