.eshop-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 12px 12px 84px;
}

.eshop-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 6px 0 10px;
}

.eshop-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 8px 0 12px;
}

.eshop-price-now {
    font-size: 22px;
    font-weight: 700;
}

.eshop-price-old {
    color: #999;
    text-decoration: line-through;
}

.eshop-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 8px 0 12px;
}

.eshop-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.eshop-card {
    background: #fff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    margin: 10px 0;
}

.eshop-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.eshop-packages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.eshop-package {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
}

.eshop-package.is-active {
    border-color: #18bc9c;
    box-shadow: 0 0 0 2px rgba(24, 188, 156, 0.15);
}

.eshop-package-name {
    font-weight: 600;
}

.eshop-package-price {
    color: #18bc9c;
    font-weight: 700;
    white-space: nowrap;
}

.eshop-form .form-group {
    margin-bottom: 10px;
}

.eshop-fixedbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #eee;
    padding: 10px 12px;
}

.eshop-fixedbar-inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.eshop-fixedbar-price {
    font-weight: 700;
    font-size: 16px;
}

.eshop-fixedbar-btn {
    flex: 0 0 auto;
    min-width: 140px;
}

.eshop-muted {
    color: #999;
}

.eshop-buy-tip-box {
    margin-bottom: 10px;
    display: none !important;
}

.eshop-buy-tip-box:has(.eshop-buy-tip:has(> :not(br))) {
    display: block !important;
}

.eshop-buy-tip {
    padding: 12px;
    background: #fff7e6;
    border: 1px solid #ffd591;
    border-radius: 6px;
    color: #874c00;
    line-height: 1.6;
    display: none !important;
}

.eshop-buy-tip:has(> :not(br)) {
    display: block !important;
}

.eshop-buy-tip img {
    max-width: 100%;
    height: auto;
}

.eshop-buy-tip p {
    margin: 8px 0;
}

/* 手机号验证样式 */
#eshop-phone.is-invalid-phone {
    border-color: #ff4d4f !important;
    background-color: #fff2f0 !important;
}

#eshop-phone.is-valid-phone {
    border-color: #52c41a !important;
    background-color: #f6ffed !important;
}

/* 输入时移除验证样式 */
#eshop-phone {
    transition: border-color 0.3s, background-color 0.3s;
}

