/* ==========================================
   绍兴智洁洗涤用品科技有限公司 - 官方网站
   Design inspired by pg.com.cn
   ========================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6B3FA0;
  --primary-light: #9B7FCC;
  --primary-dark: #4A2D70;
  --secondary: #F5A623;
  --secondary-light: #FFD080;
  --secondary-dark: #C47F0A;
  --accent-green: #5DAE5F;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --danger: #ef4444;
  --success: #22c55e;
  --warning: #f59e0b;
  --info: #3b82f6;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 40px -5px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: inherit;
  transition: var(--transition);
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 10px 14px;
  outline: none;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107, 63, 160, 0.15);
}

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

/* --- Header & Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* Logo image handled by .logo-img class */

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  position: relative;
  background: none;
  font-size: 1.3rem;
  color: var(--gray-600);
  padding: 8px;
}

.cart-btn:hover {
  color: var(--primary);
}

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

.cart-badge:empty,
.cart-badge[data-count="0"] {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-1px);
}

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

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

.btn-sm {
  padding: 6px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1rem;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-success:hover {
  background: #16a34a;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  font-size: 1.5rem;
  color: var(--gray-700);
  padding: 8px;
}

/* --- Hero Section --- */
.hero {
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  height: 600px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.hero-text {
  flex: 1;
  max-width: 520px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,0.7);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.hero-slide-yellow .hero-title {
  color: var(--gray-900);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.hero-image {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-visual {
  width: 300px;
  height: 380px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-product-visual.purple {
  background: linear-gradient(180deg, #9B6FCF 0%, #7B4FB0 50%, #5C2D91 100%);
  box-shadow: 0 20px 60px rgba(107, 63, 160, 0.3);
}

.hero-product-visual.yellow {
  background: linear-gradient(180deg, #FFD060 0%, #F5A623 50%, #E08F00 100%);
  box-shadow: 0 20px 60px rgba(245, 166, 35, 0.3);
}

.hero-product-visual .product-label {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 1.2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-product-visual .bottle-shape {
  width: 120px;
  height: 220px;
  border-radius: 20px 20px 30px 30px;
  position: relative;
}

.hero-product-visual .bottle-shape::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 25px;
  border-radius: 6px 6px 0 0;
}

.hero-product-visual.purple .bottle-shape {
  background: linear-gradient(180deg, #B088D4, #8B5FC0);
}

.hero-product-visual.purple .bottle-shape::before {
  background: #7B4FB0;
}

.hero-product-visual.yellow .bottle-shape {
  background: linear-gradient(180deg, #FFD86B, #F0A020);
}

.hero-product-visual.yellow .bottle-shape::before {
  background: #E09000;
}

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

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

.hero-dot.active {
  background: var(--primary);
  border-color: var(--primary);
  width: 32px;
  border-radius: 6px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 1.2rem;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.hero-arrow:hover {
  background: white;
  box-shadow: var(--shadow);
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

/* --- Section Styles --- */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 20px;
  background: var(--gray-100);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Brand Story --- */
.brand-story {
  background: var(--gray-50);
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.brand-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-image-inner {
  text-align: center;
  color: white;
  padding: 40px;
}

.brand-image-inner .brand-year {
  font-size: 4rem;
  font-weight: 800;
  opacity: 0.3;
  margin-bottom: -20px;
}

.brand-image-inner .brand-name-large {
  font-size: 2.5rem;
  font-weight: 800;
}

.brand-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.brand-info p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}

.brand-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* --- Product Cards --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

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

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

.product-card-image {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card-image.lavender {
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff, #d8b4fe);
}

.product-card-image.lemon {
  background: linear-gradient(135deg, #fefce8, #fef08a, #fde047);
}

.product-card-image.bundle {
  background: linear-gradient(135deg, #f0fdf4, #bbf7d0, #86efac);
}

.product-visual {
  width: 140px;
  height: 200px;
  border-radius: 16px 16px 24px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  padding: 16px;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.product-visual.purple-bottle {
  background: linear-gradient(180deg, #B088D4, #7B4FB0);
}

.product-visual.yellow-bottle {
  background: linear-gradient(180deg, #FFD86B, #E8A010);
}

.product-visual.green-bottle {
  background: linear-gradient(180deg, #86efac, #22c55e);
}

.product-visual::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 20px;
  border-radius: 5px 5px 0 0;
  background: inherit;
  filter: brightness(0.85);
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
}

.badge-hot {
  background: var(--danger);
}

.badge-new {
  background: var(--success);
}

.badge-sale {
  background: var(--secondary);
}

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

.product-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--gray-900);
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--danger);
}

.product-price .currency {
  font-size: 0.85rem;
}

.product-price .original {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-icon.purple {
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
}

.feature-icon.green {
  background: linear-gradient(135deg, #f0fdf4, #bbf7d0);
}

.feature-icon.blue {
  background: linear-gradient(135deg, #eff6ff, #bfdbfe);
}

.feature-icon.orange {
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- Product Detail Page --- */
.product-detail {
  margin-top: 72px;
  padding: 60px 0;
}

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

.product-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-gallery.lavender-bg {
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff, #d8b4fe);
}

.product-gallery.lemon-bg {
  background: linear-gradient(135deg, #fefce8, #fef08a, #fde047);
}

.product-gallery .product-visual-large {
  width: 200px;
  height: 300px;
  border-radius: 20px 20px 30px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.product-detail-info h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.product-detail-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.product-detail-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: 24px;
}

.product-detail-price .currency {
  font-size: 1.2rem;
}

.product-detail-features {
  margin-bottom: 32px;
}

.product-detail-features h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-700);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-tag {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.feature-tag.purple {
  background: #f3e8ff;
  color: var(--primary);
}

.feature-tag.yellow {
  background: #fef3c7;
  color: var(--secondary-dark);
}

.feature-tag.green {
  background: #f0fdf4;
  color: var(--accent-green);
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
}

.quantity-selector label {
  font-weight: 600;
  margin-right: 16px;
  color: var(--gray-700);
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-300);
  background: var(--gray-50);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
}

.qty-btn:first-of-type {
  border-radius: var(--radius) 0 0 var(--radius);
}

.qty-btn:last-of-type {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.qty-btn:hover {
  background: var(--gray-200);
}

.qty-input {
  width: 60px;
  height: 40px;
  text-align: center;
  border-radius: 0;
  border-left: none;
  border-right: none;
  font-weight: 600;
}

.product-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.product-detail-desc {
  border-top: 1px solid var(--gray-200);
  padding-top: 32px;
}

.product-detail-desc h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

.detail-section h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.detail-section p {
  color: var(--gray-600);
  line-height: 1.8;
}

.detail-section ul {
  padding-left: 20px;
}

.detail-section ul li {
  list-style: disc;
  color: var(--gray-600);
  margin-bottom: 6px;
  line-height: 1.6;
}

/* --- Ingredients Showcase --- */
.ingredients-section {
  background: var(--gray-50);
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.ingredient-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.ingredient-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.ingredient-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.ingredient-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- Testimonial Section --- */
.testimonial-section {
  background: linear-gradient(135deg, #f5f0ff, #ede5ff);
}

.testimonial-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 700;
  color: var(--gray-900);
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* --- Cart Page --- */
.cart-page {
  margin-top: 72px;
  min-height: calc(100vh - 72px);
  padding: 40px 0;
}

.page-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 32px;
  color: var(--gray-900);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.cart-items {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--gray-100);
  gap: 20px;
}

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

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-image.lavender {
  background: linear-gradient(135deg, #f3e8ff, #d8b4fe);
}

.cart-item-image.lemon {
  background: linear-gradient(135deg, #fefce8, #fde047);
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-item-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.cart-item-price {
  font-weight: 700;
  color: var(--danger);
  margin-right: 20px;
  white-space: nowrap;
}

.cart-item-remove {
  background: none;
  color: var(--gray-400);
  font-size: 1.2rem;
  padding: 8px;
}

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

.cart-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--gray-400);
}

.cart-empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.cart-summary {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 24px;
  position: sticky;
  top: 100px;
}

.cart-summary h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.summary-row.total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
  border-top: 2px solid var(--gray-200);
  padding-top: 16px;
  margin-top: 16px;
}

.summary-row.total .amount {
  color: var(--danger);
}

.checkout-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
}

/* --- Order/Checkout Form --- */
.checkout-page {
  margin-top: 72px;
  min-height: calc(100vh - 72px);
  padding: 40px 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.form-section {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 32px;
  margin-bottom: 24px;
}

.form-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --- Orders Page --- */
.orders-page {
  margin-top: 72px;
  min-height: calc(100vh - 72px);
  padding: 40px 0;
}

.orders-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 4px;
  width: fit-content;
}

.orders-tab {
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  background: transparent;
  color: var(--gray-600);
}

.orders-tab.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.order-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  margin-bottom: 16px;
  overflow: hidden;
}

.order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.order-id {
  font-weight: 700;
  color: var(--gray-900);
}

.order-date {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.order-status {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-processing {
  background: #dbeafe;
  color: #1e40af;
}

.status-shipped {
  background: #e0e7ff;
  color: #3730a3;
}

.status-delivered {
  background: #dcfce7;
  color: #166534;
}

.status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.order-body {
  padding: 20px;
}

.order-items-list {
  margin-bottom: 16px;
}

.order-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.order-item-name {
  font-weight: 500;
}

.order-item-qty {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.order-item-price {
  font-weight: 600;
  color: var(--gray-900);
}

.order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.order-total {
  font-weight: 800;
  font-size: 1.1rem;
}

.order-total .amount {
  color: var(--danger);
}

.order-actions {
  display: flex;
  gap: 8px;
}

/* --- Admin Page --- */
.admin-page {
  margin-top: 72px;
  min-height: calc(100vh - 72px);
  padding: 40px 0;
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
}

.admin-sidebar {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 20px 0;
  position: sticky;
  top: 100px;
  height: fit-content;
}

.admin-sidebar h3 {
  padding: 0 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.95rem;
  color: var(--gray-600);
  font-weight: 500;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: var(--gray-50);
  color: var(--primary);
}

.admin-nav a.active {
  border-left: 3px solid var(--primary);
}

.admin-content {
  min-width: 0;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 24px;
}

.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.stat-card .stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-900);
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* Admin Table */
.admin-table-wrap {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.admin-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.admin-table-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.admin-table-filters {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-table-filters select,
.admin-table-filters input {
  padding: 8px 12px;
  font-size: 0.85rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 12px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.admin-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
}

.admin-table tr:hover {
  background: var(--gray-50);
}

.admin-table .order-status {
  display: inline-block;
}

.action-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-700);
  margin-right: 4px;
}

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

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: white;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 32px;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.modal-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  font-size: 1.5rem;
  color: var(--gray-400);
  padding: 4px;
}

.modal-close:hover {
  color: var(--gray-700);
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 30px;
}

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

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gray-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* --- Toast Notification --- */
.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: white;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  min-width: 280px;
  border-left: 4px solid var(--success);
}

.toast.show {
  transform: translateX(0);
}

.toast.error {
  border-left-color: var(--danger);
}

.toast.info {
  border-left-color: var(--info);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-slider {
    height: auto;
  }

  .hero-slide {
    position: relative;
    padding: 60px 0;
  }

  .hero-slide:not(.active) {
    display: none;
  }

  .hero-image {
    display: none;
  }

  .hero-content {
    padding: 0 40px;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .brand-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

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

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

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

  .mobile-toggle {
    display: block;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

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

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

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

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

  .admin-stats {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .admin-table {
    font-size: 0.8rem;
  }

  .admin-table th,
  .admin-table td {
    padding: 10px 12px;
  }

  .order-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .order-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* --- Real Image Styles --- */
.hero-product-img {
  height: 400px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.25));
  transition: transform 0.6s cubic-bezier(0.34,1.56,0.64,1);
  animation: floatProduct 4s ease-in-out infinite;
}

.hero-product-img:hover {
  transform: scale(1.08) rotate(2deg);
}

@keyframes floatProduct {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

.product-card-img {
  height: 220px;
  width: auto;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.08) translateY(-4px);
}

.product-detail-img {
  height: 420px;
  width: auto;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.15));
}

.ingredient-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 50%;
}

img.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: block;
}

/* --- Logo Image --- */
.logo-img {
  height: 38px;
  width: auto;
}

/* --- Feature Cards V2 --- */
.feature-card-v2 {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.feature-num {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.feature-card-v2 h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card-v2 p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Pain Point Tags --- */
.pain-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.pain-tag.purple {
  background: rgba(123,63,168,0.12);
  color: #7B3FA8;
}
.pain-tag.yellow {
  background: rgba(216,144,16,0.12);
  color: #D89010;
}

/* --- Certification Badges --- */
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: white;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cert-badge::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

/* --- Reviews Scroll --- */
.reviews-scroll-wrapper {
  overflow: hidden;
  padding: 0 0 20px;
  position: relative;
}
.reviews-scroll-wrapper::before,
.reviews-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.reviews-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, white, transparent);
}
.reviews-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, white, transparent);
}
.reviews-scroll-track {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  margin-bottom: 16px;
  width: max-content;
  will-change: transform;
  animation: scrollReviews 80s linear infinite;
}
.reviews-scroll-track.reverse {
  animation: scrollReviewsReverse 75s linear infinite;
}
.reviews-scroll-track:hover {
  animation-play-state: paused;
}
@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollReviewsReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.review-card {
  flex-shrink: 0;
  width: 300px;
  background: var(--gray-50);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--gray-100);
  transition: transform 0.3s, box-shadow 0.3s;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.review-avatar {
  font-size: 2rem;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
  border-radius: 50%;
}
.review-body {
  flex: 1;
  min-width: 0;
}
.review-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2px;
}
.review-stars {
  font-size: 0.7rem;
  color: #f59e0b;
  margin-bottom: 6px;
  letter-spacing: 2px;
}
.review-text {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none !important; }
