/* ============================================
   派工之家 UI v2 - 匹配首页UI.png 设计
   ============================================ */

/* ----- CSS Variables ----- */
:root {
  --ui-primary: #1a1a2e;
  --ui-primary-light: #2d3561;
  --ui-accent: #c9a96e;
  --ui-accent-light: #d4b87a;
  --ui-accent-dark: #a88b52;
  --ui-gold-gradient: linear-gradient(135deg, #c9a96e 0%, #d4b87a 100%);
  
  --ui-bg-body: #ffffff;
  --ui-bg-card: #ffffff;
  --ui-bg-section: #f8f8f8;
  --ui-bg-footer: #f5f5f5;
  --ui-bg-navbar: rgba(255, 255, 255, 0.95);
  
  --ui-text: #1a1a1a;
  --ui-text-secondary: #666666;
  --ui-text-muted: #999999;
  --ui-text-inverse: #ffffff;
  --ui-text-gold: #c9a96e;
  
  --ui-border: #e5e5e5;
  --ui-border-light: rgba(0,0,0,0.06);
  --ui-shadow-card: 0 4px 20px rgba(0,0,0,0.08);
  --ui-shadow-hover: 0 12px 40px rgba(0,0,0,0.12);
  
  --ui-radius-sm: 6px;
  --ui-radius-md: 10px;
  --ui-radius-lg: 16px;
  --ui-radius-xl: 24px;
  
  --ui-font-serif: "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
  --ui-font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  
  /* Compatibility aliases for old pages */
  --primary: var(--ui-accent);
  --primary-hover: var(--ui-accent-dark);
  --bg-page: var(--ui-bg-body);
  --bg-card: var(--ui-bg-card);
  --text: var(--ui-text);
  --text-secondary: var(--ui-text-secondary);
  --text-muted: var(--ui-text-muted);
  --border: var(--ui-border);
  --warning: #f5a623;
  --info: #1890ff;
  --success: #52c41a;
  --error: #ff4d4f;
}

[data-theme="dark"] {
  --ui-bg-body: #0a0e1a;
  --ui-bg-card: #141824;
  --ui-bg-section: #141824;
  --ui-bg-footer: #070a12;
  --ui-bg-navbar: rgba(10, 14, 26, 0.95);
  
  --ui-text: #f0f0f0;
  --ui-text-secondary: #a0a0a0;
  --ui-text-muted: #8b93a3;
  --ui-text-inverse: #f0f0f0;
  
  --ui-border: #2a2a3e;
  --ui-border-light: rgba(255,255,255,0.06);
  --ui-shadow-card: 0 4px 20px rgba(0,0,0,0.35);
  --ui-shadow-hover: 0 12px 40px rgba(0,0,0,0.45);
  
  /* Compatibility aliases */
  --bg-page: var(--ui-bg-body);
  --bg-card: var(--ui-bg-card);
  --text: var(--ui-text);
  --text-secondary: var(--ui-text-secondary);
  --text-muted: var(--ui-text-muted);
  --border: var(--ui-border);
  --primary: var(--ui-accent);
  --primary-hover: var(--ui-accent-dark);
  --warning: #f5a623;
  --info: #1890ff;
  --success: #52c41a;
  --error: #ff4d4f;
}

/* ----- Base Overrides ----- */
body {
  font-family: var(--ui-font-sans);
  background: var(--ui-bg-body);
  color: var(--ui-text);
}

/* ----- Navbar ----- */
.site-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 64px;
  background: var(--ui-bg-navbar);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ui-border-light);
  transition: all 0.3s ease;
}
.site-navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.navbar-logo .logo-img {
  height: 36px;
  width: auto;
  transition: opacity 0.3s;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.navbar-menu .nav-item {
  display: block;
  padding: 0 18px;
  color: var(--ui-text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  line-height: 64px;
  transition: color 0.25s;
  position: relative;
}
.navbar-menu .nav-item:hover {
  color: var(--ui-text);
}
.navbar-menu .nav-item.active {
  color: var(--ui-text);
}
.navbar-menu .nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--ui-accent);
  border-radius: 1px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--ui-radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  background: none;
  white-space: nowrap;
}

.nav-btn-text {
  color: var(--ui-text);
}
.nav-btn-text:hover {
  color: var(--ui-accent);
}

.nav-btn-outline {
  color: var(--ui-text);
  border: 1px solid var(--ui-border);
}
.nav-btn-outline:hover {
  border-color: var(--ui-accent);
  color: var(--ui-accent);
}

.nav-btn-primary {
  background: var(--ui-gold-gradient);
  color: #1a1a1a;
  font-weight: 600;
}
.nav-btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201,169,110,0.3);
}

.nav-btn-ghost {
  color: var(--ui-text-secondary);
  font-size: 13px;
}
.nav-btn-ghost:hover {
  color: var(--ui-text);
}

.theme-toggle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--ui-border);
  background: var(--ui-bg-card);
  color: var(--ui-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  font-size: 14px;
}
.theme-toggle-btn:hover {
  background: var(--ui-accent);
  color: #1a1a1a;
}

/* ----- Main Content ----- */
.site-main {
  padding-top: 64px;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--ui-bg-footer);
  color: var(--ui-text-secondary);
  font-size: 13px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--ui-border-light);
}

.footer-brand .footer-logo-img {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
}
.footer-brand .footer-slogan {
  font-family: var(--ui-font-serif);
  font-size: 16px;
  color: var(--ui-text);
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.footer-brand .footer-desc {
  line-height: 1.8;
  color: var(--ui-text-muted);
  margin-bottom: 20px;
  font-size: 13px;
}
.footer-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ui-text-secondary);
  font-size: 12px;
}
.footer-badges i {
  color: var(--ui-accent);
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ui-text);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  color: var(--ui-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 13px;
}
.footer-col ul li a:hover {
  color: var(--ui-accent);
}

.footer-contact h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ui-text);
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.footer-contact .contact-time {
  color: var(--ui-text-muted);
  font-size: 12px;
  margin-bottom: 16px;
}
.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--ui-bg-body);
  border: 1px solid var(--ui-border);
  color: var(--ui-text);
  border-radius: var(--ui-radius-sm);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.25s;
  margin-bottom: 20px;
}
.footer-btn:hover {
  background: var(--ui-accent);
  color: #1a1a1a;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ui-bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ui-text-secondary);
  text-decoration: none;
  transition: all 0.25s;
  font-size: 14px;
}
.footer-social a:hover {
  background: var(--ui-accent);
  color: #1a1a1a;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  color: var(--ui-text-muted);
  font-size: 12px;
}

/* ----- Toast ----- */
.ui-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  z-index: 10000;
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.ui-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ============================================
   通用页面内容样式
   ============================================ */

/* Page Banner */
.page-banner {
  height: 400px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  position: relative;
}
.page-banner .banner-bg {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  transform: none;
  object-fit: cover !important;
  object-position: center center;
}
.page-banner .banner-overlay {
  display: none;
}
.page-banner .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  display: none;
}
.page-banner .banner-content h1 {
  font-family: var(--ui-font-serif);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 4px;
}
.page-banner .banner-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
}

/* Page Section */
.page-section {
  padding: 60px 0;
  background: var(--ui-bg-section);
}
.page-section-alt {
  background: var(--ui-bg-body);
}

.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Page Title */
.page-title {
  font-family: var(--ui-font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--ui-text);
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.page-title-center {
  text-align: center;
}

.page-desc {
  font-size: 16px;
  color: var(--ui-text-secondary);
  line-height: 1.8;
  max-width: 800px;
}
.page-desc-center {
  text-align: center;
  margin: 0 auto;
}

/* Card Grid */
.ui-card-grid-5, .card-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.ui-card-grid-4, .card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ui-card-grid-3, .card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ui-card-grid-2, .card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* Info Card (white bg, shadow, rounded) */
.ui-info-card {
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  padding: 32px;
  box-shadow: var(--ui-shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
}
.ui-info-card:hover {
  box-shadow: var(--ui-shadow-hover);
}

/* Filter Bar */
.ui-filter-bar {
  background: var(--ui-bg-card);
  border-bottom: 1px solid var(--ui-border-light);
  padding: 20px 0;
}
.ui-filter-bar .filter-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.ui-filter-group {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ui-border-light);
}
.ui-filter-group:last-child {
  border-bottom: none;
}
.ui-filter-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ui-text);
  white-space: nowrap;
  padding-top: 6px;
  min-width: 80px;
}
.ui-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ui-filter-option {
  padding: 6px 16px;
  font-size: 13px;
  color: var(--ui-text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--ui-radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.ui-filter-option:hover {
  color: var(--ui-accent);
  border-color: var(--ui-accent);
}
.ui-filter-option.active {
  color: var(--ui-accent);
  border-color: var(--ui-accent);
  background: rgba(201,169,110,0.08);
}

/* ============================================
   首页专属样式 - Hero / Section / Card
   ============================================ */

/* ----- Hero Banner ----- */
.hero-banner {
  position: relative;
  height: 400px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
}
.hero-banner .hero-bg {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  transform: none;
  object-fit: cover !important;
  object-position: center center;
}
.hero-banner .hero-overlay {
  display: none;
}
.hero-banner .hero-content {
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  padding: 0 24px;
  text-align: center;
}

.hero-title,
.hero-tagline,
.hero-desc {
  display: none;
}

/* Search Box */
.hero-search-box {
  display: flex;
  align-items: center;
  width: 560px;
  max-width: 100%;
  height: 46px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 3px 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  margin: 0 auto;
  position: relative;
  overflow: visible;
}
.hero-search-box .search-type {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px 0 18px;
  border-right: 1px solid #e8e8e8;
  color: #333333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  height: 100%;
  user-select: none;
  position: static;
}
.hero-search-box .search-type i {
  font-size: 10px;
  color: #666666;
}
.hero-search-box .search-type-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 4px;
  width: 112px;
  min-width: 112px;
  max-width: 112px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  display: none;
  z-index: 20;
  overflow: visible;
}
.hero-search-box .search-type-menu.open {
  display: block;
}
.hero-search-box .search-type-menu button {
  display: block;
  width: 100%;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #333333;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.hero-search-box .search-type-menu button:hover {
  background: rgba(201, 169, 110, 0.16);
  color: #1a1a1a;
}
.hero-search-box input {
  flex: 1;
  padding: 0 14px;
  border: none;
  outline: none;
  font-size: 14px;
  color: #333333;
  background: transparent;
  height: 100%;
}
.hero-search-box input::placeholder {
  color: #aaaaaa;
}
.hero-search-box .search-btn {
  padding: 0 22px;
  height: 100%;
  background: #1e3a5f;
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
}
.hero-search-box .search-btn:hover {
  background: #152a45;
}

/* Hot Tags */
.hero-hot-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.hero-hot-tags span {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}
.hero-hot-tags a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.hero-hot-tags a:hover {
  color: var(--ui-accent);
}

/* ----- Features Bar ----- */
.features-bar {
  background: var(--ui-bg-card);
  padding: 16px 0;
  border-bottom: 1px solid var(--ui-border-light);
}
.features-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,169,110,0.1), rgba(201,169,110,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ui-accent);
  flex-shrink: 0;
}
.feature-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ui-text);
  margin-bottom: 4px;
}
.feature-text p {
  font-size: 13px;
  color: var(--ui-text-muted);
}

/* ----- Section ----- */
.ui-section {
  padding: 60px 0;
  background: var(--ui-bg-section);
}
.ui-section-alt {
  background: var(--ui-bg-body);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.section-title {
  font-family: var(--ui-font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--ui-text);
  letter-spacing: 2px;
}
.section-subtitle {
  font-size: 13px;
  color: var(--ui-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ui-text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.section-more:hover {
  color: var(--ui-accent);
}
.section-more i {
  font-size: 12px;
}

/* ----- Cards ----- */
.category-card {
  position: relative;
  border-radius: var(--ui-radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover img {
  transform: scale(1.08);
}
.category-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.category-card .card-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}
.category-card .card-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.category-card .play-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

/* Product Card */
.product-card {
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  overflow: hidden;
  box-shadow: var(--ui-shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}
.product-card:hover {
  box-shadow: var(--ui-shadow-hover);
  transform: translateY(-4px);
}
.product-card .card-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.product-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .card-img img {
  transform: scale(1.05);
}
.product-card .card-body {
  padding: 16px;
}
.product-card .card-body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ui-text);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card .card-body .card-info {
  font-size: 13px;
  color: var(--ui-text-muted);
  margin-bottom: 10px;
}
.product-card .card-body .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card .card-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--ui-accent);
}
.product-card .card-price small {
  font-size: 12px;
  font-weight: 400;
}
.product-card .card-likes {
  font-size: 12px;
  color: var(--ui-text-muted);
}

/* Package Card */
.package-card {
  background: linear-gradient(135deg, #1a2332, #0f1724);
  border-radius: var(--ui-radius-md);
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.package-card.recommended {
  background: linear-gradient(135deg, #1e2d42, #162233);
  border: 1px solid rgba(201,169,110,0.3);
}
.package-card .rec-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--ui-gold-gradient);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0 0 0 8px;
}
.package-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}
.package-card .package-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--ui-accent-light);
  margin-bottom: 16px;
}
.package-card .package-price small {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.7;
}
.package-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.package-card ul li {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.package-card ul li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ui-accent);
  flex-shrink: 0;
}
.package-card .package-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  text-align: center;
  border-radius: var(--ui-radius-sm);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.package-card .package-btn:hover {
  background: var(--ui-gold-gradient);
  color: #1a1a1a;
  border-color: transparent;
}
.package-card.recommended .package-btn {
  background: var(--ui-gold-gradient);
  color: #1a1a1a;
  border-color: transparent;
}

/* Designer Card */
.designer-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  padding: 20px;
  box-shadow: var(--ui-shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
}
.designer-card:hover {
  box-shadow: var(--ui-shadow-hover);
  transform: translateY(-4px);
}
.designer-card .designer-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--ui-radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.designer-card .designer-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ui-text);
  margin-bottom: 4px;
}
.designer-card .designer-info .designer-meta {
  font-size: 13px;
  color: var(--ui-text-muted);
  margin-bottom: 2px;
}
.designer-card .designer-info .designer-tag {
  font-size: 12px;
  color: var(--ui-text-muted);
}

/* Community Section */
.community-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  height: 520px;
}
.community-card {
  position: relative;
  border-radius: var(--ui-radius-md);
  overflow: hidden;
  cursor: pointer;
}
.community-card.large {
  grid-column: 1;
  grid-row: 1 / span 3;
}
.community-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.community-card:hover img {
  transform: scale(1.05);
}
.community-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.community-card .card-overlay h4 {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}
.community-card .card-overlay p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.community-card .card-overlay .card-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.community-card .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
}

/* ============================================
   兼容性样式 - 旧页面使用的类名
   ============================================ */

/* Old filter bar compatibility */
.filter-bar {
  background: var(--ui-bg-card);
  border-bottom: 1px solid var(--ui-border-light);
}
.filter-bar .filter-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
}
.filter-bar .filter-group {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ui-border-light);
}
.filter-bar .filter-group:last-child {
  border-bottom: none;
}
.filter-bar .filter-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ui-text);
  white-space: nowrap;
  padding-top: 6px;
  min-width: 80px;
}
.filter-bar .filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-bar .filter-option {
  padding: 6px 16px;
  font-size: 13px;
  color: var(--ui-text-secondary);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--ui-radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.filter-bar .filter-option:hover {
  color: var(--ui-accent);
  border-color: var(--ui-accent);
}
.filter-bar .filter-option.active {
  color: var(--ui-accent);
  border-color: var(--ui-accent);
  background: rgba(201,169,110,0.08);
}

/* Old person card (zhimo) compatibility */
.zhimo-person-card {
  width: 220px;
  flex-shrink: 0;
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  padding: 20px;
  box-shadow: var(--ui-shadow-card);
  color: var(--ui-text);
}
.zhimo-person-rank {
  font-size: 12px;
  font-weight: 600;
  color: var(--ui-accent);
  margin-bottom: 10px;
}
.zhimo-person-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 10px;
}
.zhimo-follow-btn {
  padding: 6px 16px;
  border: 1px solid var(--ui-accent);
  background: transparent;
  color: var(--ui-accent);
  border-radius: var(--ui-radius-sm);
  font-size: 12px;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.25s;
}
.zhimo-follow-btn:hover {
  background: var(--ui-accent);
  color: #1a1a1a;
}
.zhimo-view-btn {
  display: block;
  text-align: center;
  padding: 8px;
  background: var(--ui-gold-gradient);
  color: #1a1a1a;
  border-radius: var(--ui-radius-sm);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  margin-top: 10px;
}

/* Old case grid compatibility */
.zhimo-case-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.zhimo-case-card {
  border-radius: var(--ui-radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--ui-bg-card);
  box-shadow: var(--ui-shadow-card);
  transition: box-shadow 0.3s;
}
.zhimo-case-card:hover {
  box-shadow: var(--ui-shadow-hover);
}
.zhimo-case-img {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.zhimo-case-img i {
  font-size: 32px;
  color: var(--ui-text-muted);
}
.zhimo-case-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  background: var(--ui-accent);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 600;
  border-radius: 3px;
}
.zhimo-case-info {
  padding: 12px;
}
.zhimo-case-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ui-text);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zhimo-case-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ui-text-muted);
}

/* Old product grid compatibility (mall page) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-grid .product-card {
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  overflow: hidden;
  box-shadow: var(--ui-shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-grid .product-card:hover {
  box-shadow: var(--ui-shadow-hover);
  transform: translateY(-4px);
}
.product-grid .product-card .product-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.product-grid .product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-grid .product-card .product-info {
  padding: 16px;
}
.product-grid .product-card .product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ui-text);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-grid .product-card .product-spec {
  font-size: 12px;
  color: var(--ui-text-muted);
  margin-bottom: 12px;
}
.product-grid .product-card .product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-grid .product-card .product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--ui-accent);
}
.product-grid .product-card .product-btn {
  padding: 6px 14px;
  background: var(--ui-gold-gradient);
  color: #1a1a1a;
  border: none;
  border-radius: var(--ui-radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.product-grid .product-card .product-btn:hover {
  opacity: 0.9;
}

/* Person row list */
.person-row-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Pagination compatibility */
.pc-pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ui-text-secondary);
  text-decoration: none;
  border: 1px solid var(--ui-border);
  background: var(--ui-bg-card);
  transition: all 0.2s;
}
.pagination li.active span {
  background: var(--ui-accent);
  color: #1a1a1a;
  border-color: var(--ui-accent);
}
.pagination li a:hover {
  border-color: var(--ui-accent);
  color: var(--ui-accent);
}

.pc-pagination nav[role="navigation"] {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pc-pagination nav[role="navigation"] > div:first-child {
  display: none;
}

.pc-pagination nav[role="navigation"] > div:last-child {
  display: flex;
  justify-content: center;
  width: 100%;
}

.pc-pagination nav[role="navigation"] > div:last-child > div:first-child {
  display: none;
}

.pc-pagination nav[role="navigation"] > div:last-child > div:last-child,
.pc-pagination nav[role="navigation"] span[aria-current="page"] {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pc-pagination nav[role="navigation"] * {
  box-sizing: border-box;
}

.pc-pagination nav[role="navigation"] a,
.pc-pagination nav[role="navigation"] div > span,
.pc-pagination nav[role="navigation"] span[aria-current="page"] > span,
.pc-pagination nav[role="navigation"] span[aria-disabled="true"] > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid var(--ui-border);
  background: var(--ui-bg-card);
  color: var(--ui-text-secondary);
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  box-shadow: none !important;
}

.pc-pagination nav[role="navigation"] a:hover {
  border-color: var(--ui-accent);
  color: var(--ui-accent);
}

.pc-pagination nav[role="navigation"] div > span[aria-current="page"],
.pc-pagination nav[role="navigation"] div > span[aria-current="page"] > span,
.pc-pagination nav[role="navigation"] span[aria-current="page"] > span {
  background: var(--ui-accent);
  border-color: var(--ui-accent);
  color: #1a1a1a;
  font-weight: 600;
}

.pc-pagination nav[role="navigation"] div > span[aria-disabled="true"],
.pc-pagination nav[role="navigation"] div > span[aria-disabled="true"] > span,
.pc-pagination nav[role="navigation"] span[aria-disabled="true"] > span {
  opacity: 0.45;
  cursor: not-allowed;
}

.pc-pagination nav[role="navigation"] svg {
  width: 16px;
  height: 16px;
}

.pc-pagination nav[role="navigation"] .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#pagination,
#paginationWrap,
[id$="Pagination"] {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#pagination > nav,
#pagination > div,
#paginationWrap > nav,
#paginationWrap > div,
[id$="Pagination"] > nav,
[id$="Pagination"] > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#pagination button,
#pagination a,
#pagination span,
#paginationWrap button,
#paginationWrap a,
#paginationWrap span,
[id$="Pagination"] button,
[id$="Pagination"] a,
[id$="Pagination"] span {
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ui-border);
  background: var(--ui-bg-card);
  color: var(--ui-text-secondary);
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#pagination button.bg-blue-500,
#pagination button.bg-primary,
#pagination a.bg-blue-500,
#pagination a.bg-primary,
#paginationWrap button.bg-blue-500,
#paginationWrap button.bg-primary,
#paginationWrap a.bg-blue-500,
#paginationWrap a.bg-primary,
[id$="Pagination"] button.bg-blue-500,
[id$="Pagination"] button.bg-primary,
[id$="Pagination"] a.bg-blue-500,
[id$="Pagination"] a.bg-primary {
  background: var(--ui-accent);
  border-color: var(--ui-accent);
  color: #1a1a1a;
  font-weight: 600;
}

#pagination button:disabled,
#pagination a[aria-disabled="true"],
#paginationWrap button:disabled,
#paginationWrap a[aria-disabled="true"],
[id$="Pagination"] button:disabled,
[id$="Pagination"] a[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

#pagination button:hover,
#pagination a:hover,
#paginationWrap button:hover,
#paginationWrap a:hover,
[id$="Pagination"] button:hover,
[id$="Pagination"] a:hover {
  border-color: var(--ui-accent);
  color: var(--ui-accent);
}

/* ===== User Center ===== */
.user-center {
  display: flex;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* Sidebar */
.user-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-lg);
  border: 1px solid var(--ui-border);
  overflow: hidden;
  box-shadow: var(--ui-shadow-card);
  height: fit-content;
  position: sticky;
  top: 100px;
}
.user-sidebar .user-profile {
  padding: 32px 20px;
  text-align: center;
  border-bottom: 1px solid var(--ui-border);
  background: linear-gradient(180deg, var(--ui-bg-card) 0%, var(--ui-bg-body) 100%);
}
.user-sidebar .user-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ui-accent);
  margin-bottom: 12px;
}
.user-sidebar .user-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ui-text);
  margin-bottom: 4px;
}
.user-sidebar .user-phone {
  font-size: 13px;
  color: var(--ui-text-muted);
}
.user-sidebar .user-menu {
  list-style: none;
  padding: 12px 0;
  margin: 0;
}
.user-sidebar .user-menu li a,
.user-sidebar .user-menu li button {
  display: block;
  padding: 12px 24px;
  color: var(--ui-text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
  border-left: 3px solid transparent;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.user-sidebar .user-menu li a:hover,
.user-sidebar .user-menu li button:hover {
  color: var(--ui-accent);
  background: var(--ui-bg-body);
}
.user-sidebar .user-menu li a.active {
  color: var(--ui-accent);
  border-left-color: var(--ui-accent);
  background: var(--ui-bg-body);
  font-weight: 600;
}
.user-sidebar .user-menu li .logout-form {
  display: block;
  margin: 0;
  padding: 0;
}
.user-sidebar .user-menu li .logout-btn {
  display: block;
  width: 100%;
  padding: 12px 24px;
  color: var(--ui-text-secondary);
  font-size: 14px;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.user-sidebar .user-menu li .logout-btn:hover {
  color: var(--ui-accent);
  background: var(--ui-bg-body);
}

/* Main content */
.user-main {
  flex: 1;
  min-width: 0;
  padding: 30px 24px;
}

/* Section */
.user-section {
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-lg);
  border: 1px solid var(--ui-border);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--ui-shadow-card);
}
.user-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ui-text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ui-border);
}

/* Quick links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--ui-bg-body);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
  transition: all 0.2s;
  position: relative;
}
.quick-link:hover {
  border-color: var(--ui-accent);
  transform: translateY(-2px);
  box-shadow: var(--ui-shadow-hover);
}
.quick-link-icon {
  font-size: 28px;
  line-height: 1;
}
.quick-link-text {
  font-size: 14px;
  color: var(--ui-text-secondary);
  font-weight: 500;
}
.quick-link-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--ui-accent);
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Order stats */
.order-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.order-stat {
  text-align: center;
  padding: 16px;
  background: var(--ui-bg-body);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
}
.order-stat-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--ui-accent);
  margin-bottom: 4px;
}
.order-stat-label {
  font-size: 13px;
  color: var(--ui-text-muted);
}

/* Order card */
.order-card {
  background: var(--ui-bg-body);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.order-card:hover {
  box-shadow: var(--ui-shadow-hover);
}
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--ui-bg-card);
  border-bottom: 1px solid var(--ui-border);
  font-size: 13px;
  color: var(--ui-text-muted);
}
.order-card-body {
  padding: 16px;
}
.order-product {
  display: flex;
  gap: 16px;
  align-items: center;
}
.order-product-img {
  width: 64px;
  height: 64px;
  border-radius: var(--ui-radius-sm);
  object-fit: cover;
  border: 1px solid var(--ui-border);
}
.order-product-info {
  flex: 1;
  min-width: 0;
}
.order-product-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ui-text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.order-product-spec {
  font-size: 12px;
  color: var(--ui-text-muted);
}
.order-product-price {
  text-align: right;
  flex-shrink: 0;
}
.order-product-price .price {
  font-size: 16px;
  font-weight: 700;
  color: var(--ui-accent);
}
.order-product-price .qty {
  font-size: 12px;
  color: var(--ui-text-muted);
  text-align: right;
  margin-top: 2px;
}
.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--ui-bg-card);
  border-top: 1px solid var(--ui-border);
}
.order-total {
  font-size: 13px;
  color: var(--ui-text-secondary);
}
.order-total .price {
  font-size: 16px;
  font-weight: 700;
  color: var(--ui-accent);
}
.order-actions {
  display: flex;
  gap: 8px;
}
.order-btn {
  padding: 7px 18px;
  border-radius: var(--ui-radius-sm);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.order-btn.outline {
  background: transparent;
  border: 1px solid var(--ui-border);
  color: var(--ui-text-secondary);
}
.order-btn.outline:hover {
  border-color: var(--ui-accent);
  color: var(--ui-accent);
}
.order-btn.primary {
  background: var(--ui-gold-gradient);
  border: none;
  color: #1a1a1a;
}
.order-btn.primary:hover {
  opacity: 0.9;
}

/* Responsive: User Center */
@media (max-width: 1024px) {
  .user-center { flex-direction: column; }
  .user-sidebar { width: 100%; position: static; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .order-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .user-center { padding: 20px 12px 40px; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .order-stats { grid-template-columns: repeat(2, 1fr); }
  .order-card-footer { flex-direction: column; gap: 12px; align-items: flex-start; }
  .order-product { flex-direction: column; align-items: flex-start; }
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ui-card-grid-5, .card-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .ui-card-grid-4, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ui-card-grid-3, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: 1.5fr 1fr; grid-template-rows: repeat(3, 1fr); height: 420px; }
  .community-card.large { grid-column: 1; grid-row: 1 / span 3; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links-group { grid-template-columns: repeat(2, 1fr); }
  .zhimo-case-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar-menu { display: none; }
  .hero-banner { height: 320px; }
  .hero-title { font-size: 36px; }
  .hero-tagline { font-size: 18px; }
  .hero-search-box { width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .ui-card-grid-5, .card-grid-5, .ui-card-grid-4, .card-grid-4, .ui-card-grid-3, .card-grid-3 { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .community-card.large { grid-column: 1; grid-row: auto; }
  .community-card { aspect-ratio: 16/10; }
  .footer-links-group { grid-template-columns: 1fr; }
  .page-banner { height: 320px; }
  .page-banner .banner-content h1 { font-size: 28px; }
  .zhimo-case-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}

/* ===== User Panel: My Favorites ===== */
.favorite-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ui-border);
  padding-bottom: 12px;
}
.favorite-tab {
  padding: 8px 20px;
  border-radius: var(--ui-radius-sm);
  font-size: 14px;
  color: var(--ui-text-secondary);
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.favorite-tab:hover {
  color: var(--ui-accent);
  border-color: var(--ui-border);
}
.favorite-tab.active {
  background: var(--ui-accent);
  color: #1a1a1a;
  font-weight: 600;
}
.favorite-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.favorite-card {
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
  overflow: hidden;
  transition: all 0.2s;
}
.favorite-card:hover {
  box-shadow: var(--ui-shadow-hover);
  transform: translateY(-2px);
}
.favorite-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.favorite-card-info {
  padding: 16px;
}
.favorite-card-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ui-text);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.favorite-card-meta {
  font-size: 13px;
  color: var(--ui-text-muted);
  margin-bottom: 8px;
}
.favorite-card-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--ui-accent);
  margin-bottom: 12px;
}
.favorite-card-actions {
  display: flex;
  gap: 8px;
}

/* ===== User Panel: Address Management ===== */
.address-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.address-card {
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
  padding: 20px;
  transition: all 0.2s;
}
.address-card.default {
  border-color: var(--ui-accent);
  box-shadow: 0 0 0 1px var(--ui-accent);
}
.address-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.address-card-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ui-text);
}
.address-card-phone {
  font-size: 14px;
  color: var(--ui-text-muted);
}
.address-card-default {
  padding: 2px 10px;
  background: var(--ui-accent);
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--ui-radius-sm);
}
.address-card-detail {
  font-size: 14px;
  color: var(--ui-text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.address-card-actions {
  display: flex;
  gap: 10px;
}
.address-card-btn {
  padding: 6px 16px;
  background: transparent;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-sm);
  color: var(--ui-text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.address-card-btn:hover {
  border-color: var(--ui-accent);
  color: var(--ui-accent);
}
.address-add-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  background: var(--ui-bg-body);
  border-radius: var(--ui-radius-md);
  border: 2px dashed var(--ui-border);
  cursor: pointer;
  transition: all 0.2s;
  min-height: 160px;
}
.address-add-card:hover {
  border-color: var(--ui-accent);
  color: var(--ui-accent);
}
.address-add-icon {
  font-size: 32px;
  font-weight: 300;
  color: var(--ui-text-muted);
}
.address-add-text {
  font-size: 14px;
  color: var(--ui-text-secondary);
}

/* ===== User Panel: My Reviews ===== */
.review-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ui-border);
  padding-bottom: 12px;
}
.review-tab {
  padding: 8px 20px;
  border-radius: var(--ui-radius-sm);
  font-size: 14px;
  color: var(--ui-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.review-tab:hover {
  color: var(--ui-accent);
  border-color: var(--ui-border);
}
.review-tab.active {
  background: var(--ui-accent);
  color: #1a1a1a;
  font-weight: 600;
}
.review-card {
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
  padding: 20px;
  margin-bottom: 16px;
}
.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.review-card-product {
  display: flex;
  gap: 12px;
  align-items: center;
}
.review-card-img {
  width: 48px;
  height: 48px;
  border-radius: var(--ui-radius-sm);
  object-fit: cover;
  border: 1px solid var(--ui-border);
}
.review-card-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ui-text);
}
.review-card-spec {
  font-size: 12px;
  color: var(--ui-text-muted);
  margin-top: 2px;
}
.review-card-date {
  font-size: 13px;
  color: var(--ui-text-muted);
}
.review-card-rating {
  font-size: 14px;
  color: var(--ui-accent);
  margin-bottom: 8px;
}
.review-card-content {
  font-size: 14px;
  color: var(--ui-text-secondary);
  line-height: 1.6;
}
.review-card-images {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.review-card-images img {
  width: 80px;
  height: 80px;
  border-radius: var(--ui-radius-sm);
  object-fit: cover;
  border: 1px solid var(--ui-border);
}

/* ===== User Panel: My Orders tabs ===== */
.order-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--ui-border);
  padding-bottom: 12px;
}
.order-tab {
  padding: 8px 20px;
  border-radius: var(--ui-radius-sm);
  font-size: 14px;
  color: var(--ui-text-secondary);
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
}
.order-tab:hover {
  color: var(--ui-accent);
  border-color: var(--ui-border);
}
.order-tab.active {
  background: var(--ui-accent);
  color: #1a1a1a;
  font-weight: 600;
}

/* ===== Detail Pages: Shared Components ===== */
.detail-section {
  margin-bottom: 40px;
}
.detail-section .section-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ui-text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ui-border);
}
.level-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--ui-radius-sm);
  font-size: 12px;
  font-weight: 600;
}
.info-row {
  display: flex;
  gap: 40px;
  margin-bottom: 12px;
  font-size: 14px;
}
.info-row .label {
  color: var(--ui-text-muted);
  min-width: 80px;
}
.info-row .value {
  color: var(--ui-text);
}

/* Case grid (designer/supervisor detail) */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
  overflow: hidden;
  transition: all 0.2s;
}
.case-card:hover {
  box-shadow: var(--ui-shadow-hover);
  transform: translateY(-2px);
}
.case-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.case-info {
  padding: 16px;
}
.case-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ui-text);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.case-meta {
  font-size: 13px;
  color: var(--ui-text-muted);
}

/* Review list (detail pages) */
.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-item {
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
  padding: 20px;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.reviewer-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ui-text);
}
.review-date {
  font-size: 13px;
  color: var(--ui-text-muted);
}
.review-rating {
  color: var(--ui-accent);
  margin-bottom: 8px;
  font-size: 14px;
}
.review-content {
  font-size: 14px;
  color: var(--ui-text-secondary);
  line-height: 1.6;
}

/* Service packages (supervisor detail) */
.service-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-package {
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
  padding: 24px;
  transition: all 0.2s;
}
.service-package:hover {
  box-shadow: var(--ui-shadow-hover);
  border-color: var(--ui-accent);
}
.package-header {
  margin-bottom: 16px;
}
.package-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ui-text);
  margin-bottom: 8px;
}
.package-desc {
  font-size: 13px;
  color: var(--ui-text-muted);
  line-height: 1.5;
}

/* ===== Article Detail ===== */
.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ui-text-secondary);
}
.article-content p {
  margin-bottom: 16px;
}
.article-content h2,
.article-content h3 {
  color: var(--ui-text);
  margin: 24px 0 12px;
}
.article-content img {
  max-width: 100%;
  border-radius: var(--ui-radius-md);
  margin: 16px 0;
}

/* ===== Video List ===== */
.video-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.video-list-card {
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}
.video-list-card:hover {
  box-shadow: var(--ui-shadow-hover);
  transform: translateY(-2px);
}
.video-list-cover {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.video-list-cover img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-play-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.video-list-info {
  padding: 12px;
}
.video-list-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ui-text);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.video-list-stats {
  font-size: 12px;
  color: var(--ui-text-muted);
  display: flex;
  gap: 12px;
}

/* ===== Cart Page ===== */
.cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
.cart-header {
  display: grid;
  grid-template-columns: 50px 2fr 120px 120px 120px 100px;
  gap: 16px;
  padding: 12px 20px;
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--ui-text-muted);
  font-weight: 500;
}
.cart-checkbox {
  width: 18px; height: 18px;
  cursor: pointer;
}
.cart-col-product { text-align: left; }
.cart-col { text-align: center; }
.cart-item {
  display: grid;
  grid-template-columns: 50px 2fr 120px 120px 120px 100px;
  gap: 16px;
  padding: 16px 20px;
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  margin-bottom: 12px;
  align-items: center;
  border: 1px solid var(--ui-border);
}
.item-check {
  display: flex;
  align-items: center;
}
.cart-item-info {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cart-item-img {
  width: 80px; height: 80px;
  border-radius: var(--ui-radius-sm);
  object-fit: cover;
  border: 1px solid var(--ui-border);
}
.cart-item-detail { flex: 1; }
.cart-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ui-text);
  margin-bottom: 4px;
}
.cart-item-spec {
  font-size: 12px;
  color: var(--ui-text-muted);
}
.cart-item-price {
  text-align: center;
  font-size: 14px;
  color: var(--ui-text);
}
.cart-quantity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.qty-btn {
  width: 28px; height: 28px;
  border: 1px solid var(--ui-border);
  background: var(--ui-bg-body);
  border-radius: var(--ui-radius-sm);
  cursor: pointer;
  font-size: 14px;
  color: var(--ui-text-secondary);
}
.qty-input {
  width: 40px;
  height: 28px;
  border: 1px solid var(--ui-border);
  background: var(--ui-bg-card);
  text-align: center;
  font-size: 14px;
  color: var(--ui-text);
  border-radius: var(--ui-radius-sm);
}
.cart-subtotal {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ui-accent);
}
.cart-action {
  text-align: center;
}
.cart-delete {
  background: none;
  border: none;
  color: var(--ui-text-muted);
  cursor: pointer;
  font-size: 13px;
}
.cart-delete:hover { color: #e74c3c; }
.cart-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
  margin-top: 20px;
}
.cart-footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cart-total {
  font-size: 14px;
  color: var(--ui-text-secondary);
}
.cart-total-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--ui-accent);
}
.checkout-btn {
  padding: 12px 40px;
  background: var(--ui-gold-gradient);
  color: #1a1a1a;
  border: none;
  border-radius: var(--ui-radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.checkout-btn:hover { opacity: 0.9; }
.item-subtotal { text-align: center; }

/* ===== Checkout Page ===== */
.checkout-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  display: flex;
  gap: 24px;
}
.checkout-main { flex: 1; min-width: 0; }
.checkout-section {
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
  padding: 24px;
  margin-bottom: 20px;
}
.checkout-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ui-text);
  margin-bottom: 20px;
}
.address-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.address-item {
  padding: 16px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-md);
  cursor: pointer;
  transition: all 0.2s;
}
.address-item.selected,
.address-item:hover {
  border-color: var(--ui-accent);
}
.address-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ui-text);
  margin-bottom: 4px;
}
.address-phone {
  font-size: 13px;
  color: var(--ui-text-muted);
  margin-bottom: 8px;
}
.address-detail {
  font-size: 14px;
  color: var(--ui-text-secondary);
}
.address-add {
  padding: 16px;
  border: 2px dashed var(--ui-border);
  border-radius: var(--ui-radius-md);
  text-align: center;
  color: var(--ui-text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.address-add:hover {
  border-color: var(--ui-accent);
  color: var(--ui-accent);
}
.checkout-product {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ui-border);
}
.checkout-product:last-child { border-bottom: none; }
.checkout-product-img {
  width: 64px; height: 64px;
  border-radius: var(--ui-radius-sm);
  object-fit: cover;
  border: 1px solid var(--ui-border);
}
.checkout-product-info { flex: 1; }
.checkout-product-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ui-text);
  margin-bottom: 4px;
}
.checkout-product-spec {
  font-size: 12px;
  color: var(--ui-text-muted);
}
.checkout-product-price {
  font-size: 14px;
  color: var(--ui-text);
  min-width: 80px;
  text-align: right;
}
.checkout-product-qty {
  font-size: 13px;
  color: var(--ui-text-muted);
  min-width: 40px;
  text-align: right;
}
.payment-methods {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.payment-method {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-md);
  cursor: pointer;
  transition: all 0.2s;
}
.payment-method:hover,
.payment-method.selected {
  border-color: var(--ui-accent);
}
.payment-icon { font-size: 20px; }
.payment-name {
  font-size: 14px;
  color: var(--ui-text);
}
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--ui-border);
  border-radius: var(--ui-radius-md);
  background: var(--ui-bg-body);
  color: var(--ui-text);
  font-size: 14px;
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}
.form-textarea:focus {
  outline: none;
  border-color: var(--ui-accent);
}
.order-summary {
  width: 340px;
  flex-shrink: 0;
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ui-text-secondary);
  border-bottom: 1px solid var(--ui-border);
}
.summary-row.total {
  border-bottom: none;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ui-text);
}
.summary-row.total .price {
  color: var(--ui-accent);
}
.submit-order-btn {
  width: 100%;
  padding: 14px;
  background: var(--ui-gold-gradient);
  color: #1a1a1a;
  border: none;
  border-radius: var(--ui-radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: opacity 0.2s;
}
.submit-order-btn:hover { opacity: 0.9; }

/* ===== Help Page ===== */
.category-btn {
  padding: 8px 16px;
  border-radius: var(--ui-radius-sm);
  font-size: 14px;
  color: var(--ui-text-secondary);
  background: var(--ui-bg-body);
  border: 1px solid var(--ui-border);
  cursor: pointer;
  transition: all 0.2s;
}
.category-btn:hover,
.category-btn.active {
  background: var(--ui-accent);
  color: #1a1a1a;
  border-color: var(--ui-accent);
  font-weight: 600;
}
.mobile-only { display: none; }
.faq-group { margin-bottom: 24px; }
.faq-item {
  background: var(--ui-bg-card);
  border-radius: var(--ui-radius-md);
  border: 1px solid var(--ui-border);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--ui-text);
}
.faq-icon {
  font-size: 12px;
  color: var(--ui-text-muted);
  transition: transform 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-content {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--ui-text-secondary);
  line-height: 1.6;
  display: none;
}
.faq-item.open .faq-content { display: block; }

/* ===== Home Page ===== */
.hero-search-input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  background: transparent;
  color: var(--ui-text);
  font-size: 15px;
  outline: none;
  font-family: inherit;
}
.hero-search-input::placeholder { color: var(--ui-text-muted); }

/* ===== Comments Page ===== */
.filter-tab {
  padding: 8px 20px;
  border-radius: var(--ui-radius-sm);
  font-size: 14px;
  color: var(--ui-text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.filter-tab:hover {
  color: var(--ui-accent);
  border-color: var(--ui-border);
}
.filter-tab.active {
  background: var(--ui-accent);
  color: #1a1a1a;
  font-weight: 600;
}

/* ===== Monitor Page ===== */
.btn-primary {
  padding: 10px 24px;
  background: var(--ui-gold-gradient);
  color: #1a1a1a;
  border: none;
  border-radius: var(--ui-radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.btn-primary:hover { opacity: 0.9; }

/* Responsive additions */
@media (max-width: 1024px) {
  .favorite-grid { grid-template-columns: repeat(2, 1fr); }
  .address-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .service-packages { grid-template-columns: repeat(2, 1fr); }
  .video-list-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-header { display: none; }
  .cart-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .checkout-container { flex-direction: column; }
  .order-summary { width: 100%; position: static; }
}
@media (max-width: 768px) {
  .favorite-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .service-packages { grid-template-columns: 1fr; }
  .video-list-grid { grid-template-columns: 1fr; }
  .mobile-only { display: block; }
}

/* Hide old layout elements that conflict */
.top-bar { display: none !important; }
.footer { display: none !important; }
.main-content { padding-top: 64px !important; }

/* Final banner override */
.hero-banner,
.page-banner {
  height: 400px !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  overflow: hidden !important;
  position: relative !important;
}

.hero-banner .hero-bg,
.page-banner .banner-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

/* ===== Visual import refresh: align PC pages with optimized dark/gold comps ===== */
[data-theme="dark"] body {
  background:
    radial-gradient(circle at 20% 0%, rgba(22, 67, 118, 0.28), transparent 34rem),
    radial-gradient(circle at 80% 12%, rgba(201, 169, 110, 0.08), transparent 26rem),
    #070d18;
}

[data-theme="dark"] .site-navbar {
  background: rgba(6, 10, 18, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .site-main,
[data-theme="dark"] .ui-section,
[data-theme="dark"] .page-section {
  background: transparent;
}

.hero-banner {
  height: 448px !important;
  box-shadow: inset 0 -120px 120px rgba(7, 13, 24, 0.52);
}

.hero-banner::after,
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.06), rgba(6, 10, 18, 0.44)),
    linear-gradient(90deg, rgba(6, 10, 18, 0.34), transparent 45%, rgba(6, 10, 18, 0.22));
}

.hero-banner .hero-content {
  top: 55%;
}

.hero-search-box {
  height: 54px;
  width: 640px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.26);
}

.hero-search-box .search-btn {
  min-width: 86px;
  background: #12243a;
  font-weight: 700;
}

.features-bar {
  position: relative;
  z-index: 5;
  margin-top: -58px;
  padding: 0 0 22px;
  background: transparent;
  border-bottom: 0;
}

.features-grid {
  max-width: 1120px;
  padding: 18px 32px;
  border-radius: 8px;
  background: rgba(17, 26, 40, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.feature-icon {
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.2);
  color: var(--ui-accent);
}

.feature-icon i::before {
  font-family: var(--ui-font-sans);
  font-weight: 700;
}
.feature-icon .fa-user-check::before { content: '认'; }
.feature-icon .fa-shield-halved::before { content: '保'; }
.feature-icon .fa-helmet-safety::before { content: '工'; }
.feature-icon .fa-headset::before { content: '服'; }

.ui-section,
.page-section {
  padding: 52px 0;
}

.section-container,
.page-container {
  max-width: 1180px;
}

.section-header {
  margin-bottom: 26px;
}

.category-card,
.product-card,
.designer-card,
.ui-info-card,
.zhimo-person-card,
.zhimo-case-card,
.product-grid .product-card {
  background: linear-gradient(180deg, rgba(22, 31, 47, 0.98), rgba(14, 22, 35, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.product-card:hover,
.designer-card:hover,
.ui-info-card:hover,
.zhimo-case-card:hover,
.product-grid .product-card:hover {
  border-color: rgba(201, 169, 110, 0.38);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.24);
}

.product-card .card-img {
  aspect-ratio: 16 / 9.6;
}

.product-card .card-body {
  padding: 18px;
}

.designer-card {
  min-height: 112px;
}

.designer-card .designer-avatar {
  border-radius: 10px;
  border: 1px solid rgba(201, 169, 110, 0.36);
}

.package-card {
  border: 1px solid rgba(201, 169, 110, 0.22);
  box-shadow: none;
}

.ui-filter-bar {
  background: rgba(17, 26, 40, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.page-banner {
  height: 420px !important;
}

.person-row-list > div {
  padding: 18px;
  border-radius: 10px;
  background: rgba(17, 26, 40, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.zhimo-case-img i {
  display: none;
}

.site-footer {
  background:
    linear-gradient(180deg, rgba(7, 13, 24, 0.92), #050914);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== Optimized reference pass: stronger PC dark/gold layout ===== */
html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 15% 12%, rgba(21, 75, 134, 0.24), transparent 30rem),
    linear-gradient(180deg, #071322 0%, #050b16 46%, #07101d 100%);
}

.site-navbar {
  height: 60px;
}

.navbar-container,
.section-container,
.page-container,
.footer-container {
  max-width: 1180px;
}

.navbar-menu .nav-item {
  line-height: 60px;
  padding: 0 16px;
}

.site-main {
  padding-top: 60px;
}

.hero-banner {
  height: 438px !important;
}

.hero-banner::after {
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.08) 0%, rgba(6, 10, 18, 0.26) 58%, rgba(6, 10, 18, 0.78) 100%),
    linear-gradient(90deg, rgba(6, 10, 18, 0.42), rgba(6, 10, 18, 0.06) 60%, rgba(6, 10, 18, 0.12));
}

.hero-banner .hero-bg {
  object-position: center 48% !important;
}

.hero-banner .hero-content {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  max-width: 1180px;
}

/* 首页横幅图本身已经带有主标题，避免页面文字与图片标题重叠。 */
.hero-title,
.hero-tagline,
.hero-desc {
  display: none !important;
}

.hero-title {
  max-width: 640px;
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.18;
  font-weight: 700;
  color: #fff;
  letter-spacing: 6px;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.38);
}

.hero-tagline {
  margin: 0 0 22px;
  font-size: 22px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 3px;
}

.hero-search-box {
  margin: 0;
  width: 520px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-hot-tags {
  justify-content: flex-start;
  margin-top: 14px;
}

.features-bar {
  margin-top: -64px;
}

.features-grid {
  max-width: 1040px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 18px 28px;
  background: linear-gradient(180deg, rgba(25, 36, 53, 0.88), rgba(16, 26, 40, 0.9));
  border-color: rgba(214, 179, 113, 0.12);
}

.feature-text h4 {
  color: #fff;
  font-size: 15px;
}

.feature-text p {
  color: rgba(255, 255, 255, 0.58);
}

.ui-section,
.page-section {
  background: transparent;
  padding: 42px 0;
}

.ui-section + .ui-section,
.page-section + .page-section {
  padding-top: 22px;
}

.section-title,
.page-title {
  font-family: var(--ui-font-sans);
  font-size: 27px;
  letter-spacing: 1px;
  color: #fff;
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.38);
}

.section-more {
  color: rgba(255, 255, 255, 0.44);
}

.category-card,
.product-card,
.zhimo-case-card {
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(22, 34, 52, 0.98), rgba(12, 22, 36, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.product-card .card-body,
.product-grid .product-card .product-info {
  background: linear-gradient(180deg, rgba(18, 30, 48, 0.98), rgba(12, 22, 36, 0.98));
}

.product-card .card-body h4,
.product-grid .product-card .product-name,
.zhimo-case-title {
  color: #fff;
}

.product-card .card-info,
.product-grid .product-card .product-spec,
.zhimo-case-meta {
  color: rgba(255, 255, 255, 0.48);
}

.product-card .card-price,
.product-grid .product-card .product-price {
  color: #e5bd73;
}

.home-pro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.home-pro-panel {
  min-width: 0;
}

.home-pro-panel .section-header {
  margin-bottom: 18px;
}

.home-pro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(17, 29, 46, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.home-pro-grid .designer-card {
  min-height: 0;
  padding: 14px;
  gap: 12px;
  box-shadow: none;
}

.home-pro-grid .designer-card .designer-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.home-pro-grid .designer-card .designer-info h4 {
  font-size: 14px;
}

.home-pro-grid .designer-card .designer-meta,
.home-pro-grid .designer-card .designer-tag {
  font-size: 11px;
}

.page-banner {
  height: 360px !important;
}

.page-banner::after {
  background:
    linear-gradient(180deg, rgba(5, 9, 16, 0.08), rgba(5, 9, 16, 0.64)),
    linear-gradient(90deg, rgba(5, 9, 16, 0.56), rgba(5, 9, 16, 0.08) 58%, rgba(5, 9, 16, 0.24));
}

.page-banner .banner-content {
  position: relative;
  z-index: 2;
  display: none;
  height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.page-banner .banner-content h1 {
  font-family: var(--ui-font-sans);
  font-size: 42px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #fff;
  letter-spacing: 5px;
}

.page-banner .banner-content p {
  max-width: 620px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 2px;
}

.ui-filter-bar {
  position: relative;
  z-index: 5;
  max-width: 1180px;
  margin: -48px auto 0;
  padding: 16px 24px;
  border-radius: 8px;
  background: rgba(17, 26, 40, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.ui-filter-bar .filter-inner {
  padding: 0;
}

.ui-filter-group {
  padding: 10px 0;
}

.ui-filter-option.active {
  background: rgba(214, 179, 113, 0.13);
}

.person-row-list > div {
  gap: 18px !important;
  align-items: flex-start !important;
  padding: 16px;
  margin-bottom: 18px !important;
  background: rgba(17, 29, 46, 0.52);
}

.zhimo-person-card {
  width: 220px;
  height: auto;
  border-radius: 8px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(22, 34, 52, 0.98), rgba(12, 22, 36, 0.98));
}

.zhimo-person-avatar {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(214, 179, 113, 0.34);
}

.zhimo-person-card h3 {
  margin: 4px 0 2px !important;
}

.zhimo-person-card p {
  margin-top: 6px !important;
  margin-bottom: 6px !important;
}

.zhimo-person-card > p {
  display: none !important;
}

.zhimo-person-card > p + div {
  display: none !important;
}

.zhimo-person-card .zhimo-person-rank {
  margin-bottom: 6px !important;
}

.zhimo-follow-btn {
  margin-top: 6px;
  padding: 5px 14px;
}

.zhimo-view-btn {
  margin-top: 8px;
  padding: 7px;
}

.zhimo-case-grid {
  gap: 14px;
  align-items: start;
  grid-auto-rows: max-content;
}

.zhimo-case-img {
  aspect-ratio: 16 / 10;
}

.zhimo-case-card {
  align-self: start;
  height: auto;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid .product-card .product-img {
  aspect-ratio: 16 / 10.5;
}

.product-grid .product-card .product-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
}

.product-grid .product-card .product-btn::before {
  content: '\f07a';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .home-pro-row {
    grid-template-columns: 1fr;
  }

  .hero-banner .hero-content {
    text-align: center;
  }

  .hero-search-box {
    margin: 0 auto;
  }

  .hero-hot-tags {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 30px;
    letter-spacing: 2px;
  }

  .hero-tagline {
    font-size: 17px;
    letter-spacing: 1px;
  }

  .home-pro-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Service package imagery + order flow polish ===== */
.hidden {
  display: none !important;
}

.package-card {
  isolation: isolate;
  min-height: 318px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(5, 10, 18, 0.2), rgba(5, 10, 18, 0.86)),
    linear-gradient(135deg, #1a2332, #0f1724);
}

.package-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--package-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.package-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 9, 16, 0.12) 0%, rgba(4, 9, 16, 0.55) 46%, rgba(4, 9, 16, 0.92) 100%),
    linear-gradient(135deg, rgba(214, 179, 113, 0.18), rgba(4, 9, 16, 0.18));
}

.package-card:hover::before {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.package-card h4,
.package-card .package-price,
.package-card p,
.package-card ul,
.package-card .package-btn,
.package-card .rec-badge {
  position: relative;
  z-index: 1;
}

.package-card ul li,
.package-card p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.package-card .package-btn {
  backdrop-filter: blur(10px);
}

.footer-top {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
}

/* Final home alignment overrides */
.hero-banner .hero-content {
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-banner .hero-search-box {
  margin-left: auto;
  margin-right: auto;
}

.hero-banner .hero-hot-tags {
  justify-content: center;
}

.package-card {
  min-height: 436px;
  padding: 28px 28px 30px;
  justify-content: flex-start;
}

.package-card .rec-badge {
  position: relative;
  top: auto;
  right: auto;
  width: 100%;
  height: 24px;
  margin: 0 0 26px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(218, 188, 122, 0.96), rgba(218, 188, 122, 0.78));
}

.package-card h4 {
  min-height: 28px;
}

.package-card p {
  min-height: 42px;
}

.package-card ul {
  min-height: 112px;
}

.package-card .package-btn {
  margin-top: auto;
}

.footer-links-group {
  grid-template-columns: repeat(4, minmax(90px, 1fr)) minmax(180px, 220px);
  gap: 28px;
  align-items: start;
}

.footer-contact {
  text-align: right;
}

.footer-contact .footer-social {
  justify-content: flex-end;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ui-text-muted);
  font-size: 12px;
}

.submit-order-page {
  padding-top: 46px;
}

.submit-order-container {
  max-width: 860px;
}

.submit-order-head {
  text-align: center;
  margin-bottom: 28px;
}

.submit-order-head p {
  margin: 10px auto 0;
  color: var(--ui-text-muted);
  font-size: 14px;
}

.submit-order-card {
  padding: 34px;
  box-shadow: none;
}

.form-section {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 12px;
  color: var(--ui-text);
  font-size: 15px;
  font-weight: 650;
}

.form-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.form-grid:last-child {
  margin-bottom: 0;
}

.form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--ui-border);
  background: var(--ui-bg-body);
  color: var(--ui-text);
  outline: none;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: rgba(201, 169, 110, 0.72);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.12);
}

textarea.form-control {
  min-height: 108px;
  resize: vertical;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.choice-card {
  display: flex;
  min-height: 86px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px;
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  color: var(--ui-text-secondary);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.choice-card input,
.pill-choice input {
  display: none;
}

.choice-card i {
  color: var(--ui-accent);
  font-size: 20px;
}

.choice-card.active,
.pill-choice.active span {
  border-color: rgba(201, 169, 110, 0.86);
  background: rgba(201, 169, 110, 0.1);
  color: var(--ui-accent);
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-choice {
  cursor: pointer;
}

.pill-choice span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 16px;
  border: 1px solid var(--ui-border);
  border-radius: 8px;
  color: var(--ui-text-secondary);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.form-help {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ui-text-muted);
}

.form-help.danger {
  color: #d36f6f;
}

.submit-order-btn {
  width: 100%;
  min-height: 50px;
  justify-content: center;
  border-radius: 10px;
  font-size: 16px;
}

html[data-theme="light"] .submit-order-card,
html[data-theme="light"] .ui-info-card,
html[data-theme="light"] .category-card,
html[data-theme="light"] .product-card,
html[data-theme="light"] .zhimo-case-card,
html[data-theme="light"] .person-row-list > div {
  box-shadow: 0 8px 20px rgba(26, 35, 50, 0.06);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-links-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-contact,
  .footer-contact .footer-social {
    text-align: left;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .form-grid-2,
  .form-grid-3,
  .choice-grid,
  .footer-links-group {
    grid-template-columns: 1fr;
  }

  .submit-order-card {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Final visual QA overrides: light mode readability + detail layout ===== */
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="light"] body {
  background: #f7f8fb;
  color: #1f2937;
}

html[data-theme="light"] .site-main,
html[data-theme="light"] .ui-section,
html[data-theme="light"] .page-section {
  background: #f7f8fb;
}

html[data-theme="light"] .section-title,
html[data-theme="light"] .page-title,
html[data-theme="light"] .detail-section h2,
html[data-theme="light"] .ui-info-card h1,
html[data-theme="light"] .ui-info-card h2,
html[data-theme="light"] .ui-info-card h3,
html[data-theme="light"] .case-title,
html[data-theme="light"] .product-grid .product-card .product-name,
html[data-theme="light"] .zhimo-case-title,
html[data-theme="light"] .package-title,
html[data-theme="light"] .reviewer-name {
  color: #111827 !important;
}

html[data-theme="light"] .section-subtitle,
html[data-theme="light"] .section-more,
html[data-theme="light"] .case-meta,
html[data-theme="light"] .review-content,
html[data-theme="light"] .product-grid .product-card .product-spec,
html[data-theme="light"] .zhimo-case-meta,
html[data-theme="light"] .package-desc,
html[data-theme="light"] .info-row span:first-child,
html[data-theme="light"] .footer-desc,
html[data-theme="light"] .footer-col ul li a {
  color: #5f6673 !important;
}

html[data-theme="light"] .case-info,
html[data-theme="light"] .zhimo-case-info,
html[data-theme="light"] .review-date,
html[data-theme="light"] .form-help,
html[data-theme="light"] .empty-state,
html[data-theme="light"] .detail-section [style*="var(--ui-text-muted)"],
html[data-theme="light"] .ui-info-card [style*="var(--ui-text-muted)"],
html[data-theme="light"] .zhimo-person-card p,
html[data-theme="light"] .zhimo-person-card [style*="rgba(255,255,255,0.7)"],
html[data-theme="light"] .zhimo-person-card [style*="rgba(255,255,255,0.6)"],
html[data-theme="light"] .zhimo-person-card [style*="rgba(255,255,255,0.5)"] {
  color: #5f6673 !important;
}

html[data-theme="light"] .ui-info-card,
html[data-theme="light"] .detail-section,
html[data-theme="light"] .case-card,
html[data-theme="light"] .review-item,
html[data-theme="light"] .service-package,
html[data-theme="light"] .category-card,
html[data-theme="light"] .product-card,
html[data-theme="light"] .product-grid .product-card,
html[data-theme="light"] .zhimo-case-card,
html[data-theme="light"] .home-pro-grid,
html[data-theme="light"] .person-row-list > div,
html[data-theme="light"] .zhimo-person-card {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
  color: #1f2937 !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06) !important;
}

html[data-theme="light"] .ui-info-card *,
html[data-theme="light"] .detail-section *,
html[data-theme="light"] .zhimo-person-card * {
  text-shadow: none !important;
}

html[data-theme="light"] .ui-info-card [style*="var(--ui-text)"],
html[data-theme="light"] .detail-section [style*="var(--ui-text)"],
html[data-theme="light"] .ui-info-card [style*="var(--ui-accent)"],
html[data-theme="light"] .detail-section [style*="var(--ui-accent)"],
html[data-theme="light"] .zhimo-person-card h3,
html[data-theme="light"] .zhimo-person-card [style*="font-size:13px; font-weight:bold"] {
  color: #111827 !important;
}

html[data-theme="light"] .ui-info-card [style*="#52c41a"],
html[data-theme="light"] .detail-section [style*="#52c41a"] {
  color: #237804 !important;
}

html[data-theme="light"] .nav-btn-primary,
html[data-theme="light"] .site-navbar .nav-btn-primary,
html[data-theme="light"] .package-btn,
html[data-theme="light"] .zhimo-view-btn,
html[data-theme="light"] .product-btn,
html[data-theme="light"] .submit-order-btn {
  background-color: #d4b87a !important;
  background-image: none !important;
  border-color: #d4b87a !important;
  color: #111827 !important;
  font-weight: 700;
}

html[data-theme="light"] .zhimo-follow-btn {
  background-color: #fff8e7 !important;
  background-image: none !important;
  color: #6b4f1d !important;
  border-color: #d4b87a !important;
}

html[data-theme="light"] .page-section [style*="#eb2f96"] {
  color: #9d174d !important;
  background: #fce7f3 !important;
}

html[data-theme="light"] .page-section [style*="color: var(--ui-accent)"] {
  color: #8a6428 !important;
}

html[data-theme="light"] .page-section [style*="background: var(--ui-accent)"],
html[data-theme="light"] .ui-info-card span[style*="background: var(--ui-accent)"] {
  color: #111827 !important;
}

html[data-theme="light"] .choice-card.active,
html[data-theme="light"] .choice-card.active span,
html[data-theme="light"] .pill-choice.active span {
  color: #6b4f1d !important;
  background: rgba(201, 169, 110, 0.18) !important;
  border-color: #c9a96e !important;
}

html[data-theme="light"] .filter-bar .filter-option.active,
html[data-theme="light"] .ui-filter-option.active,
html[data-theme="light"] .filter-option.active,
html[data-theme="light"] .filter-tab.active {
  background: rgba(201, 169, 110, 0.18) !important;
  border-color: #c9a96e !important;
  color: #6b4f1d !important;
}

html[data-theme="light"] .product-card .card-price,
html[data-theme="light"] .product-grid .product-card .product-price,
html[data-theme="light"] .worker-price,
html[data-theme="light"] .designer-price,
html[data-theme="light"] .ui-info-card .package-price,
html[data-theme="light"] .zhimo-person-rank {
  color: #8a6428 !important;
}

html[data-theme="dark"] .case-meta,
html[data-theme="dark"] .zhimo-case-meta,
html[data-theme="dark"] .package-desc,
html[data-theme="dark"] .review-content,
html[data-theme="dark"] .detail-section [style*="var(--ui-text-muted)"],
html[data-theme="dark"] .ui-info-card [style*="var(--ui-text-muted)"] {
  color: #a8b0bf !important;
}

html[data-theme="light"] .detail-section > div[style*="text-align:center"],
html[data-theme="light"] .ui-info-card > div[style*="text-align:center"],
html[data-theme="light"] .page-section div[style*="color:var(--ui-text-muted)"] {
  color: #5f6673 !important;
}

html[data-theme="light"] .product-card .card-body,
html[data-theme="light"] .product-grid .product-card .product-info {
  background: #ffffff !important;
}

html[data-theme="light"] .ui-filter-bar {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: #e5e7eb !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .footer-bottom {
  color: #6b7280;
}

.detail-section {
  padding: 28px;
  background: var(--ui-bg-card);
  border: 1px solid var(--ui-border);
  border-radius: 10px;
  min-width: 0;
}

.page-container > div[style*="display: flex"][style*="gap: 30px"] {
  align-items: flex-start;
}

.page-container > div[style*="display: flex"][style*="gap: 30px"] > div[style*="flex: 1"] {
  min-width: 0;
}

.ui-info-card {
  min-width: 0;
  overflow-wrap: anywhere;
}

.info-row {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
  font-size: 14px;
}

.info-row span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.55;
}

.ui-info-card .service-packages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.detail-profile-banner .banner-bg {
  z-index: 0;
}

.detail-profile-banner::after {
  z-index: 1;
}

.detail-profile-banner .detail-profile-hero {
  position: relative !important;
  z-index: 2 !important;
  height: 100%;
  padding: 0 24px !important;
  align-items: center !important;
}

.detail-profile-banner {
  height: 280px !important;
}

.detail-profile-summary {
  background: var(--ui-bg-section);
  padding: 28px 0 0;
}

.detail-profile-summary .detail-profile-hero {
  color: var(--ui-text);
  padding: 24px !important;
  border: 1px solid var(--ui-border-light);
  border-radius: 8px;
  background: var(--ui-card-bg);
  box-shadow: var(--ui-shadow-card);
}

.detail-profile-summary .detail-profile-hero > img {
  border-color: var(--ui-border-light) !important;
}

.detail-profile-summary .nav-btn-outline {
  color: var(--ui-text) !important;
  border-color: var(--ui-border) !important;
}

.ui-info-card .service-package {
  padding: 16px;
  border-radius: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: block;
  appearance: none;
  background: var(--ui-card-bg);
  border: 1px solid var(--ui-border);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.ui-info-card .package-header {
  display: block;
  margin-bottom: 8px;
}

.ui-info-card .package-title {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 4px;
}

.ui-info-card .package-price {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ui-accent);
}

.ui-info-card .package-desc {
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

html[data-theme="light"] .ui-info-card .service-package.selected {
  background: #fff8e7 !important;
  border-color: #d4b87a !important;
}

@media (max-width: 1180px) {
  .page-container > div[style*="display: flex"][style*="gap: 30px"] {
    gap: 22px !important;
  }

  .page-container > div[style*="display: flex"][style*="gap: 30px"] > div[style*="width: 320px"],
  .page-container > div[style*="display: flex"][style*="gap: 30px"] > div[style*="width: 350px"] {
    width: 300px !important;
  }
}

.case-detail-image,
.case-lightbox-trigger {
  cursor: zoom-in;
}

.case-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(4, 8, 15, 0.88);
}

.case-lightbox.show {
  display: flex;
}

.case-lightbox img {
  max-width: min(1180px, 94vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.case-lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 30px;
  line-height: 38px;
  cursor: pointer;
}

.case-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 1024px) {
  .page-container > div[style*="display: flex"][style*="gap: 30px"] {
    flex-direction: column;
  }

  .page-container > div[style*="display: flex"][style*="gap: 30px"] > div[style*="width: 320px"],
  .page-container > div[style*="display: flex"][style*="gap: 30px"] > div[style*="width: 350px"] {
    width: 100% !important;
  }
}
