/* =========================================
   MBEWA SOAPS – STYLES.CSS
   Aesthetic: Warm Luxe / Nairobi Botanica
   ========================================= */

/* --- CSS VARIABLES --- */
:root {
  --primary: #C45C3A;
  --primary-dark: #A04830;
  --primary-light: #F2A98C;
  --accent-rose: #E8759A;
  --accent-teal: #3ABDC4;
  --accent-gold: #E8B84B;
  --accent-mint: #7FC9B2;
  --bg: #FFFAF5;
  --surface: #FFF3EA;
  --surface-2: #FFE8D6;
  --dark: #1A1208;
  --dark-2: #2C1E0E;
  --text: #2C1E0E;
  --text-muted: #8B6E57;
  --border: #F0DCCF;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow: 0 4px 24px rgba(44, 30, 14, 0.08);
  --shadow-lg: 0 16px 48px rgba(44, 30, 14, 0.14);
  --shadow-card: 0 2px 12px rgba(44, 30, 14, 0.06);
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* --- UTILITY --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.95rem; transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: var(--white);
  box-shadow: 0 4px 16px rgba(196, 92, 58, 0.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196, 92, 58, 0.4); }
.btn-outline {
  border: 2px solid var(--primary); color: var(--primary); background: transparent;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-full { width: 100%; justify-content: center; }

.section-header {
  text-align: center; margin-bottom: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.section-tag {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--primary);
  background: var(--surface-2); padding: 6px 16px;
  border-radius: var(--radius-full); display: inline-block;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700; line-height: 1.2; color: var(--dark);
}
.section-title em { color: var(--primary); font-style: normal; }
.section-sub { color: var(--text-muted); max-width: 520px; text-align: center; }
.view-all-link {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--primary); font-weight: 600;
  transition: gap 0.2s;
}
.view-all-link:hover { text-decoration: underline; }
.section-header { position: relative; }

/* --- NAVBAR --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 250, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1200px; margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo-bubble {
  width: 40px; height: 40px;
  background: var(--primary); color: white;
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.logo-sub { font-size: 0.65rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.5px; }
.nav-links {
  display: flex; gap: 36px;
}
.nav-links a {
  font-weight: 500; font-size: 0.9rem; color: var(--text-muted);
  transition: color 0.2s; position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: width 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all 0.2s;
}
.icon-btn:hover { background: var(--surface); color: var(--primary); }
.cart-btn { position: relative; }
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--primary); color: white;
  font-size: 0.6rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.search-bar {
  display: none; padding: 12px 24px;
  border-top: 1px solid var(--border);
  background: var(--white); gap: 12px;
  align-items: center;
}
.search-bar.open { display: flex; }
.search-bar input {
  flex: 1; padding: 10px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-full); outline: none; font-size: 0.95rem;
  transition: border-color 0.2s;
}
.search-bar input:focus { border-color: var(--primary); }
.search-bar button {
  color: var(--text-muted); font-size: 1.2rem;
  padding: 8px; border-radius: 8px;
}
.search-bar button:hover { color: var(--primary); }

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 48px;
  padding: 120px 80px 80px;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
}
.blob1 { width: 400px; height: 400px; background: var(--primary-light); top: -80px; right: 10%; animation: blobFloat 8s ease-in-out infinite; }
.blob2 { width: 300px; height: 300px; background: var(--accent-gold); bottom: 10%; left: 5%; animation: blobFloat 10s ease-in-out infinite 2s; }
.blob3 { width: 250px; height: 250px; background: var(--accent-rose); top: 40%; right: 30%; animation: blobFloat 12s ease-in-out infinite 4s; }
@keyframes blobFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}
.dots-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(196,92,58,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 8px 18px; border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 600; color: var(--primary);
  margin-bottom: 24px; animation: fadeInUp 0.6s ease both;
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900; line-height: 1.05; color: var(--dark);
  margin-bottom: 20px; animation: fadeInUp 0.6s ease 0.1s both;
}
.hero-title em { color: var(--primary); font-style: italic; }
.hero-title-accent { color: var(--accent-teal); }
.hero-desc {
  font-size: 1.05rem; color: var(--text-muted); max-width: 480px;
  margin-bottom: 32px; animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; animation: fadeInUp 0.6s ease 0.3s both; }
.hero-stats { display: flex; align-items: center; gap: 24px; animation: fadeInUp 0.6s ease 0.4s both; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--dark); }
.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Visual */
.hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; animation: fadeInRight 0.8s ease 0.2s both; }
.hero-card-stack { position: relative; width: 360px; height: 400px; }
.hero-circle {
  width: 220px; height: 220px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-rose));
  display: flex; align-items: center; justify-content: center;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  box-shadow: 0 20px 60px rgba(196,92,58,0.4);
}
.hero-circle-text {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: white; text-align: center; line-height: 1.2;
}
.product-float-card {
  position: absolute; background: var(--white);
  border-radius: var(--radius); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg); animation: floatCard 3s ease-in-out infinite;
  min-width: 180px;
}
.card-a { top: 0; left: -20px; animation-delay: 0s; }
.card-b { bottom: 20px; right: -20px; animation-delay: 1s; }
.card-c { top: 50%; left: -30px; transform: translateY(-50%); animation-delay: 2s; }
.pfc-emoji { font-size: 2rem; }
.pfc-info { display: flex; flex-direction: column; }
.pfc-info strong { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.pfc-info span { font-size: 0.8rem; color: var(--primary); font-weight: 600; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.card-c { animation: floatCardMid 3s ease-in-out infinite 2s; }
@keyframes floatCardMid {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 8px)); }
}

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); animation: fadeIn 1s ease 1s both;
}
.scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, var(--text-muted), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.5); opacity: 0.5; } }

/* --- MARQUEE --- */
.marquee-strip {
  background: var(--dark); color: var(--white);
  padding: 16px 0; overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 48px;
  animation: marquee 20s linear infinite;
}
.marquee-track span { font-size: 0.85rem; font-weight: 500; letter-spacing: 1px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- CATEGORIES --- */
.category-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.cat-card {
  position: relative; border-radius: var(--radius-lg);
  padding: 40px 32px; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer; display: flex; flex-direction: column; gap: 16px;
  min-height: 260px; justify-content: flex-end;
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-cosmetics { background: linear-gradient(135deg, #FFE8D6, #FFD0B5); }
.cat-kids { background: linear-gradient(135deg, #D4F0F7, #B8E6F0); }
.cat-accessories { background: linear-gradient(135deg, #FFF0C8, #FFE08A); }
.cat-bg-shape {
  position: absolute; width: 200px; height: 200px; border-radius: 50%;
  top: -60px; right: -40px; opacity: 0.3;
}
.cat-cosmetics .cat-bg-shape { background: var(--primary); }
.cat-kids .cat-bg-shape { background: var(--accent-teal); }
.cat-accessories .cat-bg-shape { background: var(--accent-gold); }
.cat-icon { font-size: 3rem; position: relative; z-index: 1; }
.cat-info { position: relative; z-index: 1; }
.cat-info h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.cat-info p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.cat-link { font-weight: 600; font-size: 0.85rem; color: var(--primary); }

/* --- PRODUCTS GRID --- */
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; transition: all 0.3s; box-shadow: var(--shadow-card);
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img {
  width: 100%; height: 220px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; position: relative; overflow: hidden;
  transition: transform 0.4s;
}
.product-card:hover .product-img { transform: scale(1.04); }
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--primary); color: white;
  font-size: 0.7rem; font-weight: 600; padding: 4px 10px;
  border-radius: var(--radius-full);
}
.product-badge.new { background: var(--accent-teal); }
.product-badge.sale { background: var(--accent-rose); }
.product-wishlist {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px; border-radius: 50%;
  background: white; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}
.product-wishlist:hover { transform: scale(1.2); }
.product-info { padding: 16px; }
.product-cat { font-size: 0.72rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.product-name { font-weight: 600; font-size: 0.95rem; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.product-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.product-price { font-weight: 700; font-size: 1.05rem; color: var(--primary); font-family: var(--font-display); }
.product-price-old { text-decoration: line-through; color: var(--text-muted); font-size: 0.85rem; }
.product-stars { font-size: 0.75rem; color: var(--accent-gold); margin-bottom: 12px; }
.add-to-cart-btn {
  width: 100%; padding: 10px;
  background: var(--primary); color: white;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.85rem;
  transition: all 0.2s;
}
.add-to-cart-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* Products list view */
.products-grid.list-view { grid-template-columns: 1fr; }
.products-grid.list-view .product-card { display: flex; flex-direction: row; }
.products-grid.list-view .product-img { width: 180px; flex-shrink: 0; height: auto; min-height: 160px; }
.products-grid.list-view .product-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* --- WHY US --- */
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-text { display: flex; flex-direction: column; gap: 16px; }
.why-text p { color: var(--text-muted); max-width: 440px; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-item {
  display: flex; gap: 16px;
  background: var(--white); padding: 20px;
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.feature-icon { font-size: 1.8rem; flex-shrink: 0; }
.feature-item h4 { font-weight: 600; margin-bottom: 4px; }
.feature-item p { font-size: 0.82rem; color: var(--text-muted); }

/* --- TESTIMONIALS --- */
.testimonials { background: var(--dark); }
.testimonials .section-tag { background: rgba(255,255,255,0.1); color: var(--accent-gold); }
.testimonials .section-title { color: white; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 28px;
  transition: transform 0.3s;
}
.testi-card:hover { transform: translateY(-4px); }
.testi-card-featured { background: var(--primary); border-color: var(--primary); }
.testi-stars { color: var(--accent-gold); font-size: 0.9rem; margin-bottom: 12px; }
.testi-card p { color: rgba(255,255,255,0.8); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent-gold); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.testi-author > div { display: flex; flex-direction: column; }
.testi-author strong { color: white; font-size: 0.9rem; }
.testi-author span { color: rgba(255,255,255,0.5); font-size: 0.78rem; }

/* --- NEWSLETTER --- */
.newsletter {
  background: linear-gradient(135deg, var(--primary), #A04830);
  padding: 60px 0;
}
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.nl-text h3 { font-family: var(--font-display); font-size: 1.8rem; color: white; margin-bottom: 8px; }
.nl-text p { color: rgba(255,255,255,0.8); }
.nl-form { display: flex; gap: 12px; flex-wrap: wrap; }
.nl-form input {
  padding: 14px 20px; border-radius: var(--radius-full);
  border: none; outline: none; min-width: 280px;
  font-size: 0.95rem; background: rgba(255,255,255,0.95);
}
.nl-form .btn { background: var(--dark); color: white; border: none; }
.nl-form .btn:hover { background: #000; }

/* --- PAGE HEADER --- */
.page-header {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  padding: 140px 24px 60px; text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.5rem); color: var(--dark); margin-bottom: 12px; }
.page-header p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb span:not(a span) { color: var(--border); }

/* --- SHOP PAGE --- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.shop-sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-card);
}
.sidebar-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 16px; color: var(--dark); }
.filter-list { display: flex; flex-direction: column; gap: 4px; }
.filter-btn {
  text-align: left; padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--text-muted); transition: all 0.2s;
  width: 100%; font-weight: 500;
}
.filter-btn:hover { background: var(--surface); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: white; }
.price-range { display: flex; flex-direction: column; gap: 8px; }
.price-range input[type=range] {
  width: 100%; accent-color: var(--primary); cursor: pointer;
}
.price-labels { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); }
.sort-select {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); outline: none; font-size: 0.9rem;
  color: var(--text); background: var(--white); cursor: pointer;
}
.sort-select:focus { border-color: var(--primary); }
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.results-count { font-size: 0.85rem; color: var(--text-muted); }
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all 0.2s;
}
.view-btn:hover, .view-btn.active { background: var(--primary); color: white; }
.empty-state {
  text-align: center; padding: 80px 24px;
}
.empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-display); margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); }

/* --- ABOUT PAGE --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { }
.about-img-block { position: relative; }
.about-img-main {
  width: 100%; height: 400px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder { text-align: center; }
.about-img-placeholder .big-emoji { font-size: 5rem; display: block; margin-bottom: 12px; }
.about-img-placeholder p { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-muted); }
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--white); border-radius: var(--radius);
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
}
.about-img-badge span { font-size: 1.8rem; }
.about-img-badge div { display: flex; flex-direction: column; }
.about-img-badge strong { font-size: 0.85rem; font-weight: 600; }
.about-img-badge span:last-child { font-size: 0.75rem; color: var(--text-muted); }
.about-img-stat {
  position: absolute; top: -16px; left: -16px;
  background: var(--primary); color: white;
  border-radius: var(--radius); padding: 14px 18px;
  text-align: center; box-shadow: var(--shadow);
}
.about-img-stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; }
.about-img-stat span { font-size: 0.72rem; opacity: 0.9; }
.about-text { display: flex; flex-direction: column; gap: 16px; }
.about-text p { color: var(--text-muted); line-height: 1.75; }
.about-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.value-pill {
  background: var(--surface); color: var(--primary);
  padding: 8px 16px; border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 600; border: 1px solid var(--border);
}
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-card);
}
.mission-card.mission-primary { background: var(--primary); color: white; }
.mission-icon { font-size: 2.5rem; margin-bottom: 16px; }
.mission-card h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 12px; }
.mission-card p { font-size: 0.9rem; line-height: 1.65; opacity: 0.85; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; box-shadow: var(--shadow-card);
  transition: transform 0.3s;
}
.team-card:hover { transform: translateY(-6px); }
.team-avatar {
  width: 70px; height: 70px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 700;
  color: white; margin: 0 auto 16px;
}
.team-card h4 { font-weight: 700; margin-bottom: 4px; }
.team-card > span { font-size: 0.78rem; color: var(--primary); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; display: block; margin-bottom: 12px; }
.team-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 600px; margin: 0 auto; }
.timeline-item {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 32px; padding-bottom: 40px; position: relative;
}
.timeline-item::before {
  content: ''; position: absolute; left: 86px; top: 8px; bottom: 0;
  width: 2px; background: rgba(255,255,255,0.1);
}
.timeline-item:last-child::before { display: none; }
.timeline-year {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: var(--accent-gold); text-align: right;
  padding-top: 4px;
}
.timeline-content h4 { color: white; font-weight: 600; margin-bottom: 8px; }
.timeline-content p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* --- CONTACT PAGE --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 12px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 32px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-card {
  display: flex; gap: 16px;
  background: var(--white); padding: 18px 20px;
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}
.contact-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-card h4 { font-weight: 600; margin-bottom: 4px; }
.contact-card p { font-size: 0.85rem; color: var(--text-muted); }
.map-placeholder {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border-radius: var(--radius); height: 200px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.map-inner { text-align: center; }
.map-inner span { font-size: 2.5rem; display: block; margin-bottom: 8px; }
.map-inner p { font-weight: 600; color: var(--dark); }
.map-inner small { color: var(--text-muted); }
.form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-lg);
}
.form-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 8px; }
.form-card > p { color: var(--text-muted); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); outline: none;
  font-size: 0.9rem; transition: border-color 0.2s; background: var(--bg);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; }
.faq-grid { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.faq-q {
  width: 100%; padding: 18px 24px; text-align: left;
  font-weight: 600; font-size: 0.95rem; display: flex;
  justify-content: space-between; align-items: center;
  color: var(--dark); transition: background 0.2s;
}
.faq-q:hover { background: var(--surface); }
.faq-icon { font-size: 1.2rem; color: var(--primary); transition: transform 0.3s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px; max-height: 0; overflow: hidden;
  color: var(--text-muted); font-size: 0.9rem; line-height: 1.65;
  transition: all 0.3s ease;
}
.faq-a.open { padding: 0 24px 18px; max-height: 200px; }

/* --- CART PAGE --- */
.cart-section .container { }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.cart-items { }
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto auto;
  gap: 20px; align-items: center;
  background: var(--white); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}
.cart-item-img {
  width: 80px; height: 80px; border-radius: var(--radius-sm);
  background: var(--surface); display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}
.cart-item-info h4 { font-weight: 600; margin-bottom: 4px; }
.cart-item-info span { font-size: 0.82rem; color: var(--text-muted); }
.cart-qty {
  display: flex; align-items: center; gap: 8px;
}
.cart-qty button {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--surface); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; transition: background 0.2s;
}
.cart-qty button:hover { background: var(--primary); color: white; }
.cart-qty span { font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-price { font-family: var(--font-display); font-weight: 700; color: var(--primary); white-space: nowrap; }
.remove-btn { color: var(--text-muted); font-size: 1.1rem; padding: 4px 8px; border-radius: 6px; transition: all 0.2s; }
.remove-btn:hover { background: #FFE0E0; color: #E53935; }
.cart-summary {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-lg); position: sticky; top: 100px;
}
.cart-summary h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 20px; }
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text-muted);
}
.summary-row.total {
  border-bottom: none; margin-top: 8px; padding-top: 16px;
  font-size: 1.1rem; font-weight: 700; color: var(--dark);
}
.summary-row.total span:last-child { color: var(--primary); font-family: var(--font-display); font-size: 1.3rem; }
.coupon-row { display: flex; gap: 8px; margin: 16px 0; }
.coupon-row input {
  flex: 1; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); outline: none; font-size: 0.85rem;
}
.coupon-row input:focus { border-color: var(--primary); }
.coupon-row button {
  padding: 10px 16px; background: var(--surface);
  border-radius: var(--radius-sm); font-weight: 600;
  font-size: 0.85rem; transition: all 0.2s;
}
.coupon-row button:hover { background: var(--primary); color: white; }
.cart-empty {
  text-align: center; padding: 80px 24px;
}
.cart-empty .empty-icon { font-size: 5rem; display: block; margin-bottom: 20px; }
.cart-empty h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 12px; }
.cart-empty p { color: var(--text-muted); margin-bottom: 24px; }
.order-summary-mini {
  background: var(--surface); border-radius: var(--radius-sm);
  padding: 16px; margin: 16px 0; font-size: 0.85rem;
}

/* --- MODAL --- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 24px; backdrop-filter: blur(4px);
}
.modal-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; max-width: 480px; width: 100%; position: relative;
  max-height: 90vh; overflow-y: auto;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: all 0.2s;
}
.modal-close:hover { background: var(--primary); color: white; }
.modal-box h2 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 4px; }
.modal-box > p { color: var(--text-muted); margin-bottom: 24px; }

/* --- TOAST --- */
.toast {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--dark); color: white;
  padding: 14px 24px; border-radius: var(--radius-full);
  font-size: 0.9rem; font-weight: 500; z-index: 3000;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0; pointer-events: none; white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* --- FOOTER --- */
.footer { background: var(--dark-2); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-main { color: white; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.85rem; line-height: 1.65; max-width: 280px; }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background 0.2s;
}
.social-link:hover { background: var(--primary); }
.footer-col h4 { color: white; font-weight: 600; margin-bottom: 16px; font-size: 0.9rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li { font-size: 0.85rem; }
.footer-col a { transition: color 0.2s; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.82rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: white; }

/* --- ANIMATIONS --- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Scroll animation */
.animate-on-scroll { opacity: 0; transform: translateY(32px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero { padding: 120px 40px 80px; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 220px 1fr; }
}
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 100px 24px 60px; text-align: center; }
  .hero-visual { display: none; }
  .hero-cta-group { justify-content: center; }
  .hero-stats { justify-content: center; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 20px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); gap: 4px; }
  .nav-links.mobile-open { display: flex; }
  .hamburger { display: flex; }
  .category-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-features { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .nl-form { flex-direction: column; }
  .nl-form input { min-width: unset; width: 100%; }
  .timeline-item { grid-template-columns: 70px 1fr; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .section { padding: 48px 0; }
  .hero-title { font-size: 2.5rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .team-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 60px 1fr; grid-template-rows: auto auto; }
  .cart-item-price { grid-column: 2; }
}
