body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #fafafa;
}

.main-body {
    padding: 0 75px 0 75px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 75px;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
}

.search-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.search-box {
    display: flex;
    align-items: center;
    border: 2px solid #409eff;
    border-radius: 24px;
    padding: 6px;
    width: 400px;
    max-width: 100%;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 14px;
}

.search-box button {
    border: none;
    background-color: #409eff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
}

.category-select {
    position: relative;
}

.category-select select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    cursor: pointer;
}

.category-icon {
    display: inline-flex;
    font-size: 22px;
    cursor: pointer;
}

.category-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 36px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 6px 0;
    margin: 0;
    min-width: 120px;
    z-index: 100;
}

.category-menu li {
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.category-menu li:hover {
    background-color: #f5f5f5;
}

.hot-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 16px;
    padding: 16px 20px;
    background: #fff;
}

.hot-categories button {
    background-color: #e8f7ef;
    color: #2e8b57;
    border: 1px solid #2e8b57;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.hot-categories button:hover {
    background-color: #2e8b57;
    color: #fff;
}

/* 热门分类选中状态 */
.hot-categories button.active {
    background-color: #2e8b57;
    color: #fff;
    border-color: #2e8b57;
}

.full-width-img {
    width: 100%;
    cursor: pointer;
}

@media (max-width: 768px) {
    .main-body {
        padding: 0;
    }
    .full-width-img {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    .logo {
        display: none;
    }

    .category-select select {
        display: none;
    }

    .category-icon {
        display: inline-flex;
    }

    .search-box {
        max-width: 280px;
    }
}
/* 右下角悬浮列 */
.float-actions {
    position: fixed;
    right: 20px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

/* 单个按钮（PC 默认上下结构） */
.float-action-item {
    display: flex;
    flex-direction: column;   /* 上下结构 */
    align-items: center;
    gap: 6px;
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    width: 64px;
}

.float-action-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 图标 */
.float-action-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* 文本 */
.float-action-text {
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

/* 移动端只显示图标 */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    .float-action-item {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .float-action-text {
        display: none;
    }
}
/* Footer */
.site-footer {
    background-color: #f2f2f2;
    color: #666;
    font-size: 13px;
    padding: 20px 16px;
    margin-top: 40px;
    text-align: center;      /* 核心：水平居中 */
}

/* 每一行文字 */
.footer-text {
    line-height: 1.6;
    word-break: break-word;  /* 长文本自动换行 */
}

/* 行间距 */
.footer-text + .footer-text {
    margin-top: 6px;
}