:root {
    --primary-color: #000;
    --secondary-color: #666;
    --bg-color: #fff;
    --border-color: #eee;
    --accent-blue: #0070f3;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--primary-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* Header */
.header {
    height: 70px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 32px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color);
}

.btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, opacity 0.2s;
}

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

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Page Header */
.page-header, .about-hero {
    padding: 80px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.page-header h1, .about-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p, .about-hero p {
    color: var(--secondary-color);
    font-size: 18px;
}

/* Hero */
.hero {
    padding: 60px 0 40px;
    text-align: center;
}

.hero h1 {
    font-size: 32px;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto 10px;
}

.hero-subtitle {
    color: var(--accent-blue);
    font-weight: 500;
}

/* Categories */
.categories {
    padding-bottom: 30px;
}

.category-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none; /* Firefox */
}

.category-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.category-chip {
    padding: 8px 20px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
    background: #fff;
    white-space: nowrap;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.category-chip:hover, .category-chip.active {
    border-color: var(--primary-color);
    background: #f0f0f0;
}

.category-chip.active {
    font-weight: 600;
}

/* Products */
.products {
    padding-bottom: 80px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.95);
}

.product-image {
    aspect-ratio: 3/4;
    background-color: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

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

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

.store-name {
    font-size: 12px;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.product-title {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 15px;
    font-weight: 600;
}

.old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-left: 6px;
    font-weight: 400;
}

/* Stores Grid */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 80px;
}

.store-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s;
}

.store-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.store-logo-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.store-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.store-info p {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    height: 42px;
    overflow: hidden;
}

.btn-text {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* About Content */
.about-content {
    padding-bottom: 80px;
}

.content-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 24px;
    margin: 40px 0 20px;
}

.content-wrapper p {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-color);
    font-size: 13px;
}

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

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .nav {
        display: none;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
