:root {
    --l-bg: #fbfbfa;
    --l-card: #ffffff;
    --l-text: #1a1a1a;
    --l-sub: #6e727d;
    --l-border: #e5e5e0;
    --l-accent: #991b1b;
    --l-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
body {
    margin: 0; background: var(--l-bg); color: var(--l-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
}
a { color: var(--l-text); text-decoration: none; }
.loess-header {
    position: sticky; top: 0; z-index: 1000;
    background: var(--l-card); border-bottom: 1px solid var(--l-border);
    box-shadow: var(--l-shadow);
}
.loess-header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    height: 65px; display: flex; align-items: center; justify-content: space-between;
}
.loess-logo img { height: 32px; }
.loess-nav {
    list-style: none; margin: 0; padding: 0; display: flex; gap: 30px;
}
.loess-nav a {
    color: var(--l-text); font-weight: bold; transition: color 0.2s;
}
.loess-nav a:hover, .loess-nav .loess-active {
    color: var(--l-accent);
}
.loess-user-zone { display: flex; align-items: center; }
.loess-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--l-border);
}
.loess-btn-login {
    background: var(--l-accent); color: #fff;
    padding: 6px 16px; border-radius: 4px; font-weight: bold;
}
.loess-notice-bar {
    background: #fff3f3; border-bottom: 1px solid #ffcccc; padding: 10px 20px;
}
.loess-notice-inner {
    max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
}
.loess-notice-tag {
    background: var(--l-accent); color: #fff; font-size: 11px;
    padding: 2px 6px; border-radius: 2px; font-weight: bold;
}
.loess-notice-text { color: var(--l-accent); font-size: 13px; font-weight: bold; }
.loess-portal-wrap { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.loess-featured-section { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 4px; padding: 25px; margin-bottom: 30px; }
.loess-section-title { font-size: 16px; font-weight: bold; margin-bottom: 20px; border-bottom: 1px solid var(--l-border); padding-bottom: 10px; }
.loess-featured-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.loess-featured-item { text-align: center; display: block; background: #fafafa; border: 1px solid var(--l-border); border-radius: 4px; padding: 15px; transition: transform 0.2s; }
.loess-featured-item:hover { transform: translateY(-3px); }
.loess-featured-img { width: 50px; height: 50px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; }
.loess-featured-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.loess-featured-name { font-size: 13px; font-weight: bold; margin-bottom: 8px; height: 36px; overflow: hidden; }
.loess-featured-price { color: var(--l-accent); font-weight: bold; font-size: 15px; }
.loess-cat-block { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 4px; padding: 25px; margin-bottom: 30px; }
.loess-cat-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--l-accent); padding-bottom: 10px; margin-bottom: 20px; }
.loess-cat-title { font-size: 18px; font-weight: bold; }
.loess-table-list { border: 1px solid var(--l-border); border-radius: 4px; overflow: hidden; }
.loess-table-header { display: flex; background: #fafafa; border-bottom: 1px solid var(--l-border); padding: 12px 20px; font-weight: bold; color: var(--l-sub); font-size: 13px; }
.loess-th { flex: 1; }
.loess-table-row { display: flex; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--l-border); transition: background 0.2s; }
.loess-table-row:last-child { border-bottom: none; }
.loess-table-row:hover { background: #fafafa; }
.loess-td { flex: 1; }
.loess-item-name a { font-weight: bold; }
.loess-item-name a:hover { color: var(--l-accent); }
.loess-tag { font-size: 11px; background: #f1f5f9; color: #475569; padding: 2px 6px; border-radius: 3px; }
.loess-tag-auto { background: #e0f2fe; color: #0369a1; }
.loess-item-price { font-weight: bold; color: var(--l-accent); }
.loess-item-stock { color: var(--l-sub); }
.loess-btn-buy { background: var(--l-accent); color: #fff; padding: 6px 16px; border-radius: 4px; font-size: 12px; font-weight: bold; }
.loess-btn-buy:hover { background: #801417; color: #fff; }
.loess-btn-disabled { background: #cbd5e1; cursor: not-allowed; }
.loess-btn-disabled:hover { background: #cbd5e1; color: #fff; }
.loess-breadcrumb { max-width: 1200px; margin: 20px auto 0; padding: 0 20px; font-size: 13px; color: var(--l-sub); }
.loess-breadcrumb a { color: var(--l-sub); }
.loess-breadcrumb a:hover { color: var(--l-accent); }
.loess-detail-layout { max-width: 1200px; margin: 20px auto; padding: 0 20px; display: flex; gap: 40px; }
.loess-detail-main { flex: 1; }
.loess-detail-title { font-size: 24px; font-weight: bold; margin: 0 0 10px 0; }
.loess-detail-meta { font-size: 12px; color: var(--l-sub); margin-bottom: 25px; }
.loess-checkout-panel { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 4px; padding: 30px; margin-bottom: 30px; display: flex; gap: 30px; }
.loess-detail-left { width: 35%; flex-shrink: 0; }
.loess-detail-img-box { background: #fafafa; border: 1px solid var(--l-border); border-radius: 4px; padding: 30px; display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; }
.loess-detail-img-box img { max-width: 90%; max-height: 90%; object-fit: contain; }
.loess-badges { display: flex; justify-content: space-between; margin-top: 20px; gap: 10px; }
.loess-badge-item { flex: 1; text-align: center; font-size: 11px; font-weight: bold; padding: 8px 0; background: #fff5f5; border: 1px solid #ffd1d1; color: var(--l-accent); border-radius: 2px; }
.loess-detail-right { flex: 1; }
.loess-price-row { background: #fafafa; padding: 15px 20px; border-radius: 4px; margin-bottom: 25px; display: flex; align-items: center; gap: 15px; }
.loess-price-label { font-size: 13px; color: var(--l-sub); }
.loess-price-val { font-size: 26px; color: var(--l-accent); font-weight: bold; }
.loess-stock-label { font-size: 12px; color: var(--l-sub); }
.loess-form-item { margin-bottom: 15px; }
.loess-form-item label { display: block; font-size: 13px; font-weight: bold; margin-bottom: 6px; }
.loess-input { width: 100%; height: 38px; border: 1px solid var(--l-border); border-radius: 4px; padding: 0 12px; box-sizing: border-box; outline: none; }
.loess-input:focus { border-color: var(--l-accent); }
.loess-btn-submit { width: 100%; height: 44px; background: var(--l-accent); color: #fff; border: none; border-radius: 4px; font-size: 14px; font-weight: bold; cursor: pointer; transition: background 0.2s; }
.loess-btn-submit:hover { background: #801417; }
.loess-btn-submit:disabled { background: #cbd5e1; cursor: not-allowed; }
.loess-desc-section { margin-top: 30px; }
.loess-desc-title { font-size: 16px; font-weight: bold; margin-bottom: 15px; border-bottom: 1px solid var(--l-border); padding-bottom: 10px; }
.loess-desc-content { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 4px; padding: 30px; line-height: 1.8; color: #333; }
.loess-detail-sidebar { width: 280px; flex-shrink: 0; }
.loess-widget { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 4px; padding: 20px; margin-bottom: 20px; }
.loess-widget-title { font-size: 15px; font-weight: bold; margin-bottom: 15px; border-left: 3px solid var(--l-accent); padding-left: 10px; }
.loess-support-widget { text-align: center; }
.loess-support-avatar { width: 50px; height: 50px; line-height: 50px; background: #fafafa; border: 1px solid var(--l-border); border-radius: 50%; margin: 0 auto 15px; font-size: 20px; color: var(--l-sub); }
.loess-support-name { font-size: 15px; font-weight: bold; margin-bottom: 8px; }
.loess-support-bio { font-size: 12px; color: var(--l-sub); line-height: 1.6; }
.loess-mini-search { display: flex; gap: 8px; }
.loess-btn-search { background: var(--l-accent); color: #fff; border: none; border-radius: 4px; padding: 0 15px; cursor: pointer; font-weight: bold; }
.loess-password-container { max-width: 500px; margin: 40px auto; padding: 0 20px; }
.loess-password-card { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 4px; padding: 40px; }
.loess-password-title { font-size: 18px; font-weight: bold; margin: 0 0 25px 0; text-align: center; }
.loess-wholesale-trigger { color: var(--l-accent); cursor: pointer; font-size: 13px; margin-bottom: 15px; font-weight: bold; }
.loess-wholesale-popup { padding: 20px; }
.loess-wholesale-popup-title { font-size: 14px; font-weight: bold; margin-bottom: 15px; }
.loess-group-wrap { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
.loess-group-title { font-size: 18px; font-weight: bold; margin-bottom: 20px; }
.loess-group-container { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 4px; overflow: hidden; }
.loess-table-header { display: flex; background: #fafafa; border-bottom: 1px solid var(--l-border); padding: 12px 20px; font-weight: bold; color: var(--l-sub); font-size: 13px; }
.loess-th-item { flex: 1; }
.loess-table-row { display: flex; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--l-border); }
.loess-table-row:last-child { border-bottom: none; }
.loess-table-row:hover { background: #fafafa; }
.loess-td-item { flex: 1; }
.loess-item-name a { font-weight: bold; }
.loess-item-name a:hover { color: var(--l-accent); }
.loess-type-tag { font-size: 11px; background: #f1f5f9; color: #475569; padding: 2px 6px; border-radius: 3px; }
.loess-type-auto { background: #e0f2fe; color: #0369a1; }
.loess-item-price { font-weight: bold; color: var(--l-accent); }
.loess-item-stock { color: var(--l-sub); }
.loess-btn-table { background: var(--l-accent); color: #fff; padding: 6px 16px; border-radius: 4px; font-size: 12px; font-weight: bold; }
.loess-btn-table:hover { background: #801417; color: #fff; }
.loess-btn-disabled { background: #cbd5e1; cursor: not-allowed; }
.loess-btn-disabled:hover { background: #cbd5e1; color: #fff; }
.loess-about-wrap { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.loess-about-card { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 4px; padding: 40px; }
.loess-about-title { font-size: 20px; font-weight: bold; margin: 0 0 25px 0; text-align: center; }
.loess-about-content { line-height: 1.8; }
.loess-checkout-wrap { max-width: 500px; margin: 40px auto; padding: 0 20px; }
.loess-checkout-card { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 4px; padding: 30px; margin-bottom: 20px; }
.loess-card-header { font-size: 16px; font-weight: bold; margin-bottom: 20px; border-bottom: 1px solid var(--l-border); padding-bottom: 10px; }
.loess-checkout-alert { background: #fef2f2; border: 1px solid #fee2e2; color: #ef4444; padding: 15px; border-radius: 4px; font-size: 13px; }
.loess-checkout-return { color: var(--l-sub); font-size: 13px; }
.loess-checkout-return:hover { color: var(--l-accent); }
.loess-checkout-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--l-border); }
.loess-checkout-row:last-of-type { border-bottom: none; }
.loess-checkout-total { font-weight: bold; font-size: 18px; color: var(--l-accent); border-top: 1px solid var(--l-border); padding-top: 20px; margin-top: 10px; }
.loess-success-title { color: #10b981; font-size: 18px; font-weight: bold; margin-bottom: 20px; }
.loess-checkout-btn { width: 100%; height: 44px; background: var(--l-accent); color: #fff; border: none; border-radius: 4px; font-size: 14px; font-weight: bold; cursor: pointer; }
.loess-pay-select-title { font-size: 14px; font-weight: bold; color: var(--l-sub); text-align: center; margin-bottom: 20px; }
.loess-pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.loess-pay-button { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 4px; padding: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.loess-pay-button:hover { border-color: var(--l-accent); }
.loess-pay-button img { height: 24px; }
.loess-query-card { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 4px; padding: 30px; }
.loess-query-tip { background: #f0fdf4; border: 1px solid #dcfce7; color: #15803d; padding: 12px; border-radius: 4px; font-size: 13px; margin-bottom: 20px; }
.loess-query-table { border: 1px solid var(--l-border); border-radius: 4px; overflow: hidden; }
.loess-query-header-row { display: flex; background: #fafafa; border-bottom: 1px solid var(--l-border); padding: 12px 15px; font-weight: bold; color: var(--l-sub); }
.loess-query-col { flex: 1; }
.loess-query-data-row { display: flex; align-items: center; padding: 15px; }
.loess-query-btn { background: var(--l-accent); color: #fff; padding: 6px 16px; border-radius: 4px; font-size: 12px; font-weight: bold; border: none; cursor: pointer; }
.loess-query-back { color: var(--l-sub); font-size: 12px; }
.loess-query-back:hover { color: var(--l-accent); }
.loess-query-empty { text-align: center; padding: 40px 0; color: var(--l-sub); }
.loess-query-container { background: var(--l-card); border: 1px solid var(--l-border); border-radius: 4px; overflow: hidden; }
.loess-query-tabs { display: flex; background: #fafafa; border-bottom: 1px solid var(--l-border); }
.loess-query-tab-link { flex: 1; text-align: center; padding: 15px 0; color: var(--l-sub); font-weight: bold; border-bottom: 2px solid transparent; }
.loess-query-tab-link:hover { color: var(--l-accent); }
.loess-query-tabs .loess-active { color: var(--l-accent); border-bottom-color: var(--l-accent); background: var(--l-card); }
.loess-query-body { padding: 30px; }
.loess-query-info { background: #f8fafc; border: 1px solid var(--l-border); padding: 12px; border-radius: 4px; font-size: 12px; color: var(--l-sub); margin-bottom: 25px; text-align: center; }
.loess-mobile-order-card { border: 1px solid var(--l-border); background: #fafafa; padding: 15px; border-radius: 4px; margin-bottom: 10px; }
.loess-mobile-card-title { display: flex; justify-content: space-between; font-weight: bold; cursor: pointer; }
@media (max-width: 900px) {
    .loess-portal-wrap { padding: 0; }
    .loess-featured-grid { grid-template-columns: repeat(3, 1fr); gap: 15px; }
    .loess-detail-layout { flex-direction: column; gap: 20px; }
    .loess-detail-sidebar { width: 100%; }
    .loess-checkout-panel { flex-direction: column; gap: 20px; }
    .loess-detail-left { width: 100%; }
}
@media (max-width: 600px) {
    .loess-featured-grid { grid-template-columns: repeat(2, 1fr); }
    .loess-table-header { display: none; }
    .loess-table-row { flex-direction: column; align-items: flex-start; gap: 8px; position: relative; padding: 20px; }
    .loess-td { width: 100%; text-align: left; }
    .loess-btn-buy { position: absolute; right: 20px; bottom: 20px; }
    .loess-footer-inner { flex-direction: column; gap: 15px; }
}
