* { margin: 0; padding: 0; box-sizing: border-box; }
  :root {
    --primary: #1A1A1A;
    --primary-light: #3A3A3A;
    --primary-dark: #000000;
    --accent: #C4975A;
    --bg: #F7F5F0;
    --card: #FFFFFF;
    --text: #1C1C1E;
    --text-light: #8E8E93;
    --border: #E5E0D8;
    --success: #2E7D32;
    --danger: #C0392B;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --font-serif: "Georgia", "Noto Serif SC", serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  }
  body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
  }

  /* ===== Top Bar ===== */
  .top-bar {
    background: #1A1A1A;
    color: #fff;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .top-bar-left h1 {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 2px;
    white-space: nowrap;
    font-family: Georgia, "Noto Serif SC", serif;
  }
  .top-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .nav-btn-group {
    display: flex;
    gap: 4px;
  }
  .nav-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    padding: 6px 12px;
    border-radius: 0;
    font-size: 11px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-weight: 400;
  }
  .nav-btn:hover, .nav-btn.active {
    color: #fff;
    background: transparent;
  }
  .nav-btn.active {
    color: #fff;
    font-weight: 500;
    border-bottom: 1px solid var(--accent);
  }
  .user-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 11px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .user-btn:hover {
    background: rgba(255,255,255,0.3);
  }
  .user-avatar {
    display: inline-flex;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
  }

  /* ===== Container ===== */
  .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
  }

  /* ===== Card ===== */
  .card {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    margin-bottom: 20px;
    border: none;
  }
  .card h2 {
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    font-family: Georgia, "Noto Serif SC", serif;
  }
  .card h2::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--accent);
  }
  .card h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
  }

  /* ===== Form Elements ===== */
  .form-group {
    margin-bottom: 14px;
  }
  .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 5px;
  }
  .form-group label .required {
    color: var(--danger);
    margin-left: 2px;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    transition: border-color 0.2s;
    outline: none;
    font-family: inherit;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,94,60,0.1);
  }
  .form-group textarea {
    resize: vertical;
    min-height: 60px;
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* ===== Buttons ===== */
  .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .btn:active { transform: scale(0.97); }
  .btn-primary {
    background: var(--primary);
    color: #fff;
  }
  .btn-primary:hover { background: var(--primary-dark); }
  .btn-success {
    background: var(--success);
    color: #fff;
  }
  .btn-success:hover { background: #4A7B49; }
  .btn-danger {
    background: var(--danger);
    color: #fff;
  }
  .btn-danger:hover { background: #A93226; }
  .btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
  }
  .btn-outline:hover { background: rgba(139,94,60,0.06); }
  .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
  }
  .btn-block { width: 100%; }
  .btn:disabled { opacity: 0.5; cursor: not-allowed; }

  /* ===== Products Grid ===== */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
  }
  .product-card {
    border: none;
    border-radius: 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
  }
  .product-card .product-body {
    flex: 1;
    padding: 14px 4px;
  }
  .product-card:hover {
    opacity: 0.85;
  }
  .product-card.selected {
    background: rgba(0,0,0,0.02);
  }
  .product-card .name {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    font-family: var(--font-serif);
    line-height: 1.4;
  }
  .product-card .price {
    color: var(--primary);
    font-weight: 500;
    font-size: 15px;
  }
  .product-card .price .unit {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-light);
  }
  .product-card .desc {
    color: var(--text-light);
    font-size: 11px;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
  }
  .product-card .badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    padding: 2px 10px;
  }

  /* ===== Product Images ===== */
  .product-card .product-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 0;
    background: #fafafa;
    padding: 12px;
  }
  .product-card .product-img-placeholder {
    width: 100%;
    height: 140px;
    border-radius: 6px;
    margin-bottom: 8px;
    background: #f5f0eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ccc;
  }

  /* ===== Category ===== */
  .category-section { margin-bottom: 20px; }
  .category-header {
    font-size: 15px; font-weight: 600; color: var(--primary-dark);
    padding-bottom: 8px; margin-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: flex; align-items: center; gap: 8px;
  }
  .cat-tag {
    display: inline-block; padding: 2px 10px; border-radius: 10px;
    font-size: 11px; font-weight: 600;
  }
  .cat-tea { background: #E8F5E9; color: #2E7D32; }
  .cat-vinegar { background: #FCE4EC; color: #880E4F; }
  .cat-yunnan { background: #FFF3E0; color: #E65100; }
  .status-active { background: #E8F5E9; color: #2E7D32; }
  .status-inactive { background: #EEE; color: #999; }
  .filter-bar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
  .filter-chip {
    padding: 6px 14px; border-radius: 16px; font-size: 12px; cursor: pointer;
    border: 1.5px solid var(--border); background: #fff; color: var(--text);
    transition: all 0.2s; font-weight: 500;
  }
  .filter-chip:hover { border-color: var(--accent); }
  .filter-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

  /* ===== Brand Story ===== */
  .brand-story { background: linear-gradient(135deg, #FDF8F4 0%, #FCE4EC 30%, #FFF 100%); border: 1.5px solid var(--primary); }
  .brand-header { text-align: center; margin-bottom: 20px; }
  .brand-title-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
  .brand-title-row h2 { margin: 0; font-size: 18px; color: var(--primary-dark); }
  .brand-crown { font-size: 28px; }
  .brand-subtitle { color: var(--text-light); font-size: 13px; margin: 8px 0 0; font-style: italic; }
  .brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
  @media (max-width:500px) { .brand-grid { grid-template-columns: 1fr; } }
    .layout-left, .layout-right { width: 100% !important; flex: none !important; text-align: center !important; }
    #cart-checkout-layout { flex-direction: column !important; align-items: center !important; }
    .ref-img-wrap { width: 100% !important; max-width: 280px; }
    .order-input-wrap { width: 100%; }
    #cart-order-note-ref { width: 100% !important; max-width: 280px; }
  .brand-item { background: #fff; border-radius: 10px; padding: 14px; border: 1px solid var(--border); }
  .brand-item .brand-icon { font-size: 24px; margin-bottom: 4px; }
  .brand-item h4 { font-size: 14px; margin: 4px 0 6px; color: var(--primary-dark); }
  .brand-item p { font-size: 12px; line-height: 1.7; color: var(--text-light); margin: 0; }
  .brand-tips { background: var(--bg); border-radius: 10px; padding: 14px; }
  .brand-tips h4 { font-size: 14px; margin: 0 0 10px; color: var(--primary-dark); }
  .tips-grid { display: flex; flex-wrap: wrap; gap: 6px; }
  .tips-grid span {
    display: inline-block; padding: 4px 12px; border-radius: 14px;
    font-size: 12px; background: #fff; border: 1px solid var(--border);
    color: var(--text);
  }


  /* ===== Brand Story Tabbed ===== */
  .brand-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin: 14px 0 0; padding: 0;
  }
  .brand-tab {
    padding: 12px 8px; font-size: 14px; font-weight: 600;
    border: 1.5px solid var(--border); background: #fff; cursor: pointer;
    color: var(--text); border-radius: 10px;
    transition: all 0.2s; text-align: center;
  }
  .brand-tab:hover { color: var(--primary); border-color: var(--primary); background: #FFF8F5; }
  .brand-tab.active { color: #fff; border-color: var(--primary); background: var(--primary); }
  .brand-tab-content { display: none; margin-top: 16px; }
  .brand-tab-content.active { display: block; }
  .brand-story-intro { text-align: center; margin-bottom: 2px; }
  .brand-story-intro .author { font-size: 12px; color: var(--text-light); margin-top: 2px; }
  .read-more-box { text-align: center; margin-top: 14px; }
  .read-more-box button {
    padding: 6px 18px; border-radius: 16px; border: 1.5px solid var(--primary);
    background: #fff; color: var(--primary); font-size: 12px; cursor: pointer;
    transition: all 0.2s;
  }
  .read-more-box button:hover { background: var(--primary); color: #fff; }
  /* ===== Full Brand History (deprecated) ===== */
  .brand-history { margin-top: 16px; }
  .brand-history-toggle {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 12px; border: 1.5px dashed var(--primary);
    border-radius: 10px; background: #FFF8F5; cursor: pointer;
    font-size: 14px; font-weight: 600; color: var(--primary);
    transition: all 0.2s;
  }
  .brand-history-toggle:hover { background: #FFEDE4; border-style: solid; }
  .brand-history-toggle .arrow { transition: transform 0.3s ease; }
  .brand-history-toggle.open .arrow { transform: rotate(180deg); }
  .brand-history-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s ease;
  }
  .brand-history-content.open { max-height: 10000px; }
  .brand-history-inner {
    background: #fff; border-radius: 10px; border: 1px solid var(--border);
    padding: 20px; margin-top: 10px;
  }
  .brand-history-inner h3 {
    font-size: 16px; color: var(--primary-dark);
    margin: 0 0 16px; text-align: center;
  }
  .history-item {
    display: flex; gap: 14px; padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .history-item:last-child { border-bottom: none; }
  .history-year {
    flex-shrink: 0; width: 100px;
    font-size: 13px; font-weight: 700; color: var(--primary-dark);
    padding-top: 2px;
  }
  .history-year.step {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: var(--primary-dark); color: #fff; border-radius: 50%;
    font-size: 16px; padding: 0;
  }
  .history-body { flex: 1; }
  .history-body h4 { font-size: 14px; margin: 0 0 6px; color: var(--text); }
  .history-body p {
    font-size: 12px; line-height: 1.7; color: var(--text-light);
    margin: 0 0 4px;
  }
  .history-body .zh { font-weight: 500; color: var(--text); }
  .history-body .en { font-size: 11px; color: #999; font-style: italic; }
  .history-divider {
    text-align: center; padding: 4px 0; font-size: 12px; color: #ddd;
  }
  .history-image {
    margin: 12px 0; border-radius: 8px; overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .history-image img {
    width: 100%; height: auto; display: block;
  }
  .long-screenshot {
    max-height: 80vh; overflow-y: auto;
    border-radius: 8px; border: 1px solid var(--border);
    text-align: center;
  }
  .long-screenshot img {
    max-width: 100%; height: auto; display: inline-block;
  }
  @media (max-width:500px) {
    .history-item { flex-direction: column; gap: 6px; }
    .history-year { width: auto; }
  }

  /* ===== Table ===== */
  .table-wrap { overflow-x: auto; }
  table { width: 100%; border-collapse: collapse; font-size: 13px; }
  th, td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--border); }
  th { background: var(--bg); font-weight: 600; color: var(--text); white-space: nowrap; position: sticky; top: 0; }
  tr:hover td { background: rgba(139,94,60,0.02); }

  /* ===== Status ===== */
  .status-tag { display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; }
  .status-pending { background: #FFF3E0; color: #E65100; }
  .status-shipped { background: #E8F5E9; color: #2E7D32; }

  /* ===== Tabs ===== */
  .tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 16px; }
  .tab { padding: 10px 16px; font-size: 14px; cursor: pointer; border: none; background: none; color: var(--text-light); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all 0.2s; }
  .tab:hover { color: var(--text); }
  .tab.active { color: var(--primary); border-bottom-color: var(--primary); }

  /* ===== Modal ===== */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(2px);
  }
  .modal-overlay.show { display: flex; }
  .modal {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  }
  .modal h3 { font-size: 17px; margin-bottom: 16px; color: var(--primary-dark); text-align: center; }
  .modal .sub-text { text-align: center; color: var(--text-light); font-size: 13px; margin-bottom: 20px; }
  .modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: #999; line-height: 1; padding: 4px; transition: color 0.2s; }
  .modal-close:hover { color: #333; }
  .modal .switch-link { text-align: center; font-size: 13px; margin-top: 14px; color: var(--text-light); }
  .modal .switch-link a { color: var(--primary); cursor: pointer; text-decoration: underline; }

  /* ===== Toast ===== */
  .toast {
    position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
    background: var(--text); color: #fff; padding: 12px 24px; border-radius: 8px;
    font-size: 14px; z-index: 999999; opacity: 0; transition: opacity 0.3s;
    pointer-events: none; max-width: 90%; text-align: center;
  }
  .toast.show { opacity: 1; }
  .toast.success { background: var(--success); }
  .toast.error { background: var(--danger); }

  /* ===== Tracking Result ===== */
  .track-result { margin-top: 12px; }
  .track-item {
    background: var(--bg); border-radius: 8px; padding: 14px; margin-bottom: 10px;
    border-left: 4px solid var(--accent);
  }
  .track-item .ti-order { font-weight: 600; }
  .track-item .ti-tracking { color: var(--primary); font-weight: 700; font-size: 16px; margin-top: 4px; }
  .track-item .ti-info { color: var(--text-light); font-size: 12px; margin-top: 4px; }

  /* ===== Animations ===== */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .product-card { animation: fadeUp 0.5s ease both; }
  .product-card:nth-child(1) { animation-delay: 0.05s; }
  .product-card:nth-child(2) { animation-delay: 0.1s; }
  .product-card:nth-child(3) { animation-delay: 0.15s; }
  .product-card:nth-child(4) { animation-delay: 0.2s; }

  .home-cat-card { animation: fadeUp 0.5s ease both; }
  .home-cat-card:nth-child(1) { animation-delay: 0s; }
  .home-cat-card:nth-child(2) { animation-delay: 0.08s; }
  .home-cat-card:nth-child(3) { animation-delay: 0.16s; }

  /* ===== Empty State ===== */
  .empty-state { text-align: center; padding: 40px 20px; color: var(--text-light); }
  .empty-state .icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }

  /* ===== Admin Login ===== */
  .admin-login-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 250;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    backdrop-filter: blur(4px);
  }
  .admin-login-box {
    background: #fff; border-radius: var(--radius); padding: 32px;
    width: 100%; max-width: 360px; text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  }
  .admin-login-box h2 { margin-bottom: 8px; color: var(--primary-dark); }
  .admin-login-box p { color: var(--text-light); font-size: 13px; margin-bottom: 20px; }

  /* ===== Hidden ===== */
  .hidden { display: none !important; }

  /* ===== Order List Card (for my orders) ===== */
  .order-list-item {
    background: var(--bg); border-radius: 10px; padding: 14px; margin-bottom: 10px;
    border: 1px solid var(--border); cursor: pointer; transition: box-shadow 0.2s;
  }
  .order-list-item:hover { box-shadow: var(--shadow); }
  .order-list-item .oli-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
  }
  .order-list-item .oli-id { font-weight: 600; font-size: 13px; color: var(--primary); }
  .order-list-item .oli-product { font-size: 14px; }
  .order-list-item .oli-meta { color: var(--text-light); font-size: 12px; margin-top: 4px; display: flex; gap: 12px; flex-wrap: wrap; }

  /* ===== Responsive ===== */
  @media (max-width: 660px) {
    .top-bar { flex-direction: column; align-items: stretch; }
    .top-bar-left { justify-content: center; }
    .top-bar-right { justify-content: center; flex-wrap: wrap; }
    .nav-btn-group { flex-wrap: wrap; justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .container { padding: 12px; }
    .card { padding: 14px; }
    table { font-size: 12px; }
    th, td { padding: 8px 6px; }
  }
  @media (max-width: 400px) {
    .products-grid { grid-template-columns: 1fr; }
  }

  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

  @media print {
    .top-bar, .nav-buttons, .btn { display: none !important; }
    .card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  }

  .detail-row {
    display: flex; justify-content: space-between; padding: 8px 0;
    border-bottom: 1px solid var(--border); font-size: 14px;
  }
  .detail-row:last-child { border-bottom: none; }
  .detail-row .label { color: var(--text-light); }
  .detail-row .value { font-weight: 500; }

  /* ===== Cart Badge ===== */
  .cart-btn-wrapper { position: relative; display: inline-flex; }
  .cart-badge {
    position: absolute; top: -6px; right: -6px;
    background: #E53935; color: #fff;
    font-size: 9px; font-weight: 700;
    min-width: 16px; height: 16px;
    border-radius: 8px; display: flex;
    align-items: center; justify-content: center;
    padding: 0 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  }
  .cart-badge.hidden { display: none; }

  /* ===== Cart Page ===== */
  .cart-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid var(--border);
  }
  .cart-item:last-child { border-bottom: none; }
  .cart-item-img {
    width: 56px; height: 56px; border-radius: 8px;
    object-fit: contain; background: var(--bg); flex-shrink: 0;
  }
  .cart-item-info { flex: 1; min-width: 0; }
  .cart-item-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
  .cart-item-price { color: var(--danger); font-weight: 700; font-size: 13px; }
  .cart-item-qty {
    display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  }
  .cart-item-qty button {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1.5px solid var(--border); background: #fff;
    font-size: 16px; cursor: pointer; display: flex;
    align-items: center; justify-content: center;
    transition: all 0.15s;
  }
  .cart-item-qty button:hover { border-color: var(--primary); }
  .cart-item-qty span { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }
  .cart-item-del {
    background: none; border: none; color: var(--text-light);
    font-size: 18px; cursor: pointer; padding: 4px; flex-shrink: 0;
  }
  .cart-item-del:hover { color: var(--danger); }
  .cart-summary {
    background: var(--bg); border-radius: 8px; padding: 14px;
    margin-top: 12px; display: flex; justify-content: space-between;
    align-items: center;
  }
  .cart-summary .total-label { font-size: 14px; }
  .cart-summary .total-amount { font-size: 22px; font-weight: 700; color: var(--danger); }

  /* ===== Profile / My Page ===== */
  .profile-header {
    display: flex; align-items: center; gap: 16px; padding: 16px 0;
  }
  .profile-avatar-wrap {
    width: 72px; height: 72px; border-radius: 50%;
    background: var(--bg); border: 3px solid var(--accent);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; flex-shrink: 0; cursor: pointer;
    position: relative;
  }
  .profile-avatar-wrap img {
    width: 100%; height: 100%; object-fit: cover;
  }
  .profile-avatar-wrap .avatar-placeholder {
    font-size: 32px; color: var(--text-light);
  }
  .profile-info { flex: 1; }
  .profile-info .name { font-size: 18px; font-weight: 700; }
  .profile-info .phone { font-size: 13px; color: var(--text-light); margin-top: 2px; }

  /* Address list */
  .address-item {
    padding: 12px 0; border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: flex-start;
  }
  .address-item:last-child { border-bottom: none; }
  .address-item .addr-main { flex: 1; min-width: 0; }
  .address-item .addr-name { font-weight: 600; font-size: 14px; }
  .address-item .addr-detail { font-size: 13px; color: var(--text-light); margin-top: 2px; }
  .address-item .addr-actions { display: flex; gap: 6px; flex-shrink: 0; }
  .profile-tabs {
    display: flex; gap: 0; border-bottom: 2px solid var(--border);
    margin-bottom: 16px;
  }
  .profile-tab {
    flex: 1; padding: 10px; text-align: center; font-size: 13px;
    cursor: pointer; color: var(--text-light); border-bottom: 2px solid transparent;
    margin-bottom: -2px; transition: all 0.2s;
  }
  .profile-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
  .profile-empty { text-align: center; padding: 30px 0; color: var(--text-light); font-size: 14px; }
  .home-categories { display: flex; gap: 16px; margin-bottom: 20px; }
  .home-cat-card { flex: 1; border-radius: 0; padding: 32px 20px; cursor: pointer; transition: all 0.4s; text-align: center; text-decoration: none; color: var(--text); position: relative; overflow: hidden; background: #fff; border: 1px solid var(--border); }
  .home-cat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); border-color: var(--accent); }
  .home-cat-card .cat-icon { font-size: 36px; margin-bottom: 12px; display: block; opacity: 0.6; }
  .home-cat-card .cat-name { font-size: 15px; font-weight: 500; letter-spacing: 3px; margin-bottom: 6px; font-family: var(--font-serif); }
  .home-cat-card .cat-desc { font-size: 11px; color: var(--text-light); margin-bottom: 16px; letter-spacing: 0.5px; }
  .home-cat-card .cat-arrow { display: inline-block; padding: 6px 24px; border: 1px solid var(--text); font-size: 11px; letter-spacing: 1px; transition: all 0.3s; background: transparent; color: var(--text); }
  .home-cat-card:hover .cat-arrow { background: var(--primary); color: #fff; border-color: var(--primary); }
  .cat-tea { background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%); border: 1.5px solid #A5D6A7; }
  .cat-tea .cat-arrow { background: #4CAF50; color: #fff; }
  .cat-tea:hover { border-color: #4CAF50; background: linear-gradient(135deg, #C8E6C9 0%, #DCEDC8 100%); }
  .cat-vinegar { background: linear-gradient(135deg, #FFF3E0 0%, #FBE9E7 100%); border: 1.5px solid #FFCC80; }
  .cat-vinegar .cat-arrow { background: #E65100; color: #fff; }
  .cat-vinegar:hover { border-color: #E65100; background: linear-gradient(135deg, #FFE0B2 0%, #FFCCBC 100%); }
  @media (max-width: 400px) {
    .home-categories { flex-direction: column; }
  }

#admin-nav{position:relative}#admin-sched-panel.show{display:block!important}

.switch input:checked + .slider { background: #2196F3; }
                  .switch input:checked + .slider:before { transform: translateX(20px); }
                  .switch .slider:before { position:absolute; content:''; height:18px; width:18px; left:3px; bottom:3px; background:white; border-radius:50%; }