﻿/* ===== CSS Reset & Variables ===== */
:root {
  --color-primary: #e8a87c;
  --color-primary-dark: #d5896a;
  --color-primary-light: #f5d5b8;
  --color-secondary: #f5e6d3;
  --color-accent: #d4a574;
  --color-warm: #faefde;
  --color-text: #5c4033;
  --color-text-light: #8b7355;
  --color-text-dark: #3e2723;
  --color-white: #fffaf5;
  --color-cream: #fff5eb;
  --color-bg: #fffbf6;
  --color-bg-alt: #fef4e8;
  --color-success: #4caf50;
  --color-danger: #e74c3c;
  --shadow-sm: 0 2px 8px rgba(92, 64, 51, 0.08);
  --shadow-md: 0 4px 16px rgba(92, 64, 51, 0.12);
  --shadow-lg: 0 8px 32px rgba(92, 64, 51, 0.16);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-heading: 'ZCOOL KuaiLe', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 42px);
  color: var(--color-text-dark);
  text-align: center;
  margin-bottom: 12px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: 16px;
  margin-bottom: 40px;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 251, 246, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: none;
  transition: var(--transition);
  padding: 12px 0;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-primary-dark);
}

.logo-icon {
  font-size: 32px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
  border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-dark);
  transition: var(--transition);
  border-radius: 1px;
}

/* ===== Cart Icon ===== */
.cart-icon {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
  transition: var(--transition);
}

.cart-icon:hover {
  transform: scale(1.1);
}

.cart-emoji {
  font-size: 24px;
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-danger);
  color: white;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.cart-badge.visible {
  transform: scale(1);
  animation: badgePulse 0.3s ease;
}

@keyframes badgePulse {
  0% { transform: scale(0); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ===== Hero Section ===== */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.carousel {
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(62, 39, 35, 0.5) 0%, rgba(212, 165, 116, 0.3) 100%);
}

.carousel-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 20px;
  max-width: 800px;
}

.hero-slogan {
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 56px);
  margin-bottom: 16px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  margin-bottom: 32px;
  opacity: 0.95;
  font-weight: 300;
}

.carousel-dots {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-prev {
  left: 30px;
}

.carousel-next {
  right: 30px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  box-shadow: 0 4px 16px rgba(232, 168, 124, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 168, 124, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
}

.btn-cart {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-accent));
  color: white;
  box-shadow: 0 2px 8px rgba(213, 137, 106, 0.3);
  border: none;
}

.btn-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(213, 137, 106, 0.4);
}

/* ===== Product Button Group ===== */
.product-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 4px;
}

/* ===== Products Section ===== */
.products-section {
  padding: 80px 0;
  background: var(--color-bg);
}

.product-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid var(--color-primary-light);
  background: transparent;
  color: var(--color-text);
  font-size: 16px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.product-grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-grid.active {
  display: grid;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
  text-align: center;
}

.product-info h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.product-info p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 12px;
  margin-right: 8px;
}

.badge.limited {
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
  color: #c2185b;
}

/* ===== Features Section ===== */
.features-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-warm), var(--color-cream));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.feature-card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== About Section ===== */
.about-section {
  padding: 80px 0;
  background: var(--color-bg);
}

.about-content {
  margin-top: 48px;
}

.story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.story-text {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.story-text h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  text-align: center;
}

.story-text p {
  color: var(--color-text);
  line-height: 2;
  font-size: 16px;
}

.store-gallery h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  text-align: center;
}

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

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-warm), var(--color-cream));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.contact-card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

.contact-card p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 6px;
}

.contact-card .address-detail,
.contact-card .time-detail,
.contact-card .phone-detail {
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
}

.contact-card .note {
  margin-top: 12px;
  font-style: italic;
  color: var(--color-primary-dark);
}

.wechat-hint {
  color: var(--color-text-light);
  font-size: 13px;
  margin-bottom: 16px;
}

.qr-placeholder {
  background: var(--color-bg-alt);
  padding: 20px;
  border-radius: var(--radius-md);
  display: inline-block;
}

.qr-icon {
  background: white;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
}

.qr-label {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-light);
}

.map-placeholder {
  background: white;
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.map-placeholder p {
  color: var(--color-text-light);
  font-size: 16px;
}

.map-placeholder .map-hint {
  font-size: 13px;
  margin-top: 8px;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-text-dark);
  color: var(--color-secondary);
  padding: 48px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-logo {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 28px;
  display: inline-block;
  margin-bottom: 12px;
}

.footer-slogan {
  color: var(--color-text-light);
  font-size: 14px;
  font-style: italic;
}

.footer-links h4,
.footer-info h4,
.footer-social h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--color-primary-light);
}

.footer-links a {
  color: var(--color-text-light);
  display: block;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-info p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 6px;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition);
}

.social-icon:hover {
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-light);
  font-size: 13px;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(62, 39, 35, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  display: flex;
}

.modal-overlay.confirm-overlay {
  z-index: 2100;
}

.modal {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalSlide 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-text-light);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--color-text-dark);
}

.modal-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.modal h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.modal-text {
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.modal-info {
  background: var(--color-bg-alt);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.modal-info p {
  margin-bottom: 6px;
  font-size: 14px;
}

.modal-hint {
  color: var(--color-primary-dark);
  margin-bottom: 20px;
  font-size: 14px;
}

/* ===== Spec Modal ===== */
.spec-modal {
  max-width: 520px;
  text-align: left;
}

.spec-modal h3 {
  text-align: center;
  margin-bottom: 24px;
}

.spec-group {
  margin-bottom: 20px;
}

.spec-group-title {
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 10px;
  font-size: 15px;
}

.spec-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-option {
  padding: 8px 18px;
  border: 2px solid var(--color-primary-light);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  user-select: none;
}

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

.spec-option.selected {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.spec-modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-bg-alt);
}

.spec-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 2px solid var(--color-primary);
  background: white;
  color: var(--color-primary-dark);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--color-primary);
  color: white;
}

#qtyValue {
  font-weight: 700;
  font-size: 16px;
  min-width: 24px;
  text-align: center;
}

.spec-modal-actions .btn-primary {
  padding: 10px 28px;
}

/* ===== Confirm Modal ===== */
.confirm-modal {
  max-width: 400px;
}

.confirm-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.cart-danger-btn {
  background: var(--color-danger);
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
}

.cart-danger-btn:hover {
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* ===== About Preview (Homepage) ===== */
.about-preview-section {
  padding: 80px 0;
  background: var(--color-bg-alt);
}

.about-preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 20px;
}

.about-preview-text {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
}

.about-preview-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  border: none;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ===== Page Hero (for sub pages) ===== */
.navbar-solid {
  box-shadow: var(--shadow-sm);
}

.page-hero {
  padding: 140px 20px 60px;
  text-align: center;
  position: relative;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 6vw, 56px);
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 12px;
}

.page-hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 300;
}

/* ===== Product Detail Page ===== */
.detail-page {
  padding: 120px 0 60px;
  background: var(--color-bg);
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.detail-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.detail-info {
  padding: 20px 0;
}

.detail-category {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.detail-name {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 36px);
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

.detail-desc {
  color: var(--color-text-light);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.detail-price {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
}

.detail-price::before {
  content: '楼 ';
  font-size: 20px;
}

.detail-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.detail-actions .btn-primary {
  flex: 1;
  min-width: 140px;
  text-align: center;
}

.detail-actions .btn-buy-now {
  flex: 1;
  min-width: 140px;
  background: linear-gradient(135deg, #c9956a, #e8a87c);
  color: white;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  box-shadow: 0 4px 16px rgba(201, 149, 106, 0.4);
}

.detail-actions .btn-buy-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 149, 106, 0.5);
  background: linear-gradient(135deg, #b8865a, #d4a574);
}

.detail-actions .btn-add-cart {
  flex: 1;
  min-width: 140px;
  background: white;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary);
  padding: 12px 36px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.detail-actions .btn-add-cart:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232, 168, 124, 0.3);
}

.detail-specs {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 20px;
}

.specs-title {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

/* ===== Cart Page ===== */
.cart-page {
  padding: 40px 0 80px;
  background: var(--color-bg);
  min-height: 60vh;
}

.cart-empty {
  text-align: center;
  padding: 80px 20px;
}

.cart-empty-icon {
  font-size: 80px;
  margin-bottom: 24px;
}

.cart-empty h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.cart-empty p {
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.cart-list {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 32px;
}

.cart-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 80px;
  padding: 16px 20px;
  background: var(--color-bg-alt);
  font-weight: 600;
  color: var(--text-light);
  font-size: 14px;
  gap: 16px;
}

.cart-col-product {
  color: var(--color-text-dark);
}

.cart-col-price {
  color: var(--color-text-dark);
}

.cart-col-qty {
  color: var(--color-text-dark);
}

.cart-col-subtotal {
  color: var(--color-text-dark);
}

.cart-col-action {
  color: var(--color-text-dark);
}

.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 80px;
  padding: 20px;
  border-bottom: 1px solid var(--color-bg-alt);
  align-items: center;
  gap: 16px;
}

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

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

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

.cart-item-name {
  font-weight: 600;
  color: var(--color-text-dark);
  font-size: 15px;
}

.cart-item-spec {
  color: var(--color-text-light);
  font-size: 13px;
  margin-bottom: 16px;
}

/* ===== Centered Login Page ===== */
.login-center-section {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-warm) 100%);
}

.login-center-container {
  width: 100%;
  max-width: 900px;
}

.login-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.login-brand {
  text-align: center;
  margin-bottom: 28px;
}

.brand-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 8px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-primary-dark);
  margin: 0;
}

/* 鏍囩鍒囨崲 */
.login-tabs {
  display: flex;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 28px;
  gap: 4px;
}

.login-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  white-space: nowrap;
}

.login-tab .tab-icon {
  font-size: 18px;
}

.login-tab.active {
  background: white;
  color: var(--color-text-dark);
  box-shadow: 0 2px 10px rgba(92, 64, 51, 0.1);
  font-weight: 600;
}

.login-tab:hover:not(.active) {
  color: var(--color-text);
}

/* 鐧诲綍闈㈡澘 */
.login-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.login-panel.active {
  display: block;
}

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

.login-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

  .form-input {
    max-width: 900px;
    padding: 14px 16px;
    border: 2px solid var(--color-secondary);
    border-radius: var(--radius-sm);
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    width: 100%;
    color: var(--color-text-dark);
    background: var(--color-bg);
  }

.form-input:focus {
  border-color: var(--color-primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(232, 168, 124, 0.15);
}

.form-input::placeholder {
  color: var(--color-text-light);
}

.form-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }

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

.btn-code {
  padding: 0 20px;
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-weight: 500;
  min-width: 110px;
}

.btn-code:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

.btn-code:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-login {
  padding: 16px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 4px;
  border-radius: var(--radius-sm);
  width: 100%;
}

.form-extra {
  justify-content: center;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-text-light);
  cursor: pointer;
}

.checkbox-label input {
  cursor: pointer;
}

.forgot-link,
.register-link,
.action-link {
  color: var(--color-primary-dark);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-link:hover,
.register-link:hover {
  color: var(--color-text-dark);
}

.form-hint {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.8;
}

.form-hint .register-link {
  font-weight: 500;
}

.pwd-row {
  position: relative;
}

.toggle-pwd {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 0;
  line-height: 1;
}

@media (max-width: 480px) {
  .login-card {
    padding: 32px 24px;
    border-radius: var(--radius-md);
  }

  .login-tab {
    padding: 12px 10px;
    font-size: 14px;
  }

  .login-tab .tab-text {
    font-size: 13px;
  }

  .brand-icon {
    font-size: 40px;
  }

  .brand-name {
    font-size: 24px;
  }
}


.cart-item-price {
  color: var(--color-text);
  font-weight: 500;
}

.cart-item-price::before {
  content: '楼 ';
  font-size: 13px;
}

.cart-qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-primary-light);
  background: white;
  color: var(--color-primary-dark);
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-qty-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.cart-qty-value {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
  font-size: 15px;
}

.cart-item-subtotal {
  color: var(--color-text-dark);
  font-weight: 600;
}

.cart-item-subtotal::before {
  content: '楼 ';
  font-size: 13px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  font-size: 20px;
  transition: var(--transition);
  padding: 4px;
}

.cart-item-remove:hover {
  color: var(--color-danger);
}

.cart-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cart-pickup-info {
  background: white;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.cart-pickup-info h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.cart-pickup-info > p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 16px;
}

.pickup-details p {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--color-text);
}

.cart-summary-right {
  background: white;
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-bg-alt);
}

.cart-total-label {
  font-size: 16px;
  color: var(--color-text-dark);
  font-weight: 600;
}

.cart-total-price {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-primary-dark);
}

.cart-tip {
  color: var(--color-text-light);
  font-size: 13px;
  margin-bottom: 20px;
}

.cart-summary-right .btn {
  width: 100%;
  margin-bottom: 10px;
}

.cart-clear-btn {
  color: var(--color-text-light);
  border-color: var(--color-primary-light);
}

.cart-clear-btn:hover {
  border-color: var(--color-danger);
  color: var(--color-danger);
  background: transparent;
}

/* ===== About Page ===== */
.about-page-section {
  padding: 80px 0;
  background: var(--color-bg);
}

.brand-story {
  margin-bottom: 80px;
}

.brand-story-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.brand-story-text {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: center;
}

.brand-story-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 32px);
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

.brand-story-text p {
  color: var(--color-text);
  line-height: 2;
  font-size: 16px;
}

/* Brand Philosophy */
.brand-philosophy {
  text-align: center;
  margin-bottom: 80px;
}

.brand-philosophy h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 32px);
  color: var(--color-text-dark);
  margin-bottom: 40px;
}

.brand-philosophy h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 2px;
  margin: 12px auto 0;
}

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

.philosophy-card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.philosophy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.philosophy-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.philosophy-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.philosophy-card p {
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* Timeline */
.timeline-section {
  margin-bottom: 80px;
}

.timeline-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 32px);
  color: var(--color-text-dark);
  text-align: center;
  margin-bottom: 48px;
}

.timeline-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 2px;
  margin: 12px auto 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-primary-light);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  border: 4px solid var(--color-bg);
}

.timeline-content {
  width: 45%;
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.timeline-year {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--color-text-light);
  font-size: 14px;
  line-height: 1.7;
}

/* Gallery Large */
.store-gallery-section {
  text-align: center;
  margin-bottom: 80px;
}

.store-gallery-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 32px);
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.store-gallery-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 2px;
  margin: 12px auto 0;
}

.gallery-subtitle {
  color: var(--color-text-light);
  margin-bottom: 32px;
  font-size: 16px;
}

.gallery-grid-large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item-large {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.gallery-item-large:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-item-large img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: white;
  font-size: 14px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item-large:hover .gallery-caption {
  opacity: 1;
}

/* Team Section */
.team-section {
  text-align: center;
  margin-bottom: 40px;
}

.team-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 32px);
  color: var(--color-text-dark);
  margin-bottom: 48px;
}

.team-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 2px;
  margin: 12px auto 0;
}

.team-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--color-primary-light);
}

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

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.team-role {
  color: var(--color-primary-dark);
  font-weight: 500;
  margin-bottom: 16px;
  font-size: 14px;
}

.team-quote {
  color: var(--color-text-light);
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-content {
    grid-template-columns: 1fr;
  }

  .detail-image {
    position: static;
  }

  .detail-image img {
    height: 360px;
  }

  .cart-header {
    display: none;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cart-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(255, 251, 246, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 80px 40px;
    gap: 24px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 18px;
  }

  .hero-slogan {
    font-size: 32px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .carousel-prev {
    left: 15px;
  }

  .carousel-next {
    right: 15px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .about-preview-content {
    grid-template-columns: 1fr;
  }

  .about-preview-image img {
    height: 260px;
  }

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

  .gallery-grid-large {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .timeline::before {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-left: 50px;
  }

  .timeline-content {
    width: 100%;
  }

  .team-cards {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .story-image img {
    height: 280px;
  }

  .modal {
    padding: 24px;
    margin: 20px;
  }

  .detail-actions {
    flex-direction: column;
  }

  .detail-actions .btn {
    width: 100%;
    text-align: center;
  }

  .spec-modal-actions {
    flex-direction: column;
    gap: 16px;
  }

  .spec-modal-actions .btn-primary {
    width: 100%;
  }

  .confirm-buttons {
    flex-direction: column;
  }

  .confirm-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 28px;
  }

  .hero-slogan {
    font-size: 26px;
  }

  .btn {
    padding: 12px 28px;
    font-size: 14px;
  }

  .tab-btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .product-image {
    height: 200px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .detail-image img {
    height: 280px;
  }

  .product-btns {
    flex-direction: column;
  }
}

/* ===== Spec Modal ===== */
.spec-modal {
  max-width: 520px;
}

.spec-modal h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

.spec-group {
  margin-bottom: 20px;
}

.spec-group-title {
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 10px;
  font-size: 14px;
}

.spec-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-option {
  padding: 8px 18px;
  border: 2px solid var(--color-primary-light);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  color: var(--color-text);
  background: transparent;
}

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

.spec-option.selected {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.spec-modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-primary-light);
}

.spec-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary-dark);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--color-primary);
  color: white;
}

#qtyValue {
  font-weight: 600;
  font-size: 18px;
  min-width: 30px;
  text-align: center;
}

/* ===== Profile Page ===== */
.profile-section {
  padding: 60px 0;
  background: var(--color-bg);
}

.profile-login-prompt {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--color-warm), var(--color-cream));
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
}

.profile-avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: white;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.profile-icon {
  font-size: 48px;
}

.profile-login-prompt h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.profile-login-prompt > p {
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.profile-login-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.login-method-card {
  background: white;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.login-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.login-method-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.login-method-card > p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 20px;
}

.wechat-qr-area {
  background: var(--color-bg-alt);
  padding: 20px;
  border-radius: var(--radius-md);
  display: inline-block;
}

.qr-placeholder-small {
  background: white;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
}

.qr-hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-light);
}

.phone-login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-input {
  padding: 12px 16px;
  border: 2px solid var(--color-primary-light);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-body);
}

.profile-input:focus {
  border-color: var(--color-primary);
}

.code-input-row {
  display: flex;
  gap: 10px;
}

.code-input {
  flex: 1;
}

.send-code-btn {
  padding: 12px 20px;
  white-space: nowrap;
}

.login-btn {
  margin-top: 8px;
}

.account-login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pwd-input-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.forget-pwd {
  color: var(--color-primary-dark);
  font-size: 13px;
  align-self: flex-end;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-light);
}

.register-link {
  color: var(--color-primary-dark);
}

.register-link:hover,
.forget-pwd:hover {
  color: var(--color-text-dark);
}

.profile-features {
  text-align: center;
  margin-bottom: 48px;
}

.profile-features h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-text-dark);
  margin-bottom: 32px;
}

.profile-feature {
  cursor: pointer;
}

.profile-feature:hover {
  transform: translateY(-8px);
}

.profile-membership {
  margin-bottom: 48px;
}

.membership-card {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  padding: 32px;
  border-radius: var(--radius-lg);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.membership-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 8px;
}

.membership-level {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: white;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.progress-text {
  font-size: 12px;
  opacity: 0.9;
}

.membership-benefits h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 16px;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.benefit-icon {
  font-size: 20px;
}

.profile-stores {
  margin-bottom: 48px;
}

.profile-stores h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

.store-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.store-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.store-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.store-card-header h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-text-dark);
  margin: 0;
}

.store-badge {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
}

.store-card > p {
  color: var(--color-text-light);
  font-size: 14px;
  margin-bottom: 6px;
}

.store-time {
  color: var(--color-text-light);
  font-size: 13px;
  margin-bottom: 16px;
}

.profile-recommendations {
  text-align: center;
}

.profile-recommendations h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--color-text-dark);
  margin-bottom: 32px;
}

/* ===== Profile Page Responsive ===== */
@media (max-width: 768px) {
  .profile-login-options {
    grid-template-columns: 1fr;
  }
  
  .membership-card {
    grid-template-columns: 1fr;
  }
  
  .store-cards {
    grid-template-columns: 1fr;
  }
  
  .benefits-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .spec-modal-actions {
    flex-direction: column;
    gap: 16px;
  }
  
  .btn-sm {
    padding: 8px 16px;
    font-size: 13px;
  }
}



