/* 通用CSS样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.5;
    font-size: 14px;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 顶部导航栏 */
.header {
    height: 44px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.header-title {
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.back-button {
    position: absolute;
    left: 15px;
    color: #09bb07;
}

.header-right {
    position: absolute;
    right: 15px;
    color: #09bb07;
}

/* 内容区域 */
.content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 50px;
}

/* 底部导航栏 */
.tabbar {
    height: 50px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #f0f0f0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-decoration: none;
    color: #999999;
    font-size: 10px;
}

.tab-item.active {
    color: #09bb07;
}

.tab-icon {
    margin-bottom: 3px;
    font-size: 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #09bb07;
    color: white;
    border-radius: 5px;
    text-align: center;
    font-size: 15px;
    border: none;
    outline: none;
    cursor: pointer;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #09bb07;
    color: #09bb07;
}

/* 卡片样式 */
.card {
    background-color: #fff;
    border-radius: 8px;
    margin: 10px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 表单元素 */
.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    min-height: 80px;
    resize: none;
}

/* 列表样式 */
.list {
    background-color: #fff;
}

.list-item {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.list-item-content {
    flex: 1;
}

.list-item-arrow {
    color: #ccc;
    margin-left: 5px;
}

/* 进度条 */
.progress {
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #09bb07;
    border-radius: 3px;
}

/* 图片上传区域 */
.upload-area {
    background-color: #f7f7f7;
    border: 1px dashed #ddd;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
}

.upload-icon {
    font-size: 24px;
    color: #999;
    margin-bottom: 10px;
}

/* 栅格系统 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

.col {
    flex: 1;
    padding: 0 5px;
}

/* 辅助类 */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: #09bb07;
}

.text-danger {
    color: #e64340;
}

.mt-10 {
    margin-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}

.p-15 {
    padding: 15px;
}

/* 徽章 */
.badge {
    display: inline-block;
    min-width: 8px;
    padding: 0.25em 0.4em;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 10px;
    background-color: #e64340;
    color: white;
}

/* 图片容器 */
.img-container {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* 品牌标志样式 */
.brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 搜索栏 */
.search-bar {
    display: flex;
    padding: 8px 10px;
    background-color: #ffffff;
}

.search-input {
    flex: 1;
    background-color: #f0f0f0;
    border-radius: 15px;
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    color: #333;
}

/* 价格标签 */
.price-tag {
    color: #e64340;
    font-size: 16px;
    font-weight: 500;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    font-size: 12px;
    margin-left: 5px;
} 