/* ===== CSS Variables ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--gray-800);
    background: var(--gray-50);
    line-height: 1.6;
    min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Navbar ===== */
.navbar {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}
.navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.navbar-nav a {
    padding: 8px 16px;
    border-radius: var(--radius);
    color: var(--gray-600);
    font-size: .95rem;
    transition: all .2s;
}
.navbar-nav a:hover, .navbar-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}
.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    padding: 4px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 500;
    border: none;
    transition: all .2s;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: .85rem; }
.btn-lg { padding: 14px 32px; font-size: 1.1rem; }
.btn-block { display: flex; width: 100%; }

/* ===== Hero / Banner ===== */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; }
.hero p { font-size: 1.2rem; opacity: .9; max-width: 600px; margin: 0 auto 32px; }
.hero-search {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    background: #fff;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-search input {
    flex: 1;
    border: none;
    padding: 16px 24px;
    font-size: 1rem;
    outline: none;
    color: var(--gray-800);
}
.hero-search button {
    padding: 16px 32px;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
}

/* ===== Carousel ===== */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}
.carousel-inner { display: flex; transition: transform .5s ease; }
.carousel-item {
    min-width: 100%;
    aspect-ratio: 3/1;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.4));
}
.carousel-caption {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    padding: 20px;
}
.carousel-caption h2 { font-size: 2rem; margin-bottom: 8px; text-shadow: 0 2px 4px rgba(0,0,0,.3); }
.carousel-caption p { font-size: 1.1rem; opacity: .9; }
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 2;
    transition: background .2s;
}
.carousel-prev:hover, .carousel-next:hover { background: #fff; }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: none;
    cursor: pointer;
    transition: background .2s;
}
.carousel-dot.active { background: #fff; }

/* ===== Section ===== */
.section { padding: 60px 0; }
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.section-header p {
    color: var(--gray-500);
    font-size: 1rem;
}
.section-header .more-link {
    font-size: .9rem;
}

/* ===== Cards ===== */
.card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .3s;
}
.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.card-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--gray-200);
}
.card-body { padding: 16px; }
.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.card-text {
    color: var(--gray-500);
    font-size: .9rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--danger);
}
.card-price .original {
    font-size: .85rem;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-left: 6px;
    font-weight: 400;
}
.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    font-size: .85rem;
    color: var(--gray-400);
}

/* ===== Grid ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }

/* ===== Category Icons ===== */
.category-item {
    text-align: center;
    padding: 20px 10px;
    border-radius: var(--radius-lg);
    background: #fff;
    transition: all .3s;
    cursor: pointer;
}
.category-item:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}
.category-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
}
.category-name {
    font-size: .9rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* ===== Stats ===== */
.stats-bar {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    padding: 40px 0;
    color: #fff;
}
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; }
.stat-label { font-size: .95rem; opacity: .8; margin-top: 4px; }

/* ===== Merchant Card ===== */
.merchant-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all .3s;
}
.merchant-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.merchant-card-img {
    width: 160px;
    height: 120px;
    border-radius: var(--radius);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--gray-200);
}
.merchant-card-info { flex: 1; display: flex; flex-direction: column; }
.merchant-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}
.merchant-card-desc {
    font-size: .9rem;
    color: var(--gray-500);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.merchant-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tag {
    padding: 3px 10px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: .8rem;
}
.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: #fef3c7;
    color: var(--accent-dark);
    border-radius: var(--radius-full);
    font-size: .85rem;
    font-weight: 600;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: .9rem;
    color: var(--gray-500);
    list-style: none;
}
.breadcrumb li::after { content: '/'; margin-left: 8px; color: var(--gray-300); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb li:last-child { color: var(--gray-700); }

/* ===== Forms ===== */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: .9rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: .95rem;
    transition: border-color .2s;
    background: #fff;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* ===== Auth Pages ===== */
.auth-page {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-light), #ede9fe);
}
.auth-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}
.auth-card h2 { text-align: center; font-size: 1.5rem; margin-bottom: 8px; }
.auth-card .subtitle { text-align: center; color: var(--gray-500); margin-bottom: 28px; }
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: .9rem;
    color: var(--gray-500);
}

/* ===== Tabs ===== */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 24px;
    gap: 4px;
}
.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: .95rem;
    color: var(--gray-500);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all .2s;
}
.tab-btn:hover { color: var(--gray-700); }
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== Table ===== */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
    font-size: .9rem;
}
th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--gray-600);
    white-space: nowrap;
}
tr:hover td { background: var(--gray-50); }

/* ===== Badges ===== */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: .8rem;
    font-weight: 500;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }

/* ===== Pagination ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}
.pagination button, .pagination a {
    padding: 8px 14px;
    border: 1px solid var(--gray-200);
    background: #fff;
    border-radius: var(--radius);
    font-size: .9rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: all .2s;
}
.pagination button:hover, .pagination a:hover,
.pagination .active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 24px;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.footer-desc {
    font-size: .9rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.footer h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: var(--gray-400);
    font-size: .9rem;
    transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 24px;
    text-align: center;
    font-size: .85rem;
    color: var(--gray-500);
}

/* ===== Filter Bar ===== */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.filter-bar .search-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: .95rem;
}
.filter-bar select {
    padding: 10px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: .95rem;
    background: #fff;
}

/* ===== Detail Page ===== */
.detail-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}
.detail-gallery {
    width: 480px;
    flex-shrink: 0;
}
.detail-gallery img {
    width: 100%;
    border-radius: var(--radius-lg);
    background: var(--gray-200);
}
.detail-info { flex: 1; }
.detail-info h1 { font-size: 1.6rem; margin-bottom: 12px; }
.detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--danger);
    margin-bottom: 16px;
}
.detail-price .original {
    font-size: 1rem;
    color: var(--gray-400);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 8px;
}
.detail-desc {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}
.detail-actions { display: flex; gap: 12px; }

/* ===== Review ===== */
.review-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--gray-200);
}
.review-content { flex: 1; }
.review-user {
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 4px;
}
.review-text {
    font-size: .9rem;
    color: var(--gray-600);
    margin-bottom: 8px;
    line-height: 1.6;
}
.review-meta {
    font-size: .8rem;
    color: var(--gray-400);
}
.review-images { display: flex; gap: 8px; margin-bottom: 8px; }
.review-images img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
}

/* ===== User Center ===== */
.user-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    color: #fff;
    margin-bottom: 24px;
}
.user-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.1);
}
.user-header h2 { font-size: 1.3rem; margin-bottom: 4px; }
.user-header p { opacity: .8; font-size: .9rem; }

/* ===== About Page ===== */
.about-hero {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.about-hero h1 { font-size: 2.5rem; margin-bottom: 12px; }
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}
.timeline-item {
    position: relative;
    padding-bottom: 30px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
}
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.timeline-item p { color: var(--gray-500); font-size: .9rem; }
.team-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    background: var(--gray-200);
}
.team-name { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.team-role { color: var(--primary); font-size: .9rem; margin-bottom: 8px; }
.team-desc { color: var(--gray-500); font-size: .85rem; }

/* ===== Steps ===== */
.steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 40px 0;
}
.step {
    text-align: center;
    flex: 1;
    position: relative;
    padding: 0 20px;
}
.step::after {
    content: '';
    position: absolute;
    top: 25px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}
.step:last-child::after { display: none; }
.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    position: relative;
    z-index: 1;
}
.step-title { font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.step-desc { color: var(--gray-500); font-size: .85rem; }

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}
.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-label { font-weight: 600; margin-bottom: 4px; }
.contact-value { color: var(--gray-500); font-size: .9rem; }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--gray-500); }
.text-sm { font-size: .85rem; }
.text-lg { font-size: 1.2rem; }
.fw-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.p-3 { padding: 24px; }
.bg-white { background: #fff; }
.rounded { border-radius: var(--radius-lg); }
.shadow { box-shadow: var(--shadow); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.stars { color: var(--accent); letter-spacing: 2px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-header { flex-direction: column; }
    .detail-gallery { width: 100%; }
}
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-md);
    }
    .navbar-nav.show { display: flex; }
    .mobile-toggle { display: block; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .steps { flex-direction: column; align-items: center; }
    .step::after { display: none; }
    .stats-bar .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
    .stats-bar .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-search { flex-direction: column; border-radius: var(--radius); }
    .hero-search input { border-radius: var(--radius) var(--radius) 0 0; }
    .hero-search button { border-radius: 0 0 var(--radius) var(--radius); }
    .merchant-card { flex-direction: column; }
    .merchant-card-img { width: 100%; height: 160px; }
}
