@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Montserrat:wght@200;300;400;500;600&family=Noto+Serif+SC:wght@300;400;500;600&display=swap');

:root {
  --primary: #C4A265;
  --primary-light: #D4B87A;
  --primary-dark: #A8893F;
  --accent: #C4A265;
  --accent-light: #D4B87A;
  --accent-deep: #A8893F;
  --accent-glow: rgba(196, 162, 101, 0.15);
  --success: #6B9E78;
  --warning: #D4A574;
  --danger: #C0736E;
  --bg: #FAF8F5;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-hover: #F9F6F0;
  --bg-warm: #FDFBF8;
  --text-primary: #1A1A1A;
  --text-secondary: #8B8378;
  --text-muted: #B5AFA8;
  --border: #E8E4DE;
  --border-light: #F0EDE8;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 8px 30px rgba(196, 162, 101, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-serif: "Cormorant Garamond", "Noto Serif SC", "Times New Roman", Times, serif;
  --font-sans: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max-width: 1280px;
  --header-height: 60px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  padding-top: 56px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

.py-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

.fl { float: left; }
.fr { float: right; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(1deg); }
  66% { transform: translateY(6px) rotate(-1deg); }
}

@keyframes pulse-gold {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

@keyframes line-grow {
  from { width: 0; }
  to { width: 60px; }
}

@keyframes card-reveal {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modern-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  padding: 24px;
  margin-bottom: 20px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.modern-card:hover {
  box-shadow: var(--shadow-md);
}

.modern-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  outline: none;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.modern-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196, 162, 101, 0.15), transparent);
}

.modern-nav-bar .nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 44px;
}

.modern-nav-bar .nav-brand {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 4px;
  white-space: nowrap;
}

.modern-nav-bar .nav-item {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
  white-space: nowrap;
  font-weight: 300;
}

.modern-nav-bar .nav-item:hover {
  color: var(--accent);
}

.modern-nav-bar .nav-item a {
  color: inherit;
}

.modern-sidebar-panel {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 999;
}

.modern-sidebar-panel .sidebar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 10px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.modern-sidebar-panel .sidebar-btn:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.modern-sidebar-panel .sidebar-btn:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.modern-sidebar-panel .sidebar-btn .icon {
  font-size: 18px;
  margin-bottom: 2px;
}

.modern-sidebar-panel .sidebar-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.modern-sidebar-panel .sidebar-btn .badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 10px;
  font-weight: 500;
}

.modern-footer-section {
  background: #1C1B1A;
  color: #8C8885;
  position: relative;
}

.modern-footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.modern-footer-section .service-row {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 40px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #2C2A29;
}

.modern-footer-section .service-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modern-footer-section .service-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #3C3A38;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent);
  transition: all 0.3s ease;
}

.modern-footer-section .service-item:hover .icon {
  border-color: var(--accent);
  background: rgba(196, 162, 101, 0.1);
}

.modern-footer-section .service-item .text h4 {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  color: #E8E4DE;
  margin: 0 0 4px;
  letter-spacing: 2px;
}

.modern-footer-section .service-item .text p {
  font-size: 12px;
  color: #6C6A68;
  margin: 0;
  font-weight: 300;
}

.modern-footer-section .links-row {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px;
  display: flex;
  gap: 40px;
}

.modern-footer-section .footer-col h4 {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  color: #E8E4DE;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.modern-footer-section .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-footer-section .footer-col ul li {
  margin-bottom: 8px;
}

.modern-footer-section .footer-col ul li a {
  color: #6C6A68;
  font-size: 12px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.modern-footer-section .footer-col ul li a:hover {
  color: var(--accent-light);
}

.modern-footer-section .qr-col img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  border: 1px solid #3C3A38;
}

.modern-footer-section .qr-col p {
  font-size: 11px;
  color: #6C6A68;
  margin-top: 8px;
  letter-spacing: 1px;
}

.modern-copyright {
  background: #141312;
  padding: 20px 40px;
  text-align: center;
}

.modern-copyright .links {
  margin-bottom: 10px;
}

.modern-copyright .links a {
  color: #6C6A68;
  font-size: 12px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.modern-copyright .links a:hover {
  color: var(--accent-light);
}

.modern-copyright .links span {
  color: #3C3A38;
  margin: 0 8px;
}

.modern-copyright .info {
  color: #4C4A48;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.8;
}

.modern-copyright .info p {
  margin: 0;
}

.modern-seckill-page .seckill-header {
  background: linear-gradient(135deg, #1C1B1A 0%, #2C2A29 100%);
  padding: 40px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.modern-seckill-page .seckill-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.modern-seckill-page .seckill-header h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 300;
  color: #E8E4DE;
  letter-spacing: 6px;
  margin: 0 0 8px;
}

.modern-seckill-page .seckill-header p {
  color: #8C8885;
  font-size: 12px;
  letter-spacing: 2px;
}

.modern-seckill-page .seckill-time-slots {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.modern-seckill-page .seckill-time-slot {
  flex: 1;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-seckill-page .seckill-time-slot:hover {
  border-color: var(--accent);
}

.modern-seckill-page .seckill-time-slot.active {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.modern-seckill-page .seckill-time-slot .slot-time {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.modern-seckill-page .seckill-time-slot .slot-status {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}

.modern-seckill-page .seckill-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.modern-seckill-page .seckill-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-seckill-page .seckill-product-card:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.modern-seckill-page .seckill-product-card:hover::before {
  opacity: 1;
}

.modern-seckill-page .seckill-product-card .seckill-price {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
}

.modern-seckill-page .seckill-product-card .original-price {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.modern-seckill-page .seckill-product-card .progress-bar {
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}

.modern-seckill-page .seckill-product-card .progress-bar .progress {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  border-radius: 2px;
  transition: width 0.5s ease;
}

.modern-home-page .home-welcome {
  background: linear-gradient(135deg, #F9F6F0, #F3ECE4);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.modern-home-page .home-welcome::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.modern-home-page .home-welcome h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin: 0 0 4px;
}

.modern-home-page .home-welcome p {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
  letter-spacing: 1px;
}

.modern-home-page .order-status-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.modern-home-page .order-status-item {
  text-align: center;
  padding: 16px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-home-page .order-status-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.modern-home-page .order-status-item .icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.modern-home-page .order-status-item .label {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

@media (max-width: 1024px) {
  .modern-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .py-container {
    padding: 0 20px;
  }
  .modern-topbar .topbar-inner,
  .yt-search-bar-inner,
  .modern-nav-bar .nav-inner,
  .modern-footer .footer-inner,
  .modern-footer-section .service-row,
  .modern-footer-section .links-row {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .modern-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .modern-item-page .item-main {
    grid-template-columns: 1fr;
  }
  .modern-home-page {
    grid-template-columns: 1fr;
  }
  .modern-cart-page .cart-table-head,
  .modern-cart-page .cart-item {
    grid-template-columns: 30px 1fr 80px 100px 80px 80px;
    font-size: 12px;
  }
  .modern-footer-section .service-row {
    flex-wrap: wrap;
    gap: 20px;
  }
  .modern-footer-section .links-row {
    flex-wrap: wrap;
    gap: 24px;
  }
  .modern-seckill-page .seckill-time-slots {
    flex-wrap: wrap;
  }
  .modern-nav-bar .nav-inner {
    overflow-x: auto;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .modern-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .modern-login-box,
  .modern-register-box {
    padding: 32px 24px;
  }
  .modern-cart-page .cart-table-head,
  .modern-cart-page .cart-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.modern-btn:hover::before {
  left: 100%;
}

.modern-btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}

.modern-btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196, 162, 101, 0.25);
  letter-spacing: 3px;
}

.modern-btn-danger {
  background: var(--accent);
  color: #FFFFFF;
}

.modern-btn-danger:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196, 162, 101, 0.25);
  letter-spacing: 3px;
}

.modern-btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.modern-btn-outline:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(196, 162, 101, 0.25);
  letter-spacing: 3px;
}

.modern-btn-sm {
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 1px;
}

.modern-btn-lg {
  padding: 14px 36px;
  font-size: 12px;
  letter-spacing: 3px;
}

.modern-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.modern-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.modern-input::placeholder {
  color: var(--text-muted);
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.modern-table th {
  background: var(--bg);
  color: var(--text-secondary);
  font-weight: 500;
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.5px;
}

.modern-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.modern-table tr:last-child td {
  border-bottom: none;
}

.modern-table tr:hover td {
  background: var(--bg-hover);
}

.modern-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.modern-badge-primary {
  background: var(--accent-glow);
  color: var(--accent-deep);
}

.modern-badge-success {
  background: rgba(107, 158, 120, 0.1);
  color: var(--success);
}

.modern-badge-danger {
  background: rgba(192, 115, 110, 0.1);
  color: var(--danger);
}

.modern-badge-warning {
  background: rgba(212, 165, 116, 0.1);
  color: var(--warning);
}

.modern-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.modern-nav::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.modern-nav li {
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
}

.modern-nav li:hover {
  color: var(--accent);
}

.modern-nav li.active {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
}

.modern-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.modern-breadcrumb li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--text-muted);
}

.modern-breadcrumb a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.modern-breadcrumb a:hover {
  color: var(--accent);
}

.modern-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 0;
}

.modern-pagination a,
.modern-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.modern-pagination .active a,
.modern-pagination .active span {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.modern-pagination .disabled a {
  opacity: 0.4;
  cursor: not-allowed;
}

.modern-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  background: var(--bg);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.modern-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.modern-tag .close {
  cursor: pointer;
  opacity: 0.6;
  font-style: normal;
}

.modern-tag .close:hover {
  opacity: 1;
  color: var(--danger);
}

.modern-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

.modern-steps .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.modern-steps .step .circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  background: var(--border);
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}

.modern-steps .step.active .circle {
  background: var(--accent);
  color: #fff;
}

.modern-steps .step.done .circle {
  background: var(--success);
  color: #fff;
}

.modern-steps .step .label {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.modern-steps .step.active .label {
  color: var(--accent);
  font-weight: 500;
}

.modern-steps .step.done .label {
  color: var(--success);
}

.modern-steps .step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 -10px;
  position: relative;
  top: -14px;
}

.modern-steps .step-line.done {
  background: var(--success);
}

.modern-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.modern-empty svg {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
  opacity: 0.4;
}

.modern-divider {
  height: 1px;
  background: var(--border-light);
  margin: 20px 0;
}

.modern-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
}

.modern-alert-success {
  background: rgba(107, 158, 120, 0.08);
  color: #4a7a55;
  border: 1px solid rgba(107, 158, 120, 0.2);
}

.modern-alert-danger {
  background: rgba(192, 115, 110, 0.08);
  color: #9a4a46;
  border: 1px solid rgba(192, 115, 110, 0.2);
}

.modern-alert-warning {
  background: rgba(212, 165, 116, 0.08);
  color: #8a6a3a;
  border: 1px solid rgba(212, 165, 116, 0.2);
}

.modern-alert-info {
  background: var(--accent-glow);
  color: var(--accent-deep);
  border: 1px solid rgba(196, 162, 101, 0.2);
}

.modern-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.modern-header .header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 24px;
}

.modern-header .logo {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  white-space: nowrap;
  letter-spacing: 4px;
}

.modern-header .search-bar {
  flex: 1;
  max-width: 500px;
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.modern-header .search-bar:focus-within {
  border-color: var(--accent);
}

.modern-header .search-bar input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: var(--font-sans);
}

.modern-header .search-bar button {
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.modern-header .search-bar button:hover {
  background: var(--accent-deep);
}

.modern-header .header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.modern-header .header-actions a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.modern-header .header-actions a:hover {
  color: var(--accent);
}

.modern-footer {
  background: #1C1B1A;
  color: #8C8885;
  padding: 80px 0 30px;
  margin-top: 100px;
  font-family: var(--font-sans);
  position: relative;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.modern-footer .footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.modern-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.modern-footer .footer-col h4 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  color: #E8E4DE;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.modern-footer .footer-col a {
  display: block;
  color: #8C8885;
  font-size: 13px;
  margin-bottom: 8px;
  transition: color 0.3s ease;
  font-weight: 300;
}

.modern-footer .footer-col a:hover {
  color: var(--accent-light);
}

.modern-footer .footer-bottom {
  border-top: 1px solid #2C2A29;
  padding-top: 20px;
  text-align: center;
  color: #5C5A58;
  font-size: 12px;
}

.modern-sidebar {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  padding: 20px;
}

.modern-sidebar .user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.modern-sidebar .user-info .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modern-sidebar .user-info .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-sidebar .user-info .name {
  font-weight: 600;
  font-size: 15px;
}

.modern-sidebar .menu-group {
  margin-bottom: 16px;
}

.modern-sidebar .menu-group .menu-title {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  padding-left: 12px;
}

.modern-sidebar .menu-group a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.modern-sidebar .menu-group a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--accent);
  border-radius: 1px;
  transition: height 0.3s ease;
}

.modern-sidebar .menu-group a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-sm);
}

.modern-sidebar .menu-group a:hover,
.modern-sidebar .menu-group a.active {
  color: var(--accent-deep);
  padding-left: 20px;
}

.modern-sidebar .menu-group a:hover::before,
.modern-sidebar .menu-group a.active::before {
  height: 60%;
}

.modern-sidebar .menu-group a:hover::after,
.modern-sidebar .menu-group a.active::after {
  opacity: 1;
}

.modern-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.modern-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 28px 24px 24px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.modern-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, var(--accent-glow), transparent);
  transition: height 0.5s ease;
}

.modern-product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: width 0.5s ease;
}

.modern-product-card:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-8px);
  border-color: rgba(196, 162, 101, 0.3);
}

.modern-product-card:hover::before {
  height: 100%;
}

.modern-product-card:hover::after {
  width: 100%;
}

.modern-product-card .product-img {
  margin-bottom: 24px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
  border-radius: 12px;
}

.modern-product-card .product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
  mix-blend-mode: multiply;
  filter: brightness(0.98);
}

.modern-product-card .product-img .no-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-muted, #999);
  font-size: 14px;
}

.modern-product-card:hover .product-img img {
  transform: scale(1.1);
  filter: brightness(1);
}

.modern-product-card .product-info {
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.modern-product-card .product-brand {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}

.modern-product-card .product-name {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 16px;
  height: 44px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.modern-product-card .product-price {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.modern-product-card .product-price em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  margin-right: 4px;
  color: var(--text-secondary);
  vertical-align: super;
}

.modern-product-card .product-price::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s ease, width 0.3s ease;
}

.modern-product-card:hover .product-price::after {
  opacity: 1;
  width: 50px;
}

.modern-product-card .product-actions {
  position: relative;
  z-index: 1;
}

.modern-category-bar {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.modern-category-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.modern-category-bar .category-item {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.modern-category-bar .category-item:last-child {
  border-bottom: none;
}

.modern-category-bar .category-item:hover {
  color: var(--accent-deep);
  padding-left: 24px;
  background: linear-gradient(90deg, var(--accent-glow), transparent);
}

.modern-category-bar .category-item h3 {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0;
}

.modern-category-bar .category-item h3 a {
  color: inherit;
}

.modern-banner {
  background: linear-gradient(135deg, #F9F6F0 0%, #F3ECE4 30%, #EDE5DA 60%, #F5EFE7 100%) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 440px;
}

.modern-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(196, 162, 101, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 30%, rgba(212, 165, 116, 0.06) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

.modern-banner img {
  width: 100%;
  display: block;
}

.modern-form-group {
  margin-bottom: 18px;
}

.modern-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.modern-form-group .modern-input {
  width: 100%;
}

.modern-quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.modern-quantity button {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg);
  cursor: pointer;
  font-size: 16px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.modern-quantity button:hover {
  background: var(--accent-glow);
  color: var(--accent);
}

.modern-quantity input {
  width: 48px;
  height: 32px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
}

.modern-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
}

.modern-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.modern-price {
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-serif);
}

.modern-price em {
  font-size: 12px;
  font-style: normal;
}

.modern-spec-option {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 4px;
}

.modern-spec-option:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.modern-spec-option.selected {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-glow);
}

.modern-spec-option.locked {
  opacity: 0.4;
  cursor: not-allowed;
}

.modern-tab-content .tab-pane {
  display: none;
}

.modern-tab-content .tab-pane.active {
  display: block;
}

.modern-order-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-order-card:hover {
  box-shadow: var(--shadow-sm);
}

.modern-order-card .order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg);
  font-size: 13px;
  color: var(--text-secondary);
}

.modern-order-card .order-body {
  padding: 16px;
}

.modern-order-card .order-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-light);
}

.modern-address-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-address-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
}

.modern-address-card.selected {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.modern-countdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.modern-countdown .time-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  background: var(--text-primary);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.modern-countdown .time-sep {
  font-weight: 700;
  color: var(--text-primary);
}

.modern-seckill-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.modern-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.modern-qr-box .qr-image {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.modern-qr-box .qr-tip {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

.modern-result-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 20px;
  text-align: center;
}

.modern-result-page .result-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 20px;
}

.modern-result-page .result-icon.success {
  background: rgba(107, 158, 120, 0.1);
  color: var(--success);
}

.modern-result-page .result-icon.fail {
  background: rgba(192, 115, 110, 0.1);
  color: var(--danger);
}

.modern-result-page .result-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 3px;
}

.modern-result-page .result-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.modern-result-page .result-actions {
  display: flex;
  gap: 12px;
}

.modern-login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F9F6F0 0%, #F3ECE4 30%, #EDE5DA 60%, #F5EFE7 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.modern-login-container::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(196, 162, 101, 0.1);
  animation: float 20s ease-in-out infinite;
}

.modern-login-container::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(196, 162, 101, 0.08);
  animation: float 15s ease-in-out infinite reverse;
}

.modern-login-box {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  border: 1px solid rgba(196, 162, 101, 0.15);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.modern-login-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.modern-login-box .login-logo {
  text-align: center;
  margin-bottom: 36px;
}

.modern-login-box .login-logo h1 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 12px;
  background: linear-gradient(90deg, #1A1A1A 0%, #C4A265 25%, #1A1A1A 50%, #C4A265 75%, #1A1A1A 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}

.modern-login-box .login-logo p {
  color: var(--text-muted);
  font-size: 11px;
  margin-top: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 300;
}

.modern-login-box .login-logo::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 16px auto 0;
}

.modern-login-box .login-tabs {
  display: flex;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.modern-login-box .login-tabs::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.modern-login-box .login-tabs .tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
}

.modern-login-box .login-tabs .tab:hover {
  color: var(--accent);
}

.modern-login-box .login-tabs .tab.active {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
}

.modern-login-box .form-group {
  margin-bottom: 18px;
}

.modern-login-box .form-group .input-wrap {
  position: relative;
}

.modern-login-box .form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.6);
}

.modern-login-box .form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.modern-login-box .form-group .error-msg {
  color: var(--danger);
  font-size: 12px;
  margin-top: 4px;
}

.modern-login-box .form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 13px;
}

.modern-login-box .form-options .forget {
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.modern-login-box .form-options .forget:hover {
  color: var(--accent);
}

.modern-login-box .login-btn {
  width: 100%;
  padding: 14px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.modern-login-box .login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196, 162, 101, 0.1), transparent);
  transition: left 0.5s ease;
}

.modern-login-box .login-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(196, 162, 101, 0.25);
  letter-spacing: 5px;
}

.modern-login-box .login-btn:hover::before {
  left: 100%;
}

.modern-login-box .login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.modern-login-box .login-btn .btn-loading {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

.modern-login-box .other-login {
  margin-top: 28px;
  text-align: center;
}

.modern-login-box .other-login .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 11px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.modern-login-box .other-login .divider::before,
.modern-login-box .other-login .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.modern-login-box .other-login .social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.modern-login-box .other-login .social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.modern-login-box .other-login .social-icons a:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.modern-login-box .register-link {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.modern-login-box .register-link a {
  color: var(--accent);
  font-weight: 500;
  transition: color 0.3s ease;
}

.modern-login-box .register-link a:hover {
  color: var(--accent-deep);
}

.modern-register-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F9F6F0 0%, #F3ECE4 30%, #EDE5DA 60%, #F5EFE7 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.modern-register-container::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(196, 162, 101, 0.1);
  animation: float 20s ease-in-out infinite;
}

.modern-register-container::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -15%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(196, 162, 101, 0.08);
  animation: float 15s ease-in-out infinite reverse;
}

.modern-register-box {
  width: 100%;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  border: 1px solid rgba(196, 162, 101, 0.15);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.modern-register-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.modern-register-box .register-header {
  text-align: center;
  margin-bottom: 32px;
}

.modern-register-box .register-header h1 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--text-primary);
  margin: 0 0 8px;
  letter-spacing: 12px;
  background: linear-gradient(90deg, #1A1A1A 0%, #C4A265 25%, #1A1A1A 50%, #C4A265 75%, #1A1A1A 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}

.modern-register-box .register-header p {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 300;
}

.modern-register-box .register-header::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 16px auto 0;
}

.modern-register-box .form-group {
  margin-bottom: 18px;
}

.modern-register-box .form-group label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.modern-register-box .form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.6);
}

.modern-register-box .form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.modern-register-box .form-group .error-msg {
  color: var(--danger);
  font-size: 12px;
  margin-top: 4px;
}

.modern-register-box .code-row {
  display: flex;
  gap: 10px;
}

.modern-register-box .code-row input {
  flex: 1;
}

.modern-register-box .code-row .code-btn {
  white-space: nowrap;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.3s ease;
}

.modern-register-box .code-row .code-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.modern-register-box .agreement {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modern-register-box .agreement a {
  color: var(--accent);
}

.modern-register-box .register-btn {
  width: 100%;
  padding: 14px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.modern-register-box .register-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196, 162, 101, 0.1), transparent);
  transition: left 0.5s ease;
}

.modern-register-box .register-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(196, 162, 101, 0.25);
  letter-spacing: 5px;
}

.modern-register-box .register-btn:hover::before {
  left: 100%;
}

.modern-register-box .login-link {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.modern-register-box .login-link a {
  color: var(--accent);
  font-weight: 500;
}

.modern-cart-page .cart-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.modern-cart-page .cart-header h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  margin: 0;
  letter-spacing: 4px;
}

.modern-cart-page .cart-table {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.modern-cart-page .cart-table-head {
  display: grid;
  grid-template-columns: 40px 1fr 120px 140px 120px 100px;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.modern-cart-page .cart-item {
  display: grid;
  grid-template-columns: 40px 1fr 120px 140px 120px 100px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s ease;
}

.modern-cart-page .cart-item:hover {
  background: var(--bg-hover);
}

.modern-cart-page .cart-item .product-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modern-cart-page .cart-item .product-info img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.modern-cart-page .cart-item .product-info .product-name {
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 300;
}

.modern-cart-page .cart-item .product-info .product-spec {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.modern-cart-page .cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-top: 16px;
}

.modern-cart-page .cart-footer .cart-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}

.modern-cart-page .cart-footer .cart-total {
  display: flex;
  align-items: center;
  gap: 20px;
}

.modern-cart-page .cart-footer .cart-total .total-info {
  font-size: 13px;
  color: var(--text-secondary);
}

.modern-cart-page .cart-footer .cart-total .total-price {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 1px;
}

.modern-cart-page .cart-footer .checkout-btn {
  padding: 14px 40px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.modern-cart-page .cart-footer .checkout-btn:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(196, 162, 101, 0.25);
}

.modern-item-page .item-breadcrumb {
  padding: 16px 0;
}

.modern-item-page .item-main {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.modern-item-page .item-preview {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.modern-item-page .item-preview .main-img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.modern-item-page .item-preview .main-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modern-item-page .item-preview .thumb-list {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
}

.modern-item-page .item-preview .thumb-list img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.modern-item-page .item-preview .thumb-list img:hover,
.modern-item-page .item-preview .thumb-list img.active {
  border-color: var(--accent);
}

.modern-item-page .item-info {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px;
}

.modern-item-page .item-info .item-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.modern-item-page .item-info .item-subtitle {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 16px;
}

.modern-item-page .item-info .price-box {
  background: linear-gradient(135deg, #FAF8F5, #F5EFE7);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
}

.modern-item-page .item-info .price-box .price-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.modern-item-page .item-info .price-box .price-value {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 1px;
}

.modern-item-page .item-info .price-box .price-value em {
  font-size: 16px;
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 300;
}

.modern-item-page .item-info .spec-section {
  margin-bottom: 20px;
}

.modern-item-page .item-info .spec-section .spec-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.modern-item-page .item-info .buy-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.modern-item-page .item-detail-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
}

.modern-item-page .item-detail-section .detail-sidebar {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 16px;
}

.modern-item-page .item-detail-section .detail-main {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px;
}

.modern-search-page .filter-section {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 20px;
  margin-bottom: 20px;
}

.modern-search-page .filter-row {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.modern-search-page .filter-row:last-child {
  border-bottom: none;
}

.modern-search-page .filter-row .filter-key {
  width: 80px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 4px;
  flex-shrink: 0;
}

.modern-search-page .filter-row .filter-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.modern-search-page .filter-row .filter-values a {
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.modern-search-page .filter-row .filter-values a:hover {
  background: var(--accent-glow);
  color: var(--accent);
}

.modern-search-page .sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 0 20px;
  margin-bottom: 20px;
}

.modern-search-page .sort-bar .sort-options {
  display: flex;
  gap: 0;
}

.modern-search-page .sort-bar .sort-options a {
  padding: 12px 18px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.modern-search-page .sort-bar .sort-options a:hover,
.modern-search-page .sort-bar .sort-options a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.modern-pay-page {
  max-width: 700px;
  margin: 40px auto;
}

.modern-pay-page .pay-header {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px;
  margin-bottom: 20px;
}

.modern-pay-page .pay-header .success-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.modern-pay-page .pay-header .success-info .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(107, 158, 120, 0.1);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.modern-pay-page .pay-header .pay-amount {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 1px;
}

.modern-pay-page .pay-body {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 30px;
  text-align: center;
}

.modern-pay-page .pay-body .pay-type-label {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
}

.modern-home-page {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 20px 0;
}

.modern-home-page .home-content {
  min-width: 0;
}

.modern-getOrderInfo-page .address-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.modern-getOrderInfo-page .order-summary {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 20px;
  margin-bottom: 20px;
}

.modern-getOrderInfo-page .submit-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.modern-getOrderInfo-page .submit-bar .total-price {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 1px;
}

/* ========== 深色奢华风快捷导航栏 ========== */
.modern-topbar {
  background: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
  color: #8C8885;
  font-size: 12px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* 顶部金色装饰线 */
.modern-topbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(196, 162, 101, 0.4) 15%, 
    #C4A265 50%, 
    rgba(196, 162, 101, 0.4) 85%, 
    transparent 100%
  );
}

/* 底部金色流光 */
.modern-topbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 162, 101, 0.3), transparent);
  box-shadow: 0 0 6px rgba(196, 162, 101, 0.15);
}

.modern-topbar .topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  position: relative;
  z-index: 1;
}

.modern-topbar .topbar-left,
.modern-topbar .topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-topbar a {
  color: #9A9590;
  transition: all 0.3s ease;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.modern-topbar a:hover {
  color: #D4B87A;
  text-shadow: 0 0 8px rgba(196, 162, 101, 0.3);
}

.modern-topbar .home-link {
  color: #D4B87A;
}

.modern-topbar .sep {
  color: #3C3A38;
  margin: 0 4px;
}

.modern-topbar .logout-link {
  color: #9A9590;
  transition: all 0.3s ease;
  font-weight: 300;
}

.modern-topbar .logout-link:hover {
  color: #E8A0A0;
}

/* 购物车按钮 - topbar 内 */
.modern-topbar .topbar-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border: 1px solid rgba(196, 162, 101, 0.35);
  border-radius: 16px;
  color: #D4B87A;
  font-size: 12px;
  letter-spacing: 1.5px;
  transition: all 0.4s ease;
  text-decoration: none;
  background: rgba(196, 162, 101, 0.06);
  margin-left: 6px;
}

.modern-topbar .topbar-cart:hover {
  border-color: #C4A265;
  color: #E8D4A0;
  background: rgba(196, 162, 101, 0.15);
  box-shadow: 0 0 16px rgba(196, 162, 101, 0.25);
}

.modern-topbar .topbar-cart .cart-count {
  background: linear-gradient(135deg, #C4A265, #D4B87A);
  color: #1a1a1a;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
  min-width: 16px;
  text-align: center;
}

/* ========== 统一搜索容器组件 yt-search-bar ========== */
.yt-search-bar {
  background: var(--bg-white, #FFFFFF);
  border-bottom: 1px solid var(--border-light, #E8E4DE);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.yt-search-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(196, 162, 101, 0.4) 20%, #C4A265 50%, rgba(196, 162, 101, 0.4) 80%, transparent 100%);
}

.yt-search-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 162, 101, 0.15), transparent);
}

.yt-search-bar-inner {
  max-width: var(--max-width, 1280px);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* 当有 logo / cart 插槽时，搜索框居左对齐 */
.yt-search-bar-inner .logo ~ .yt-search-box {
  justify-content: flex-start;
}

/* Logo */
.yt-search-bar .logo {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 300;
  color: var(--text-primary, #1A1A1A);
  letter-spacing: 10px;
  text-decoration: none;
  transition: color 0.4s ease;
  position: relative;
  white-space: nowrap;
}

.yt-search-bar .logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary, #C4A265), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.yt-search-bar .logo:hover {
  color: var(--primary, #C4A265);
}

.yt-search-bar .logo:hover::after {
  opacity: 1;
}

/* 购物车按钮 */
.yt-search-bar .cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--border-light, #E8E4DE);
  border-radius: 25px;
  color: var(--text-primary, #1A1A1A);
  font-size: 12px;
  letter-spacing: 2px;
  transition: all 0.4s ease;
  text-decoration: none;
  position: relative;
  background: transparent;
  white-space: nowrap;
}

.yt-search-bar .cart-btn:hover {
  border-color: var(--primary, #C4A265);
  color: var(--primary, #C4A265);
  box-shadow: 0 0 20px rgba(196, 162, 101, 0.15);
  transform: translateY(-2px);
}

.yt-search-bar .cart-btn .cart-count {
  background: linear-gradient(135deg, #C4A265, #D4B87A);
  color: #1a1a1a;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(196, 162, 101, 0.4);
}

@media (max-width: 768px) {
  .yt-search-bar-inner {
    padding: 0 16px;
    gap: 12px;
    flex-wrap: wrap;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .yt-search-bar .logo { font-size: 24px; letter-spacing: 6px; }
  .yt-search-bar .cart-btn { padding: 8px 14px; font-size: 11px; }
  .yt-search-bar-inner .yt-search-box { flex-basis: 100%; max-width: 100%; order: 3; }
}

/* ========== 统一搜索框组件 yt-search-box ========== */
/* 独立组件样式，不依赖父级容器，所有页面复用同一套 */
.yt-search-box {
  flex: 1;
  max-width: 560px;
  display: flex;
  border: 1px solid var(--border-light, #E8E4DE);
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.4s ease;
  background: var(--bg-white, #FFFFFF);
}

.yt-search-box:focus-within {
  border-color: var(--primary, #C4A265);
  box-shadow: 0 0 0 3px rgba(196, 162, 101, 0.1);
  background: var(--bg-card, #FFFFFF);
}

.yt-search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.yt-search-box input {
  flex: 1;
  padding: 12px 18px;
  padding-right: 36px;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: var(--font-sans, "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif);
  background: transparent;
  color: var(--text-primary, #1A1A1A);
  letter-spacing: 0.5px;
}

.yt-search-box input::placeholder {
  color: var(--text-muted, #B5AFA8);
  font-style: italic;
  font-weight: 300;
}

.yt-search-box button {
  padding: 12px 24px;
  background: linear-gradient(135deg, #C4A265 0%, #D4B87A 50%, #C4A265 100%);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.yt-search-box button:hover {
  background: linear-gradient(135deg, #D4B87A 0%, #E8D4A0 50%, #D4B87A 100%);
  box-shadow: 0 2px 15px rgba(196, 162, 101, 0.4);
  transform: translateY(-1px);
}

.yt-search-box .yt-search-reset-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  width: 20px;
  height: 20px;
  line-height: 18px;
  background: var(--border-light, #F0EDE8);
  color: var(--text-secondary, #8B8378);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 300;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.yt-search-box .yt-search-reset-btn:hover {
  background: rgba(196, 162, 101, 0.15);
  color: #A8893F;
  transform: translateY(-50%) scale(1.1);
}

.modern-nav-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.modern-nav-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 162, 101, 0.2), transparent);
}

.home-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 28px 0;
  animation: fadeInUp 0.6s ease-out;
}

.home-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.home-sidebar .user-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.home-sidebar .user-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.home-sidebar .user-card .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-glow), var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
}

.home-sidebar .user-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-sidebar .user-card .avatar .avatar-letters {
  display: flex;
  align-items: center;
  gap: 2px;
}

.home-sidebar .user-card .avatar .avatar-letter {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  user-select: none;
  text-transform: uppercase;
}

.home-sidebar .user-card .avatar .avatar-letter.l1 {
  background: linear-gradient(135deg, var(--accent), #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.home-sidebar .user-card .avatar .avatar-letter.l2 {
  background: linear-gradient(135deg, #c084fc, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
}

.home-sidebar .user-card .user-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.home-sidebar .user-card .user-action {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.home-sidebar .user-card .user-action a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.home-sidebar .user-card .user-action a:hover {
  color: var(--accent);
}

.home-sidebar .sidebar-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 20px 16px;
}

.home-sidebar .sidebar-card .menu-group {
  margin-bottom: 20px;
}

.home-sidebar .sidebar-card .menu-group:last-child {
  margin-bottom: 0;
}

.home-sidebar .sidebar-card .menu-group .menu-title {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  padding-left: 12px;
  font-weight: 400;
}

.home-sidebar .sidebar-card .menu-group a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13px;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  font-weight: 300;
}

.home-sidebar .sidebar-card .menu-group a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--accent);
  border-radius: 1px;
  transition: height 0.3s ease;
}

.home-sidebar .sidebar-card .menu-group a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-sm);
}

.home-sidebar .sidebar-card .menu-group a:hover,
.home-sidebar .sidebar-card .menu-group a.active {
  color: var(--accent-deep);
  padding-left: 20px;
}

.home-sidebar .sidebar-card .menu-group a:hover::before,
.home-sidebar .sidebar-card .menu-group a.active::before {
  height: 60%;
}

.home-sidebar .sidebar-card .menu-group a:hover::after,
.home-sidebar .sidebar-card .menu-group a.active::after {
  opacity: 1;
}

.home-main {
  min-width: 0;
}

.order-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: card-reveal 0.5s ease-out backwards;
}

.order-card:hover {
  box-shadow: var(--shadow-sm);
}

.order-card .order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg);
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.order-card .order-header .order-time {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.order-card .order-header .order-id {
  font-size: 12px;
  color: var(--text-muted);
}

.order-card .order-goods-row {
  display: grid;
  grid-template-columns: 80px 1fr 100px 60px;
  align-items: center;
  padding: 16px;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s ease;
}

.order-card .order-goods-row:last-child {
  border-bottom: none;
}

.order-card .order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  background: #fafbfc;
}

.order-card .order-goods-row:hover {
  background: var(--bg-hover);
}

.order-card .goods-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.order-card .goods-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-card .goods-info {
  min-width: 0;
}

.order-card .goods-info .goods-name {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.order-card .goods-info .goods-spec {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.order-card .goods-price {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text-primary);
  text-align: center;
}

.order-card .goods-num {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

.order-card .order-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
  min-width: 160px;
}

.order-card .order-total-price {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.order-card .order-total-desc {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.order-card .order-status-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.order-card .status-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 3px;
  color: var(--accent);
  background: rgba(0,0,0,0.04);
  white-space: nowrap;
}

.order-card .status-badge.shipped {
  color: #2563eb;
  background: rgba(37,99,235,0.08);
}

.order-card .status-badge.done {
  color: #16a34a;
  background: rgba(22,163,74,0.08);
}

.order-card .status-badge.closed {
  color: var(--text-muted);
  background: rgba(0,0,0,0.05);
}

.order-card .countdown-text {
  font-size: 12px;
  color: var(--accent);
  white-space: nowrap;
}

.order-card .order-detail-link {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.order-card .order-detail-link:hover {
  opacity: 0.7;
}

.order-card .order-actions-col {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.order-card .cancel-link {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.order-card .cancel-link:hover {
  color: var(--text-primary);
}

.steps-bar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 0;
}

.steps-bar .step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 160px;
}

.steps-bar .step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  background: var(--border);
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.steps-bar .step-item.done .step-circle {
  background: var(--success);
  color: #fff;
}

.steps-bar .step-item.current .step-circle {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.steps-bar .step-line-bar {
  position: absolute;
  top: 18px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.steps-bar .step-line-bar.done {
  background: var(--success);
}

.steps-bar .step-label {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 300;
}

.steps-bar .step-item.done .step-label {
  color: var(--success);
}

.steps-bar .step-item.current .step-label {
  color: var(--accent-deep);
  font-weight: 400;
}

.steps-bar .step-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.order-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.order-info-card h5 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0 0 16px;
  letter-spacing: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.order-info-card h5::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.order-info-card .info-row {
  display: flex;
  align-items: baseline;
  padding: 8px 0;
  font-size: 13px;
}

.order-info-card .info-label {
  width: 80px;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.order-info-card .info-val {
  color: var(--text-primary);
  font-weight: 300;
}

.order-info-card .goods-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.order-info-card .goods-list-item:last-of-type {
  border-bottom: none;
}

.order-info-card .goods-list-item img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-light);
}

.order-info-card .goods-list-item .g-info {
  flex: 1;
  min-width: 0;
}

.order-info-card .goods-list-item .g-name {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 300;
  line-height: 1.5;
}

.order-info-card .goods-list-item .g-spec {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.order-info-card .goods-list-item .g-price {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text-primary);
  white-space: nowrap;
}

.order-info-card .order-price-summary {
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--border-light);
  text-align: right;
}

.order-info-card .order-price-summary p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 6px;
  font-weight: 300;
}

.order-info-card .order-price-summary .actual-price {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--accent);
  font-weight: 400;
  margin-top: 8px;
  letter-spacing: 1px;
}

.modern-card .goods-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.modern-card .goods-list-item:last-of-type {
  border-bottom: none;
}

.modern-card .goods-list-item img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.modern-card .goods-list-item .g-info {
  flex: 1;
  min-width: 0;
}

.modern-card .goods-list-item .g-name {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 400;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modern-card .goods-list-item .g-spec {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.modern-card .goods-list-item .g-price {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.modern-card .goods-list-item .g-qty {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 4px;
}

.hot-items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hot-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.hot-item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, var(--accent-glow), transparent);
  transition: height 0.5s ease;
}

.hot-item-card:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
  border-color: rgba(196, 162, 101, 0.3);
}

.hot-item-card:hover::before {
  height: 100%;
}

.hot-item-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.hot-item-card .item-info {
  padding: 12px 16px;
  position: relative;
  z-index: 1;
}

.hot-item-card .item-name {
  font-size: 12px;
  color: var(--text-primary);
  line-height: 1.5;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 300;
}

.hot-item-card .item-price {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--accent);
  margin-top: 6px;
}

.hot-item-card .item-price em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
}

.hot-item-card .item-comment {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.collect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.collect-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.collect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, var(--accent-glow), transparent);
  transition: height 0.5s ease;
}

.collect-card:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
  border-color: rgba(196, 162, 101, 0.3);
}

.collect-card:hover::before {
  height: 100%;
}

.collect-card .card-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.collect-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.collect-card:hover .card-img img {
  transform: scale(1.05);
}

.collect-card .card-body {
  padding: 16px;
  position: relative;
  z-index: 1;
}

.collect-card .card-price {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 8px;
}

.collect-card .card-price em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
}

.collect-card .card-name {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.5;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 300;
}

.collect-card .card-promo {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.collect-card .card-promo span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.collect-card .card-actions {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.like-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.like-section .like-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.like-section .like-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.like-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.like-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.like-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, var(--accent-glow), transparent);
  transition: height 0.5s ease;
}

.like-card:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
  border-color: rgba(196, 162, 101, 0.3);
}

.like-card:hover::before {
  height: 100%;
}

.like-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.like-card .like-info {
  padding: 12px 16px;
  position: relative;
  z-index: 1;
}

.like-card .like-name {
  font-size: 12px;
  color: var(--text-primary);
  line-height: 1.5;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 300;
}

.like-card .like-price {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--accent);
  margin-top: 6px;
}

.like-card .like-price em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
}

.like-card .like-comment {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.modern-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.modern-section-header .section-line {
  width: 3px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
}

.modern-section-header h4 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin: 0;
}

.modern-section-header .section-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 300;
}

.modern-page-banner {
  background: linear-gradient(135deg, #F9F6F0, #F3ECE4);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.modern-page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.modern-page-banner h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 3px;
  margin: 0 0 4px;
}

.modern-page-banner p {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
  letter-spacing: 1px;
  font-weight: 300;
}



/* ===== Sidebar Menu Icon & Divider ===== */
.sidebar-card .menu-icon {
  display: inline-block;
  width: 18px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s ease;
  flex-shrink: 0;
  text-align: center;
}

.home-sidebar .sidebar-card .menu-group a:hover .menu-icon,
.home-sidebar .sidebar-card .menu-group a.active .menu-icon {
  color: var(--accent);
}

.menu-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0 0 12px;
}

/* ===== Order Card Enhancements ===== */
.status-badge.status-paid {
  color: #b45309;
  background: rgba(180,83,9,0.08);
}

.order-card .order-header {
  justify-content: space-between;
  align-items: center;
}

.order-card .order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  background: #fafbfc;
}

/* ===== Skeleton Loading ===== */
.order-skeleton-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-skeleton {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 0;
  overflow: hidden;
}

.sk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg);
  gap: 12px;
}

.sk-body {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}

.sk-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #F0EDE8 25%, #F9F6F0 50%, #F0EDE8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  flex-shrink: 0;
}

.sk-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sk-line {
  height: 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, #F0EDE8 25%, #F9F6F0 50%, #F0EDE8 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  width: 100%;
}

.sk-line-sm {
  width: 60%;
}

.sk-line-xs {
  width: 30%;
}

.sk-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--border-light);
  background: var(--bg);
}

.sk-footer .sk-line {
  width: 80px;
}

/* ===== Back Link ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  padding: 4px 0;
}

.back-link:hover {
  color: var(--accent);
  transform: translateX(-3px);
}

/* ===== Detail Two-Column ===== */
.detail-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.detail-two-col .order-info-card {
  margin-bottom: 0;
}

/* ===== Copy Link ===== */
.copy-link {
  font-size: 11px;
  color: var(--accent);
  cursor: pointer;
  padding: 2px 8px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.copy-link:hover {
  background: var(--accent);
  color: #fff;
}

/* ===== Step Bar Enhancements ===== */
.steps-bar .step-item.done .step-circle::before {
  content: '\2713';
}

.steps-bar .step-item.current .step-circle {
  animation: pulse-gold 2s infinite;
}

.steps-bar .step-line-bar.done {
  background: linear-gradient(90deg, var(--accent), var(--success));
}

/* ===== Address Card Grid ===== */
.address-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.modern-address-card-item {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modern-address-card-item:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.modern-address-card-item.default {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent-glow) 0%, var(--bg-card) 100%);
}

.addr-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 0;
}

.default-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.addr-card-body {
  padding: 14px 16px;
  flex: 1;
}

.addr-card-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.addr-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.addr-phone {
  font-size: 13px;
  color: var(--text-secondary);
  font-family: var(--font-mono, 'SF Mono', 'Cascadia Code', monospace);
}

.addr-card-location {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 4px;
}

.addr-icon {
  font-size: 13px;
  line-height: 1.5;
  flex-shrink: 0;
  opacity: 0.7;
}

.addr-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.addr-card-detail {
  font-size: 14px;
  color: var(--text-primary);
  padding-left: 22px;
  margin-bottom: 6px;
  line-height: 1.5;
  font-weight: 500;
}

.addr-card-zip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 22px;
  font-size: 12px;
  color: var(--text-muted);
}

.addr-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--border-light);
}

.addr-action-link {
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.addr-action-link:hover {
  color: var(--primary);
  background: var(--bg-hover);
}

.addr-action-delete:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .address-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Address Table Hover (legacy, kept for compatibility) ===== */
.address-table tbody tr:hover {
  background: var(--bg-hover);
}

.address-table tbody tr {
  transition: background 0.2s ease;
}

@media (max-width: 1024px) {
  .home-layout {
    grid-template-columns: 200px 1fr;
    gap: 16px;
  }
  .detail-two-col {
    grid-template-columns: 1fr;
  }
  .order-card .order-goods-row {
    grid-template-columns: 60px 1fr 70px 40px;
    gap: 8px;
    font-size: 12px;
  }
  .collect-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hot-items-grid,
  .like-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .home-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .home-sidebar {
    position: static;
  }
  .detail-two-col {
    grid-template-columns: 1fr;
  }
  .order-card .order-goods-row {
    grid-template-columns: 60px 1fr;
    gap: 8px;}
  .order-card .goods-price,
  .order-card .goods-num {
    grid-column: 2;
  }
  .order-card .order-footer {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 12px;
  }
  .collect-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hot-items-grid,
  .like-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .collect-grid {
    grid-template-columns: 1fr;
  }
  .hot-items-grid,
  .like-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.collect-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.modern-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  user-select: none;
}

.modern-checkbox input[type="checkbox"] {
  display: none;
}

.modern-checkbox .checkmark {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.modern-checkbox input[type="checkbox"]:checked + .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.modern-checkbox input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.collect-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.collect-item {
  display: grid;
  grid-template-columns: 32px 80px 1fr 100px 120px;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  animation: card-reveal 0.5s ease-out backwards;
}

.collect-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(196, 162, 101, 0.2);
}

.collect-item .collect-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.collect-item .collect-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collect-item .collect-info {
  min-width: 0;
}

.collect-item .collect-name {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 300;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.collect-item .collect-spec {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.collect-item .collect-price {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--accent);
  text-align: center;
}

.collect-item .collect-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footmark-date-group {
  margin-bottom: 24px;
}

.footmark-date {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--text-primary);
  letter-spacing: 2px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.footmark-date::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footmark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.footmark-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.footmark-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, var(--accent-glow), transparent);
  transition: height 0.5s ease;
}

.footmark-item:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
  border-color: rgba(196, 162, 101, 0.3);
}

.footmark-item:hover::before {
  height: 100%;
}

.footmark-item .footmark-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.footmark-item .footmark-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.footmark-item:hover .footmark-img img {
  transform: scale(1.05);
}

.footmark-item .footmark-name {
  padding: 10px 12px 0;
  font-size: 12px;
  color: var(--text-primary);
  line-height: 1.5;
  height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.footmark-item .footmark-price {
  padding: 4px 12px 12px;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.modern-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 20px 24px;
  margin-bottom: 16px;
}

/* ===== Settings Tabs ===== */
.setting-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.setting-tabs .tab-item {
  position: relative;
  padding: 12px 24px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 400;
  letter-spacing: 0.5px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.setting-tabs .tab-item:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.setting-tabs .tab-item.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 500;
}

/* ===== Settings Form ===== */
.setting-form {
  max-width: 520px;
}

.setting-form .form-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  gap: 12px;
}

.setting-form .form-label {
  width: 90px;
  text-align: right;
  font-size: 13px;
  color: var(--text-secondary);
  padding-top: 10px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.setting-form .form-control {
  flex: 1;
  min-width: 0;
}

.setting-form .form-control .modern-input {
  width: 100%;
}

.setting-form .form-control select.modern-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%238B8378'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

/* ===== Password Eye Toggle ===== */
.pwd-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.pwd-wrap .modern-input {
  padding-right: 36px;
}
.pwd-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'%3E%3C/path%3E%3Cline x1='1' y1='1' x2='23' y2='23'%3E%3C/line%3E%3C/svg%3E") center/contain no-repeat;
}
.pwd-eye.on {
  opacity: 0.6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E");
}
.pwd-eye:hover {
  opacity: 0.9;
}

/* ===== Radio Group ===== */
.radio-group {
  display: flex;
  gap: 24px;
  padding-top: 4px;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  font-weight: 300;
}

.radio-group input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ===== Select Group ===== */
.select-group {
  display: flex;
  gap: 10px;
}

.select-group select {
  flex: 1;
  min-width: 0;
}

.select-group select.modern-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%238B8378'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  cursor: pointer;
}

/* ===== Job Select ===== */
.job-select {
  width: 100%;
}

select.job-select.modern-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%238B8378'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

/* ===== Avatar Upload ===== */
.avatar-upload {
  display: flex;
  align-items: center;
  gap: 20px;
}

.current-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg-warm);
  flex-shrink: 0;
}

.current-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-size: 13px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.upload-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ===== Info Country & Region Rows ===== */
.info-country-row {
  display: flex;
  gap: 8px;
}

.info-region-row {
  display: flex;
  gap: 8px;
}

@media (max-width: 1024px) {
  .collect-item {
    grid-template-columns: 32px 60px 1fr 80px 100px;
    gap: 10px;
  }
  .footmark-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .collect-item {
    grid-template-columns: 32px 60px 1fr;
    gap: 10px;
  }
  .collect-item .collect-price,
  .collect-item .collect-actions {
    grid-column: 2 / -1;
  }
  .footmark-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footmark-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

/* ===== Settings Form Responsive ===== */
@media (max-width: 768px) {
  .setting-form {
    max-width: 100%;
  }

  .setting-form .form-row {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
  }

  .setting-form .form-label {
    width: 100%;
    text-align: left;
    padding-top: 0;
  }

  .setting-form .form-control .modern-input {
    width: 100%;
  }

  .select-group {
    flex-wrap: wrap;
  }

  .avatar-upload {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Phone Binding Step Bar ===== */
.phone-step-bar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 20px 28px;
  gap: 0;
}

.phone-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 140px;
  position: relative;
}

.phone-step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  color: var(--text-muted);
  transition: all 0.35s ease;
  position: relative;
  z-index: 2;
}

.phone-step-item.done .phone-step-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.phone-step-item.current .phone-step-dot {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb, 139, 119, 101), 0.12);
}

.phone-step-line {
  position: absolute;
  top: 17px;
  left: calc(50% + 18px);
  width: calc(100% - 36px);
  height: 2px;
  background: var(--border-light);
  z-index: 1;
  transition: background 0.35s ease;
}

.phone-step-item:last-child .phone-step-line {
  display: none;
}

.phone-step-item.done .phone-step-line {
  background: var(--accent);
}

.phone-step-text {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.phone-step-item.done .phone-step-text {
  color: var(--accent);
}

.phone-step-item.current .phone-step-text {
  color: var(--text-primary);
  font-weight: 500;
}

/* ===== Phone Verify Form ===== */
.phone-verify-form {
  max-width: 480px;
  margin: 0 auto;
  padding: 8px 0 0;
}

.phone-verify-form .form-row {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  gap: 12px;
}

.phone-verify-form .form-label {
  width: 90px;
  text-align: right;
  font-size: 13px;
  color: var(--text-secondary);
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.phone-verify-form .form-control {
  flex: 1;
  min-width: 0;
}

.phone-verify-form .modern-input {
  width: 100%;
}

.phone-masked-number {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  padding: 10px 0;
}

.phone-masked-number .mask-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  opacity: 0.5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'%3E%3C/line%3E%3C/svg%3E") center/contain no-repeat;
}

.phone-code-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.phone-code-group .modern-input {
  flex: 1;
}

.phone-send-btn {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
  white-space: nowrap;
  line-height: 1.2;
}

.phone-send-btn:hover {
  background: var(--accent);
  color: #fff;
}

.phone-send-btn:disabled,
.phone-send-btn.counting {
  color: var(--text-muted);
  border-color: var(--border-light);
  cursor: not-allowed;
}

.phone-send-btn.counting:hover {
  background: transparent;
  color: var(--text-muted);
}

.phone-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  padding-left: 102px;
}

.phone-form-actions .modern-btn {
  min-width: 120px;
  justify-content: center;
}

@media (max-width: 768px) {
  .phone-step-bar {
    padding: 20px 8px 16px;
  }
  .phone-step-item {
    max-width: 100px;
  }
  .phone-step-dot {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .phone-step-line {
    top: 13px;
    left: calc(50% + 14px);
    width: calc(100% - 28px);
  }
  .phone-step-text {
    font-size: 11px;
  }
  .phone-verify-form .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .phone-verify-form .form-label {
    width: auto;
    text-align: left;
  }
  .phone-form-actions {
    padding-left: 0;
  }
}

/* ===== Checkout Page ===== */
.checkout-page {
  padding-top: 8px;
  padding-bottom: 40px;
}

/* Checkout Steps */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0 24px;
  margin-bottom: 8px;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-step .step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  background: var(--border-light);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.checkout-step.done .step-circle {
  background: var(--success);
  color: #fff;
}

.checkout-step.current .step-circle {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.checkout-step .step-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.checkout-step.done .step-label {
  color: var(--success);
}

.checkout-step.current .step-label {
  color: var(--text-primary);
  font-weight: 500;
}

.checkout-steps .step-line {
  flex: 0 0 60px;
  height: 2px;
  background: var(--border-light);
  margin: 0 12px;
  border-radius: 1px;
  transition: background 0.3s ease;
}

.checkout-steps .step-line.done {
  background: var(--success);
}

/* Checkout Body Layout */
.checkout-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

.checkout-main {
  min-width: 0;
}

.checkout-sidebar {
  position: sticky;
  top: 80px;
}

/* Section Header */
.checkout-section .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.checkout-section .section-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.5px;
}

.checkout-section .section-action {
  font-size: 13px;
  color: var(--accent);
  font-weight: 400;
  cursor: pointer;
  transition: color 0.3s ease;
}

.checkout-section .section-action:hover {
  color: var(--accent-deep);
}

.checkout-section .section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
}

/* Address Cards */
.checkout-address-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

.checkout-address-card:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
}

.checkout-address-card.selected {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.address-check {
  padding-top: 2px;
  flex-shrink: 0;
}

.check-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  transition: all 0.3s ease;
  position: relative;
}

.check-icon.checked {
  border-color: var(--accent);
  background: var(--accent);
}

.check-icon.checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.address-body {
  flex: 1;
  min-width: 0;
}

.address-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.address-top-row .addr-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

.address-top-row .addr-phone {
  font-size: 13px;
  color: var(--text-secondary);
}

.address-top-row .addr-default {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 10px;
  font-weight: 500;
}

.address-body .addr-detail {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.address-empty {
  text-align: center;
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Payment Options */
.pay-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 13px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  user-select: none;
}

.pay-option:hover {
  border-color: var(--accent-light);
}

.pay-option.selected {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
  font-weight: 500;
}

.pay-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
}

.wechat-icon {
  background: #07C160;
  position: relative;
}

.wechat-icon::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}

.cod-icon {
  background: var(--text-secondary);
  position: relative;
}

.cod-icon::after {
  content: '$';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* Checkout Goods List */
.checkout-goods-list {
  margin-bottom: 0;
}

.checkout-goods-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.checkout-goods-item:last-child {
  border-bottom: none;
}

.goods-img-wrap {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  flex-shrink: 0;
}

.goods-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.goods-info {
  flex: 1;
  min-width: 0;
}

.goods-name {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 400;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.goods-spec {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.goods-price-col {
  text-align: right;
  flex-shrink: 0;
  min-width: 80px;
}

.goods-unit-price {
  font-size: 13px;
  color: var(--text-secondary);
}

.goods-qty {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.goods-subtotal {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 90px;
  text-align: right;
}

/* Invoice Info */
.invoice-info {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.invoice-tag {
  background: var(--bg);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  font-size: 12px;
}

.invoice-sep {
  color: var(--border);
}

/* Coupon Empty */
.coupon-empty {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
}

/* Order Summary Sidebar */
.order-summary-card {
  position: relative;
}

.order-summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.summary-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 16px;
  letter-spacing: 0.5px;
}

.summary-detail-list {
  margin-bottom: 16px;
}

.summary-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  margin-top: 8px;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.summary-total-price {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.summary-addr-info {
  padding: 12px 0;
  margin-top: 8px;
  border-top: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.addr-info-row {
  display: flex;
  gap: 4px;
}

.addr-info-label {
  flex-shrink: 0;
  color: var(--text-muted);
}

.checkout-submit-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  font-size: 14px;
  letter-spacing: 3px;
}

/* Modal Overlay */
.modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.modal-box {
  background: #fff;
  border-radius: 12px;
  width: 520px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: card-reveal 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.modal-body {
  padding: 20px 24px;
}

.modal-body .form-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.modal-body .form-label {
  width: 90px;
  text-align: right;
  font-size: 13px;
  color: var(--text-secondary);
  padding-top: 10px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.form-region-group {
  flex: 1;
  display: flex;
  gap: 8px;
}

.form-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  padding-top: 8px;
}

.form-checkbox input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-light);
}

/* Checkout Responsive */
@media (max-width: 1024px) {
  .checkout-body {
    grid-template-columns: 1fr 280px;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .checkout-body {
    grid-template-columns: 1fr;
  }

  .checkout-sidebar {
    position: static;
  }

  .checkout-steps {
    padding: 20px 0 16px;
  }

  .checkout-step .step-label {
    font-size: 11px;
  }

  .checkout-steps .step-line {
    flex: 0 0 30px;
    margin: 0 6px;
  }

  .checkout-goods-item {
    flex-wrap: wrap;
  }

  .goods-subtotal {
    width: 100%;
    text-align: right;
    padding-left: 96px;
    margin-top: -8px;
  }

  .modal-box {
    width: 95vw;
  }

  .modal-body .form-row {
    flex-direction: column;
    gap: 6px;
  }

  .modal-body .form-label {
    width: 100%;
    text-align: left;
    padding-top: 0;
  }

  .form-region-group {
    flex-direction: column;
  }
}
