.pd-15 { padding: 15px; }
.pt-15 { padding-top: 15px; }
.pb-15 { padding-bottom: 15px; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.prb-1 { position: relative; bottom: 1px; }

body {
    background-color: #f5f5f5; /* 灰色背景，突出中间的内容区 */
    margin: 0;
    font-size: 16px;
}
.container {
    max-width: 450px; 
    margin: 0 auto; 
    /*min-height: 100vh;*/
    background-color: #fff; /* 背景色通常设为白色，防止两边留白处颜色不一 */
    position: relative;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}
.logo-box {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 18px;
}
.logo-box img {
    height: 28px;
    margin-right: 8px;
}
.header-right {
    display: flex;
}
.header-right>.kefu {
    padding-right: 15px;
}
.header-right>.kefu img {
    height: 28px;
}

/* 3. 语言列表样式 */
.lang-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5px;
    border-bottom: 1px solid #f2f2f2;
    cursor: pointer;
    transition: background 0.3s;
}
.lang-item:hover {
    background-color: #f8f8f8;
}
.lang-name {
    font-size: 15px;
    color: #333;
}
.flag-icon {
    width: 28px;
    /*height: 28px;*/
    object-fit: cover;
    /*border: 1px solid #eee;*/
}

.footer-tabbar {
    position: fixed;
    bottom: 0;
    /* 关键：继承父级的 540px 最大宽度并居中 */
    width: 100%;
    max-width: inherit; 
    height: 60px;
    background-color: #fff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    box-sizing: border-box;
}

.tab-item {
    flex: 1;
    text-align: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

/* 图标大小控制 */
.tab-item i {
    font-size: 26px !important;
}

/* 激活状态的颜色（如有需要） */
.tab-item.active {
    color: #000;
    font-weight: bold;
}

/* 针对 PC 端的阴影修饰，使其边缘更清晰 */
@media screen and (min-width: 541px) {
    .footer-tabbar {
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    }
}

.app-banner {
    display: flex;
    align-items: center;
    /*padding: 12px 15px;*/
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    box-sizing: border-box;
}

.banner-close {
    font-size: 16px !important;
    color: #999;
    margin-right: 12px;
    cursor: pointer;
}

.banner-content {
    flex: 1;
    /*padding-right: 10px;*/
}

.banner-content p {
    margin: 10px 5px;
    padding: 0;
    line-height: 1.3;
    font-family: Arial, sans-serif;
}

.main-text {
    font-size: 12px;
    font-weight: bold;
    color: #000;
}

.use-app-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap; /* 强制不换行 */
    cursor: pointer;
}

.use-app-btn:active {
    opacity: 0.8;
}

.profile-header {
    display: flex;
    align-items: center;
    height: 50px;
    background-color: #ffffff;
    /*border-bottom: 1px solid #f2f2f2;*/
    position: sticky;
    top: 0;
    z-index: 999;
}

.profile-back-btn {
    width: 50px;
    cursor: pointer;
    color: #666666;
    transition: opacity 0.2s;
}

.profile-back-btn:active {
    opacity: 0.5;
}

.profile-back-btn i {
    font-size: 18px;
    font-weight: bold;
}

.profile-title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    color: #333333;
    letter-spacing: 0.5px;
    margin-right: 50px; 
}

.profile-content {
    padding: 15px;
    background-color: #f8f8f8;
    min-height: calc(100vh - 51px);
}



.modal-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    font-family: sans-serif;
}

.modal-header {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    font-size: 18px;
    font-weight: bold;
}

.modal-body {
    padding: 15px;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.product-info img {
    width: 80px;
    height: 100px;
    object-fit: contain;
}
.product-name {
    font-size: 14px;
    color: #333;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}
.detail-row .val {
    color: #333;
}
.detail-row.total .val {
    font-weight: bold;
    font-size: 15px;
}

.rate-box {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}
.rate-stars {
    color: #000;
    font-size: 20px;
    margin-top: 5px;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #fff;
    gap: 15px;
}
.btn-cancel {
    flex: 1;
    height: 40px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    color: #666;
}
.btn-submit {
    flex: 1;
    height: 40px;
    border-radius: 20px;
    background: #000;
    color: #fff;
    border: none;
}