
body { background: #f3e5f5; color: #333; font-family: "Microsoft YaHei", Arial, sans-serif; margin: 0; padding: 0; }
a { text-decoration: none; color: #333; }
.uvj-container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

.uvj-header { background: #673ab7; color: #fff; height: 65px; display: flex; align-items: center; }
.uvj-nav { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.uvj-nav > a img { height: 28px; background: #fff; padding: 5px 10px; border-radius: 4px; }
.uvj-menu { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.uvj-menu a { color: #fff; font-size: 15px; opacity: 0.9; transition: 0.3s; }
.uvj-menu a:hover, .uvj-active { opacity: 1; font-weight: bold; }
.uvj-user a { color: #fff; font-size: 14px; opacity: 0.9; }

.uvj-notice-box { background: #fff; padding: 20px; margin: 20px 0; border: 1px solid #e0e0e0; border-top: 3px solid #673ab7; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.uvj-notice-text { color: #d32f2f; font-size: 16px; line-height: 1.8; font-weight: 500; }

.uvj-table-wrap { background: #fff; border: 1px solid #e0e0e0; margin-bottom: 30px; }
.uvj-thead { background: #673ab7; display: flex; padding: 12px 20px; color: #fff; font-size: 15px; font-weight: bold; }
.uvj-th-prod { flex: 1; text-align: center; }
.uvj-th-price { width: 120px; text-align: center; }
.uvj-th-stock { width: 100px; text-align: center; }
.uvj-th-action { width: 100px; text-align: center; }

.uvj-tr { display: flex; align-items: center; padding: 15px 20px; border-bottom: 1px solid #f0f0f0; transition: 0.2s; }
.uvj-tr:hover { background: #f9fbfc; }
.uvj-td-prod { flex: 1; display: flex; align-items: center; gap: 15px; }
.uvj-prod-img { width: 50px; height: 50px; border: 1px solid #eee; border-radius: 4px; object-fit: cover; }
.uvj-prod-title { font-size: 14px; color: #333; line-height: 1.5; }
.uvj-prod-desc { font-size: 12px; color: #999; margin-top: 4px; }
.uvj-td-price { width: 120px; text-align: center; color: #673ab7; font-size: 16px; font-weight: bold; }
.uvj-td-stock { width: 100px; text-align: center; }
.uvj-stock-badge { background: #555; color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 3px; display: inline-block; }
.uvj-td-action { width: 100px; text-align: center; }
.uvj-btn-buy { background: #673ab7; color: #fff; border: none; padding: 6px 15px; font-size: 13px; border-radius: 3px; cursor: pointer; transition: 0.3s; display: inline-block; }
.uvj-btn-buy:hover { background: #512da8; color: #fff; }

.uvj-breadcrumb { padding: 15px 0; font-size: 13px; color: #666; }
.uvj-breadcrumb a { color: #333; }
.uvj-detail-box { background: #fff; border: 1px solid #e0e0e0; display: flex; padding: 30px; margin-bottom: 20px; gap: 40px; }
.uvj-detail-left { width: 320px; flex-shrink: 0; }
.uvj-detail-img { width: 100%; border: 1px solid #eee; padding: 5px; box-sizing: border-box; }
.uvj-detail-right { flex: 1; }
.uvj-detail-title { font-size: 20px; font-weight: bold; color: #333; margin-bottom: 20px; line-height: 1.4; }
.uvj-price-panel { background: #f9f9f9; padding: 20px; margin-bottom: 25px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 20px; }
.uvj-price-label { color: #888; font-size: 13px; }
.uvj-price-val { color: #673ab7; font-size: 28px; font-weight: bold; }
.uvj-stock-val { color: #673ab7; font-size: 13px; margin-left: auto; }

.uvj-form-row { margin-bottom: 20px; display: flex; align-items: center; gap: 15px; }
.uvj-input { border: 1px solid #ccc; padding: 8px 12px; border-radius: 3px; width: 220px; outline: none; }
.uvj-input:focus { border-color: #673ab7; }
.uvj-submit-lg { background: #673ab7; color: #fff; border: none; padding: 12px 30px; font-size: 16px; font-weight: bold; border-radius: 3px; cursor: pointer; transition:0.3s; }
.uvj-submit-lg:hover { background: #512da8; }
.uvj-submit-lg:disabled { background: #ccc; cursor: not-allowed; }

.uvj-desc-box { background: #fff; border: 1px solid #e0e0e0; margin-bottom: 40px; }
.uvj-desc-title { background: #f5f5f5; padding: 12px 20px; font-size: 15px; font-weight: bold; border-bottom: 1px solid #e0e0e0; }
.uvj-desc-content { padding: 30px 20px; line-height: 1.8; color: #555; font-size: 14px; }

.uvj-footer { background: #333; color: #aaa; text-align: center; padding: 30px 0; font-size: 13px; margin-top: 40px; }

@media (max-width: 768px) { header ul { display: none !important; } tr img, div img { max-width: 100%; }
    .uvj-thead { display: none; }
    .uvj-tr { position: relative; padding: 15px; display: block; border-bottom: 5px solid #f3e5f5; }
    .uvj-td-prod { margin-bottom: 10px; }
    .uvj-prod-img { width: 60px; height: 60px; }
    .uvj-prod-title { font-size: 15px; }
    .uvj-td-price { text-align: left; width: auto; font-size: 18px; display: inline-block; }
    .uvj-td-stock { text-align: left; width: auto; display: inline-block; margin-left: 10px; }
    .uvj-stock-badge { background: transparent; color: #673ab7; border: 1px solid #673ab7; }
    .uvj-td-action { position: absolute; right: 15px; bottom: 15px; width: auto; }
    
    .uvj-detail-box { flex-direction: column; padding: 15px; gap: 20px; }
    .uvj-detail-left { width: 100%; }
    .uvj-price-panel { flex-direction: column; align-items: flex-start; gap: 10px; padding: 15px; }
    .uvj-stock-val { margin-left: 0; }
    .uvj-input { width: 100%; box-sizing: border-box; }
    .uvj-submit-lg { width: 100%; }
}
