﻿/* Root Variables */
:root {
    --primary: #2C3E50;
    --accent: #E8B4B8;
    --accent-hover: #D89296;
    --light-accent: #FFF0F1;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --background: #FFFFFF;
    --background-light: #FAFAFA;
    --border: #E5E7EB;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

.announcement-bar {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* User Menu Dropdown */
.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    display: none;
}

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

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s;
}

.user-dropdown a:hover {
    background: var(--background-light);
}

/* Search Bar */
.search-bar {
    display: none;
    padding: 1rem 3rem;
    background: var(--background-light);
    border-top: 1px solid var(--border);
}

.search-bar.active {
    display: flex;
    gap: 1rem;
}

.search-bar input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.cart-overlay.active {
    display: block;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.cart-header h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

.close-cart {
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    background: none;
    border: none;
    transition: color 0.2s;
}

.close-cart:hover {
    color: var(--text-primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.empty-cart-message {
    text-align: center;
    color: var(--text-secondary);
    padding: 3rem 0;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.quantity-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.quantity-value {
    min-width: 30px;
    text-align: center;
    font-weight: 500;
}

.cart-item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.cart-item-total p {
    font-weight: 500;
    font-size: 1.1rem;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}

.remove-btn:hover {
    color: var(--error);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-accent) 0%, var(--background) 100%);
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: -2px;
    margin-bottom: 1rem;
}

.hero h1 span {
    font-weight: 600;
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #1A252F;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Collections Section */
.collections {
    padding: 5rem 3rem;
    background: var(--background);
}

/* Filter Bar - Original underline style */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.filter-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    color: var(--text-primary);
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.filter-btn.active::after,
.filter-btn:hover::after {
    width: 100%;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-badge.badge-hot {
    background: linear-gradient(135deg, #ff6b6b, #ff4444);
}

/* New Badge - ÐÂÆ·ÂÌÉ« */
.product-badge.badge-new {
    background: linear-gradient(135deg, #4ecdc4, #44a8a0);
}

/* Sale Badge - ÌØ¼Û³ÈÉ« */
.product-badge.badge-sale {
    background: linear-gradient(135deg, #ff9500, #ff6200);
}

/* Limited Badge - ÏÞÁ¿×ÏÉ« */
.product-badge.badge-limited {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

/* Exclusive Badge - ¶À¼ÒÉîÉ« */
.product-badge.badge-exclusive {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

/* ========== ¼Û¸ñÏÔÊ¾ÓÅ»¯ ========== */

/* ÌØ¼ÛÊ±µÄÔ­¼ÛÑùÊ½ */
.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

/* ÌØ¼ÛÑùÊ½ */
.price-sale {
    color: #ff6200;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ========== ÎÞ½á¹ûÌáÊ¾ ========== */

.no-results-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-results-message p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.no-results-message .btn {
    margin-top: 10px;
}

/* ========== ÏìÓ¦Ê½Î¢µ÷ ========== */

@media (max-width: 768px) {
    /* ±£³ÖÔ­ÓÐµÄfilter-barºáÏò¹ö¶¯ */

    .product-badge {
        font-size: 10px;
        padding: 4px 10px;
    }

    .no-results-message {
        padding: 40px 15px;
    }

    .no-results-message p {
        font-size: 1rem;
    }
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--accent);
}

.no-products-message {
    text-align: center;
}
/* Services */
.services {
    padding: 5rem 3rem;
    background: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.3rem;
    color: var(--accent);
    margin: 1rem 0;
}

/* Services Mobile Responsive */
@media (max-width: 768px) {
    .services {
        padding: 3rem 1rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .service-card {
        padding: 1.5rem 0.75rem;
        border-radius: 12px;
    }

    .service-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .service-card p {
        display: none; /* Hide description on mobile for space */
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .service-price {
        font-size: 0.85rem;
        margin: 0.5rem 0;
    }

    .service-card .btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        gap: 0.5rem;
    }

    .service-card {
        padding: 1rem 0.5rem;
    }

    .service-icon {
        font-size: 1.75rem;
    }

    .service-card h3 {
        font-size: 0.8rem;
    }

    .service-price {
        font-size: 0.75rem;
    }

    .service-card .btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.7rem;
    }
}

/* Tablet view */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }
}
/* Shop Info */
.shop-info {
    padding: 4rem 3rem;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    text-align: center;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Authentication Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--background-light);
}

.auth-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.auth-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
}

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    margin-top: 80px;
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    flex: 1;
    padding: 1.25rem;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
}

.auth-form {
    padding: 2rem;
}

.auth-form h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 180, 184, 0.1);
}

.phone-input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-prefix {
    padding: 0.75rem 1rem;
    background: var(--background-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 500;
}

.password-strength {
    margin-top: 0.5rem;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
}

.strength-bar.weak {
    width: 33%;
    background: var(--error);
}

.strength-bar.medium {
    width: 66%;
    background: var(--warning);
}

.strength-bar.strong {
    width: 100%;
    background: var(--success);
}

/* Verification Code Input */
.verification-input {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 2rem 0;
}

.code-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.code-input:focus {
    border-color: var(--accent);
    outline: none;
}

.resend-section {
    text-align: center;
    margin: 1.5rem 0;
}

.resend-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

.resend-btn:disabled {
    color: var(--text-secondary);
    cursor: not-allowed;
    text-decoration: none;
}

/* Social Login */
.divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: var(--border);
}

.social-btn {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--background-light);
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.success-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1.5rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 3000;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--error);
}

.toast.warning {
    border-left: 4px solid var(--warning);
}

/* Newsletter */
.newsletter {
    padding: 4rem 3rem;
    background: var(--primary);
    color: white;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 30px;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

/* Footer */
footer {
    padding: 4rem 3rem 2rem;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-methods span {
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite;
}

.floating-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--accent);
    border-radius: 50%;
    top: -150px;
    right: -100px;
}

.floating-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(-30px, -20px) rotate(270deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-sidebar.open {
        right: 0;
    }

    /* Filter bar on mobile */
    .filter-bar {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 1rem;
    }

    .filter-bar::-webkit-scrollbar {
        height: 3px;
    }

    .filter-bar::-webkit-scrollbar-thumb {
        background: var(--accent);
        border-radius: 2px;
    }
}
/* Hero Slider Styles */
.hero-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn-prev {
    left: 2rem;
}

.carousel-btn-next {
    right: 2rem;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 3;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-indicators .indicator.active {
    background: white;
    width: 35px;
    border-radius: 6px;
    border-color: var(--accent);
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Mobile Carousel Styles */
@media (max-width: 768px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-btn-prev {
        left: 1rem;
    }

    .carousel-btn-next {
        right: 1rem;
    }

    .carousel-indicators {
        bottom: 1rem;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    width: 30px;
    height: 30px;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Sidebar */
.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: white;
    z-index: 1999;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu-sidebar.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--border);
    background: var(--background-light);
}

.mobile-menu-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Search Box */
.mobile-search-box {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.mobile-search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 25px;
    font-size: 0.95rem;
    background: var(--background-light);
}

.mobile-search-icon {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

/* Mobile Menu Content */
.mobile-menu-content {
    padding-bottom: 2rem;
}

.mobile-menu-section {
    border-bottom: 1px solid var(--border);
}

.mobile-menu-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-menu-title:hover {
    background: var(--background-light);
}

.menu-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.menu-arrow.active {
    transform: rotate(180deg);
}

/* Mobile Submenu */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--background-light);
}

.mobile-submenu.active {
    max-height: 500px;
}

.mobile-submenu a {
    display: block;
    padding: 0.75rem 2.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.mobile-submenu a:hover {
    background: rgba(232, 180, 184, 0.1);
    color: var(--accent);
}

/* Mobile Menu Links */
.mobile-menu-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.mobile-menu-link:hover {
    background: var(--background-light);
}

.mobile-menu-highlight {
    background: var(--accent);
    color: white;
    margin: 0.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.mobile-menu-highlight:hover {
    background: var(--accent-hover);
    color: white;
}

/* Mobile Menu Account Section */
.mobile-menu-account {
    background: var(--background-light);
    padding: 1rem 0;
}

.mobile-menu-account .mobile-menu-title {
    cursor: default;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    padding: 0.5rem 1.5rem;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 1.5rem;
    background: var(--primary);
    color: white;
    font-size: 0.85rem;
    line-height: 1.8;
}

.mobile-menu-footer p {
    margin: 0.25rem 0;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block;
    }

    /* Adjust logo position */
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.3rem;
    }

    /* Hide desktop menu */
    .nav-menu {
        display: none;
    }

    /* Adjust nav actions */
    .nav-actions {
        gap: 0.75rem;
    }

    /* Hide search icon on mobile */
    .search-icon {
        display: none;
    }

    /* Mobile header padding */
    nav {
        padding: 1rem 1rem;
    }

    /* Announcement bar mobile */
    .announcement-bar {
        font-size: 0.75rem;
        padding: 0.4rem;
    }

    /* User dropdown mobile adjustments */
    .user-dropdown {
        right: -20px;
    }

    /* Hero mobile adjustments */
    .hero {
        margin-top: 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    /* Smaller screens adjustments */
    .mobile-menu-sidebar {
        width: 100%;
        left: -100%;
    }

    .logo {
        font-size: 1.2rem;
    }

    .cart-count {
        font-size: 0.7rem;
        width: 16px;
        height: 16px;
    }

    .nav-actions span {
        font-size: 1.2rem;
    }
}

.verification-alert-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.verification-alert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.verification-alert-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease;
    text-align: center;
}

.verification-alert-icon {
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.verification-alert-title {
    color: #1F2937;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
}

.verification-alert-message {
    color: #6B7280;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.verification-alert-info {
    background: #FEF2F2;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #7C2D12;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    font-size: 1.25rem;
}

.verification-alert-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-verify-now {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.btn-verify-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

.btn-secondary {
    background: #F3F4F6;
    color: #6B7280;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #E5E7EB;
    color: #4B5563;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* ÏìÓ¦Ê½Éè¼Æ */
@media (max-width: 480px) {
    .verification-alert-content {
        padding: 2rem;
    }

    .verification-alert-title {
        font-size: 1.5rem;
    }

    .verification-alert-actions {
        flex-direction: column;
    }

    .verification-alert-actions button {
        width: 100%;
    }
}
.hours {
  display: inline-block;
  text-align: left;
  font-size: 0.95em;
  line-height: 1.6;
  font-family: inherit;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 20px;             /* ÐÇÆÚÓëÊ±¼äÖ®¼äµÄ¼ä¾à */
  min-width: 130px;      /* ¿ØÖÆ×îÐ¡¿í¶È£¬¿É°´ÊÓ¾õÎ¢µ÷ */
}

.hours .day {
  font-weight: 500;
  color: #333;
}

.hours .time {
  color: #555;
  text-align: right;
  flex-shrink: 0;        /* ·ÀÖ¹Ê±¼äÔÚÐ¡ÆÁ±»¼·»»ÐÐ */
}

/* ·þÎñ¿¨Æ¬¶îÍâÑùÊ½ - Ìí¼Óµ½ styles.css */

/* ·þÎñÊ±³¤ÏÔÊ¾ */
.service-duration {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0.5rem 0;
    font-weight: 500;
}

/* ·þÎñ¿¨Æ¬¶¯»­ */
.service-card {
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

/* ·þÎñÍø¸ñ - ÈýÁÐ²¼¾Ö */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Æ½°åÊÓÍ¼ */
@media (min-width: 769px) and (max-width: 1023px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* ÊÖ»úÊÓÍ¼ - ÓÅ»¯ */
@media (max-width: 768px) {
    .services {
        padding: 3rem 1rem;
    }
    

    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* Á½ÁÐ */
        gap: 0.75rem;
    }

    
    .service-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .service-card h3 {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .service-price {
        font-size: 1.15rem;
        margin: 0.75rem 0;
    }
    
    .service-duration {
        font-size: 0.85rem;
        margin: 0.5rem 0;
    }
    
    .service-card .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }
    
    /* É¸Ñ¡À¸ÒÆ¶¯¶ËÓÅ»¯ */
    .filter-bar {
        gap: 0.5rem;
        padding: 0.75rem 0;
        justify-content: flex-start;
    }
    
    .filter-btn {
        font-size: 0.85rem;
        padding: 0.4rem 0;
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* Ð¡ÆÁÊÖ»úÊÓÍ¼ */
@media (max-width: 480px) {
    .services {
        padding: 2rem 0.75rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-card h3 {
        font-size: 0.95rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
    
    .service-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .service-price {
        font-size: 1rem;
    }
    
    .service-duration {
        font-size: 0.8rem;
    }
    
    .filter-bar {
        gap: 0.4rem;
    }
    
    .filter-btn {
        font-size: 0.8rem;
    }
}

/* ·þÎñ¿¨Æ¬ÐüÍ£Ð§¹ûÓÅ»¯ */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ÒÆ¶¯¶Ë½ûÓÃÐüÍ£Ð§¹û */
@media (hover: none) {
    .service-card:hover {
        transform: none;
    }
    
    .service-card:active {
        transform: scale(0.98);
    }
}

/* ·þÎñ¼Û¸ñÍ»³öÏÔÊ¾ */
.service-price {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.3rem;
    margin: 1rem 0;
}

/* È·±£ËùÓÐ·þÎñ¿¨Æ¬¸ß¶ÈÒ»ÖÂ */
.service-card {
    display: flex;
    flex-direction: column;
}

.service-card p {
    flex-grow: 1;
}

.service-card .btn {
    margin-top: auto;
}

/* É¸Ñ¡°´Å¥¼¤»î×´Ì¬ */
.filter-btn.active {
    color: var(--text-primary);
    font-weight: 600;
}

/* ¼ÓÔØ¶¯»­ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card.animate {
    animation: fadeInUp 0.5s ease forwards;
}

/* ================================================
   SERVICES SECTION - 参考图片风格
   简洁扁平、居中对齐、浅色背景
   ================================================ */

/* Services Section */
.services {
    padding: 4rem 2rem;
    background: #f5f5f5;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service Card - 参考图片风格 */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Service Icon - 大图标 */
.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Service Title */
.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Service Description */
.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

/* Button - 深色圆角按钮 */
.service-card .btn {
    padding: 0.875rem 2.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card .btn:hover {
    background: #1A252F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* ================================================
   MODAL - 服务详情弹窗
   ================================================ */

.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-modal-overlay.active {
    opacity: 1;
}

.service-modal {
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    background: white;
    border-radius: 20px 20px 0 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-modal-overlay.active .service-modal {
    transform: translateY(0);
}

/* Modal Header */
.service-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--border);
    background: white;
    border-radius: 20px 20px 0 0;
}

.modal-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--background-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon {
    font-size: 1.75rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal-close-btn {
    width: 40px;
    height: 40px;
    background: var(--background-light);
    border: none;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--accent);
    color: white;
    transform: rotate(90deg);
}

/* Modal Body */
.service-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    background: #f5f5f5;
}

.modal-services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Service Item */
.modal-service-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.modal-service-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-item-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.service-item-info {
    flex: 1;
}

.service-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.service-item-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.service-item-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--background-light);
    color: var(--text-secondary);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.detail-badge.price {
    background: #FFF0F1;
    color: #E8B4B8;
}

.detail-badge svg {
    flex-shrink: 0;
}

.book-service-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.book-service-btn:hover {
    background: #1A252F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* Prevent body scroll */
body.modal-open {
    overflow: hidden;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* Desktop (1024px - 1200px) */
@media (max-width: 1200px) and (min-width: 1025px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .services {
        padding: 3rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .service-card {
        padding: 2.5rem 1.75rem;
    }

    .service-icon {
        font-size: 3.5rem;
    }

    .service-card h3 {
        font-size: 1.35rem;
    }
}

/* Mobile (481px - 768px) */
@media (max-width: 768px) {
    .services {
        padding: 2.5rem 1.25rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 手机端2列 */
        gap: 1rem;
    }

    .service-card {
        padding: 2rem 1rem;
    }

    .service-icon {
        font-size: 3rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .service-card .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Modal */
    .service-modal {
        max-height: 92vh;
    }

    .service-modal-header {
        padding: 1.25rem 1.5rem;
    }

    .modal-icon-wrapper {
        width: 44px;
        height: 44px;
    }

    .modal-icon {
        font-size: 1.5rem;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-subtitle {
        font-size: 0.85rem;
    }

    .modal-close-btn {
        width: 36px;
        height: 36px;
    }

    .service-modal-body {
        padding: 1rem 1.5rem;
    }

    .modal-service-item {
        padding: 1.25rem;
    }

    .service-item-header {
        flex-direction: column;
        gap: 1rem;
    }

    .book-service-btn {
        width: 100%;
    }

    /* Disable hover on mobile */
    .service-card:hover {
        transform: none;
    }

    /* Add tap feedback */
    .service-card:active {
        transform: scale(0.98);
    }
}

/* Small Mobile (<480px) */
@media (max-width: 480px) {
    .services {
        padding: 2rem 0.75rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 小屏也是2列 */
        gap: 0.75rem;
    }

    .service-card {
        padding: 1.5rem 0.875rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .service-card .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .service-modal-header {
        padding: 1rem 1.25rem;
    }

    .modal-icon-wrapper {
        width: 40px;
        height: 40px;
    }

    .modal-icon {
        font-size: 1.35rem;
    }

    .modal-title {
        font-size: 1.15rem;
    }

    .service-modal-body {
        padding: 1rem;
    }

    .modal-service-item {
        padding: 1rem;
    }

    .service-item-name {
        font-size: 1rem;
    }

    .service-item-description {
        font-size: 0.85rem;
    }

    .detail-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .service-card .btn,
    .book-service-btn {
        min-height: 48px;
    }

    .modal-close-btn {
        min-width: 44px;
        min-height: 44px;
    }

    .service-card:hover {
        transform: none;
    }

    .service-card:active {
        transform: scale(0.98);
    }
}

/* Scrollbar */
.service-modal-body::-webkit-scrollbar {
    width: 6px;
}

.service-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.service-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.service-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}