.category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fffdfb 0%, #fff5eb 100%);
    color: #8b603f;
    border: 1px solid #f0d6c0;
    box-shadow:
            4px 6px 14px rgba(202, 166, 133, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.88);
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.category-chip:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #fff8f1 0%, #ffefdf 100%);
    box-shadow:
            5px 8px 16px rgba(202, 166, 133, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.category-chip.active {
    background: linear-gradient(180deg, #ffc98f 0%, #ffb56e 58%, #f7a253 100%);
    color: #ffffff;
    border-color: #f1aa69;
    box-shadow:
            4px 6px 14px rgba(224, 150, 84, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.category-page-wrap,
.category-detail-wrap {
    max-width: 1500px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.category-hero,
.category-detail-card {
    padding: 34px 32px;
}

.category-hero {
    text-align: center;
}

.category-hero h1,
.category-detail-title {
    margin: 0;
    font-size: 34px;
    color: #70482c;
}

.category-hero p,
.category-detail-desc {
    margin: 12px 0 0;
    color: #8d6d58;
    line-height: 1.8;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 26px;
}

.category-tile {
    display: block;
    padding: 30px 24px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 241, 0.96) 100%);
    border: 1px solid #f1dfcf;
    box-shadow:
            8px 10px 22px rgba(209, 167, 124, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.category-tile:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 243, 232, 0.98) 100%);
    box-shadow:
            10px 12px 24px rgba(209, 167, 124, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.category-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffd5ad 0%, #ffbb7a 52%, #f4a152 100%);
    box-shadow:
            5px 7px 16px rgba(232, 164, 98, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
    font-size: 30px;
}

.category-name {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: #70482c;
}

.category-desc {
    margin-top: 10px;
    text-align: center;
    color: #90715c;
    line-height: 1.7;
    font-size: 15px;
}

.category-bottom-box {
    margin-top: 26px;
    padding: 24px 26px;
    color: #947560;
    line-height: 1.8;
}

.category-detail-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.category-chip-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.category-empty-box {
    margin-top: 24px;
    padding: 34px 28px;
    text-align: center;
}

.category-empty-title {
    margin: 0 0 12px;
    font-size: 28px;
    color: #74492b;
}

.category-empty-desc {
    margin: 0;
    color: #8c6b55;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .category-page-wrap,
    .category-detail-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category-hero,
    .category-detail-card,
    .category-empty-box {
        padding: 24px;
    }

    .category-hero h1,
    .category-detail-title {
        font-size: 29px;
    }

    .category-detail-title-row {
        justify-content: center;
        text-align: center;
    }

    .category-chip-row {
        gap: 10px;
    }
}