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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #fafafa;
    color: #1a1a1a;
    line-height: 1.6;
}

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

header {
    margin-bottom: 80px;
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.logo {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 48px;
    color: #1a1a1a;
}

h1 {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Search Bar Styles */
.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    justify-content: center;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-icon {
    position: absolute;
    left: 18px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
}

#searchInput {
    flex: 1;
    padding: 14px 18px 14px 48px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fff;
    transition: all 0.2s;
}

#searchInput:focus {
    outline: none;
    border-color: #1a1a1a;
}

#clearSearch {
    position: absolute;
    right: 12px;
    padding: 8px;
    background-color: transparent;
    color: #999;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

#clearSearch:hover {
    background-color: #f5f5f5;
    color: #1a1a1a;
}

button {
    padding: 14px 28px;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

button:hover {
    background-color: #333;
}

.disclaimer {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 24px;
}

.categories {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 40px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.categories::-webkit-scrollbar {
    height: 4px;
}

.categories::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}

.categories::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 4px;
}

.categories::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.category-btn {
    padding: 10px 24px;
    background-color: #fff;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.category-btn:hover {
    background-color: #f5f5f5;
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.category-btn.active {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.products-section {
    margin-top: 60px;
}

.featured-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.product-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
}

.product-info {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.product-title {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
}

.product-price {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.show-more-container {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.show-more-btn {
    padding: 14px 40px;
    background-color: transparent;
    color: #1a1a1a;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.show-more-btn:hover {
    background-color: #1a1a1a;
    color: #fff;
}

.hidden {
    display: none;
}

footer {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    font-size: 13px;
    color: #999;
}

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

.social-link {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.social-link:hover {
    color: #1a1a1a;
}

@media (max-width: 1024px) {
    .featured-products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 40px 20px;
    }

    h1 {
        font-size: 26px;
    }

    .subtitle {
        font-size: 16px;
    }

    .search-form {
        max-width: 100%;
    }

    #searchInput {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .categories {
        gap: 8px;
    }

    .category-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .featured-products {
        grid-template-columns: 1fr;
    }

    .categories {
        justify-content: flex-start;
    }

    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-right {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
    }
}