.main {
    padding-top: calc(44px + env(safe-area-inset-top));
}

.nav-bar-left {
    width: auto;
    justify-content: flex-start;
}

.nav-logo {
    font-size: var(--font-size-h3);
    font-weight: var(--font-bold);
    color: inherit;
}

.nav-bar-right {
    width: auto;
    justify-content: flex-end;
    gap: var(--spacing-card);
}

.nav-icon {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.nav-icon.search {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}

.nav-icon.phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.hero-banner {
    position: relative;
    width: 100%;
    height: 420px;
    margin-bottom: var(--spacing-section);
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-brand) 0%, #9B7B5B 100%);
    background-size: cover;
    background-position: center;
}

.banner-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-section) var(--spacing-page);
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.banner-title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-bold);
    color: #FFFFFF;
    margin-bottom: var(--spacing-xs);
}

.banner-desc {
    font-size: var(--font-size-body);
    color: rgba(255,255,255,0.8);
}

.color-filter {
    margin-bottom: var(--spacing-section);
}

.color-list {
    display: flex;
    overflow-x: auto;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
}

.color-list::-webkit-scrollbar {
    display: none;
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.color-dot.white { background-color: #FFFFFF; border: 2px solid var(--color-border); }
.color-dot.grey { background-color: #999999; }
.color-dot.black { background-color: #1A1A1A; }
.color-dot.yellow { background-color: #D4B86A; }
.color-dot.green { background-color: #5B9A6F; }
.color-dot.red { background-color: #C75B5B; }
.color-dot.blue { background-color: #5B7BC7; }
.color-dot.brown { background-color: #8B6914; }

.category-section {
    margin-bottom: var(--spacing-section);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-card);
}

.category-item {
    position: relative;
    height: 120px;
    border-radius: var(--radius-card);
    overflow: hidden;
    cursor: pointer;
}

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(184, 154, 103, 0.2);
    background-size: cover;
    background-position: center;
}

.category-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-sm);
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.category-name {
    font-size: var(--font-size-body);
    font-weight: var(--font-medium);
    color: #FFFFFF;
    text-align: center;
}

.recommend-section {
    margin-bottom: var(--spacing-section);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-card);
}

.product-item {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-border);
    background-size: cover;
    background-position: center;
}

.product-mask {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-card);
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.product-name {
    font-size: var(--font-size-h3);
    font-weight: var(--font-bold);
    color: #FFFFFF;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-origin {
    font-size: var(--font-size-mini);
    color: rgba(255,255,255,0.8);
}

@media (min-width: 768px) {
    .hero-banner {
        height: 500px;
    }

    .banner-title {
        font-size: 40px;
    }

    .category-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .category-item {
        height: 150px;
    }

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
