/* Chelesme - Fresh & Nature Design */
@import url('https://cdn.jsdelivr.net/npm/vazirmatn@33.0.2/Vazirmatn-font-face.css');

:root {
  --bg: #f2f8f5;
  --surface: #ffffff;
  --surface-2: #e8f5f0;
  --primary: #059669;
  --primary-light: #10b981;
  --primary-dim: rgba(5, 150, 105, 0.12);
  --accent: #d97706;
  --accent-light: #f59e0b;
  --accent-dim: rgba(217, 119, 6, 0.12);
  --text: #1a2e28;
  --text-muted: #4a6b62;
  --border: rgba(5, 150, 105, 0.15);
  --shadow: 0 4px 24px rgba(5, 150, 105, 0.08);
  --shadow-hover: 0 12px 40px rgba(5, 150, 105, 0.15);
  --font: 'Vazirmatn', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gray-500: var(--text-muted);
  --gray-900: var(--text);
  --section-padding: 3rem;
  --section-padding-lg: 4rem;
  --content-gap: 1.5rem;
  --content-gap-lg: 2rem;
}
/* RTL / multi-language: ensure text flows correctly and long words wrap */
[dir="rtl"] { font-family: 'Vazirmatn', 'Segoe UI', system-ui, sans-serif; }
html { text-align: start; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Skip link: visible on focus for keyboard/screen reader users */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--radius) 0;
  clip-path: inset(0 0 0 0);
  transform: translateY(-100%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 120% 70% at 50% -30%, rgba(16, 185, 129, 0.12), transparent 55%),
              radial-gradient(ellipse 80% 50% at 90% 60%, rgba(245, 158, 11, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(5, 150, 105, 0.06);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0.5rem 0;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.header-logo:hover { opacity: 0.9; }
.header-logo-img { height: 2.25rem; width: auto; }
.header-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-weight: 500;
  color: var(--text-muted);
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .header-logo-img { height: 2.5rem; }
  .header-logo-text { font-size: 1.4rem; }
}
@media (min-width: 1024px) {
  .header-inner { min-height: 4.5rem; }
  .header-logo-img { height: 2.75rem; }
  .header-logo-text { font-size: 1.5rem; }
  .nav-desktop { gap: 2.25rem; }
}
.nav-desktop a {
  position: relative;
  transition: color 0.2s;
}
.nav-desktop a:hover,
.nav-desktop a.active { color: var(--primary); }
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}
.nav-desktop a:hover::after,
.nav-desktop a.active::after { width: 100%; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.icon-btn, .cart-link {
  padding: 0.5rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.icon-btn:hover, .cart-link:hover { color: var(--primary); }
.cart-link { position: relative; }
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 1.1rem;
  height: 1.1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-badge.empty { display: none; }
.lang-switcher-wrap { position: relative; }
.lang-btn {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.35rem 0.5rem;
  min-width: 4rem;
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  margin-top: 0.25rem;
  right: 0;
  min-width: 10rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.35rem 0;
  z-index: 1001;
}
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
.lang-dropdown.open { display: block; }
.lang-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.lang-dropdown a:hover { background: var(--primary-dim); color: var(--primary); }
.lang-dropdown a.active { font-weight: 600; color: var(--primary); }

/* Burger button (mobile) */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
}
.menu-btn-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}
.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] .menu-btn-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 768px) { .menu-btn { display: none; } }

/* Mobile menu overlay – shown when body has .mobile-menu-open */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 46, 40, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
body.mobile-menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--surface);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
}
body.mobile-menu-open .mobile-menu {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}
[dir="rtl"] .mobile-menu {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}
body.mobile-menu-open [dir="rtl"] .mobile-menu {
  transform: translateX(0);
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  padding-top: max(1.25rem, env(safe-area-inset-top));
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: var(--primary-dim);
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover {
  background: var(--primary);
  color: #fff;
}
.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-bottom: 1.5rem;
}
.mobile-menu-nav a {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  word-break: break-word;
}
.mobile-menu-nav a:hover {
  background: var(--primary-dim);
  color: var(--primary);
}
.mobile-menu-nav a.active {
  background: var(--primary-dim);
  color: var(--primary);
  font-weight: 600;
}
.mobile-menu-lang {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.mobile-menu-lang-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.mobile-menu-lang-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mobile-lang-link {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-2);
  border-radius: var(--radius-full);
  transition: background 0.2s, color 0.2s;
}
.mobile-lang-link:hover {
  background: var(--primary-dim);
  color: var(--primary);
}
.mobile-lang-link.active {
  background: var(--primary);
  color: #fff;
}
body.mobile-menu-open {
  overflow: hidden;
}

/* Main */
.main-content { flex: 1; position: relative; z-index: 1; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(5, 150, 105, 0.4);
}
/* Multi-language: allow long labels to wrap where needed */
.btn-primary, .btn-whatsapp, .nav-desktop a, .mobile-menu-nav a, .lang-btn {
  overflow-wrap: break-word;
  word-break: break-word;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
}
.btn-whatsapp:hover { background: #20bd5a; transform: translateY(-1px); }

/* Hero */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 3rem 1.5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26, 46, 40, 0.82) 0%, transparent 50%),
              linear-gradient(to bottom, rgba(242, 248, 245, 0.25), transparent 40%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 40rem;
  margin: 0 auto;
  width: 100%;
}
.hero h1 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.875rem;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero h1 .highlight { color: #a7f3d0; text-shadow: 0 0 20px rgba(167, 243, 208, 0.4); }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1.75rem;
  line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.3);
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
  transition: transform 0.2s, background 0.2s;
}
.hero-badge:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
@media (min-width: 640px) {
  .hero { min-height: 520px; padding: 4rem 2rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1.15rem; margin-bottom: 2rem; }
}
@media (min-width: 768px) {
  .hero { min-height: 560px; }
  .hero h1 { font-size: 3rem; margin-bottom: 1rem; }
  .hero-subtitle { font-size: 1.2rem; }
}
@media (min-width: 1024px) {
  .hero { min-height: 600px; padding: 4rem 2rem; }
  .hero h1 { font-size: 3.25rem; }
}

/* Sections */
.page-section {
  padding: var(--section-padding) 0;
}
@media (min-width: 768px) {
  .page-section { padding: var(--section-padding-lg) 0; }
}
.section-header {
  text-align: center;
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .section-header { margin-bottom: 3rem; }
}
.section-header h2 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-light));
  border-radius: var(--radius-full);
  margin: 1rem auto 0;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; margin: 0; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* Categories grid */
.categories-section { background: var(--surface); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--content-gap);
  align-items: stretch;
}
@media (min-width: 640px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (min-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); gap: var(--content-gap-lg); }
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.06);
}
.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: 0 12px 36px rgba(5, 150, 105, 0.12);
}
.category-card-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
}
.category-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.category-card:hover .category-card-img-wrap img { transform: scale(1.06); }
.category-card-name {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  transition: color 0.2s;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
}
.category-card:hover .category-card-name { color: var(--primary); }

/* Stats */
.stats-section {
  padding: var(--section-padding) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--content-gap);
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: var(--content-gap-lg); }
}
.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow);
}
.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.stat-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 0.875rem;
  background: var(--primary-dim);
}
.stat-value { font-size: 1.65rem; font-weight: 900; color: var(--primary); margin-bottom: 0.25rem; line-height: 1.2; }
.stat-label { color: var(--text-muted); font-size: 0.875rem; line-height: 1.4; }

/* Product cards */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--content-gap);
  align-items: start;
}
@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); gap: var(--content-gap-lg); }
}
.product-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.06);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: 0 12px 40px rgba(5, 150, 105, 0.12);
}
.product-card-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface-2);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.product-card-image a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.product-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  z-index: 5;
}
.product-badge.popular { background: var(--accent); color: #fff; }
.product-badge.new { background: var(--primary); color: #fff; }
.product-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.product-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card h3 a:hover { color: var(--primary); }
.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.product-price { font-size: 1.1rem; font-weight: 700; color: var(--primary); flex-shrink: 0; }
.product-price span { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; margin-right: 0.25rem; }
.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 2px solid var(--primary);
  border-radius: var(--radius-full);
  background: var(--primary-dim);
  color: var(--primary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}
.add-to-cart-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* About story */
.about-story {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  max-width: 72rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .about-story { flex-direction: row; align-items: flex-start; gap: 3.5rem; }
}
.about-story-text { max-width: 36rem; flex: 1; min-width: 0; }
.about-story-text h2 { font-size: 1.75rem; font-weight: 900; color: var(--text); margin-bottom: 1rem; line-height: 1.3; }
.about-story-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.about-badges { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 1.5rem 0; }
.about-badge { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--text-muted); }
.about-badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--primary-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.about-story-visual { max-width: 24rem; width: 100%; flex-shrink: 0; }
.about-story-visual img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }

/* Newsletter */
.newsletter-section {
  padding: var(--section-padding-lg) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.newsletter-content { text-align: center; max-width: 36rem; margin: 0 auto; }
.newsletter-content h2 { font-size: 1.65rem; font-weight: 900; margin-bottom: 0.75rem; line-height: 1.3; }
.newsletter-content p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 0 auto;
}
@media (min-width: 640px) { .newsletter-form { flex-direction: row; max-width: 32rem; } }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { outline: none; border-color: var(--primary); }
.newsletter-form button {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.newsletter-form button:hover { transform: translateY(-2px); }

/* Footer */
.site-footer {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}
@media (min-width: 768px) {
  .site-footer { padding: 4rem 0 2rem; }
}
.footer-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(5, 150, 105, 0.08), transparent 50%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin-bottom: 2.5rem; }
}
.footer-brand-block .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer-brand img { height: 2.25rem; width: auto; }
.footer-brand h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin: 0; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; line-height: 1.55; }
.footer-contact > div { color: var(--text-muted); font-size: 0.875rem; margin-top: 0.5rem; line-height: 1.5; }
.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  display: inline-block;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; display: inline-block; padding: 0.15rem 0; }
.footer-links a:hover { color: var(--primary); }
.footer-categories .footer-cat-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0;
}
.footer-categories .footer-cat-link img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: cover;
  border-radius: 0.35rem;
  flex-shrink: 0;
}
.footer-socials { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.footer-socials a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.footer-socials a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  z-index: 1;
  position: relative;
  line-height: 1.5;
}

/* Search modal */
.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(26, 46, 40, 0.4);
  backdrop-filter: blur(12px);
  align-items: flex-start;
  justify-content: center;
  padding-top: 5rem;
}
.search-modal.open { display: flex; }
.search-container { width: 100%; max-width: 560px; padding: 0 1rem; }
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}
.search-input-wrap svg { color: var(--text-muted); flex-shrink: 0; }
#search-query {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  padding: 0.75rem 0;
  outline: none;
  font-family: inherit;
}
#search-query::placeholder { color: var(--text-muted); }
.search-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  border: none;
  background: var(--border);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}
.search-close:hover { background: var(--surface-2); color: var(--text); }
.search-results { margin-top: 1.25rem; max-height: 60vh; overflow-y: auto; display: flex; flex-direction: column; gap: 0.5rem; }
.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}
.search-result-item:hover { background: var(--surface-2); border-color: rgba(5, 150, 105, 0.25); }
.search-result-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 0.4rem; flex-shrink: 0; }

/* Product detail page */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
  align-items: start;
}
@media (min-width: 1024px) {
  .product-detail-layout { grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 2.5rem 0 3rem; align-items: start; }
  .product-info-card { position: sticky; top: 5.5rem; }
}
/* Product gallery */
.product-gallery-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.product-gallery-main {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(5, 150, 105, 0.08);
  overflow: hidden;
}
.product-gallery-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius);
}
.product-gallery-zoom:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.product-detail-img {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s;
}
.product-gallery-zoom:hover .product-detail-img { transform: scale(1.02); }
.product-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}
.product-gallery-thumb {
  width: 4rem;
  height: 4rem;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.product-gallery-thumb:hover { border-color: rgba(5, 150, 105, 0.4); }
.product-gallery-thumb.active { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Product lightbox */
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26, 46, 40, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.product-lightbox.is-open { opacity: 1; visibility: visible; }
.product-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-full);
  z-index: 10;
  transition: background 0.2s;
}
.product-lightbox-close:hover { background: rgba(255,255,255,0.25); }
.product-lightbox-inner {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-lightbox-inner img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.product-info-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 28px rgba(5, 150, 105, 0.08);
}
.product-detail-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.product-detail-badges span {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}
.product-detail-badges .new { background: var(--primary-dim); color: var(--primary); }
.product-detail-badges .popular { background: var(--accent-dim); color: var(--accent); }
.product-info-card h1 { font-size: 1.6rem; font-weight: 900; color: var(--text); margin-bottom: 0.75rem; line-height: 1.35; }
.product-detail-price { font-size: 1.45rem; font-weight: 800; color: var(--primary); margin-bottom: 1.25rem; }
.product-detail-price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.product-detail-desc { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.25rem; }
.product-detail-content { margin: 1.25rem 0; padding: 1.25rem 0; border-top: 1px solid var(--border); }
.product-detail-content.page-content-inner { padding: 0; }
.product-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.qty-stepper {
  display: flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.25rem;
}
.qty-stepper button {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
  border-radius: var(--radius-full);
}
.qty-stepper button:hover { background: var(--primary-dim); color: var(--primary); }
.qty-stepper span { width: 2.5rem; text-align: center; font-weight: 700; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span:last-child { color: var(--primary); font-weight: 600; }

/* Shop layout */
.shop-layout { display: flex; flex-direction: column; gap: 1.5rem; padding: 1.5rem 0 2.5rem; }
@media (min-width: 768px) {
  .shop-layout { flex-direction: row; gap: 2rem; padding: 2rem 0 3rem; align-items: start; }
}
.shop-sidebar { width: 100%; }
@media (min-width: 768px) {
  .shop-sidebar { width: 16rem; flex-shrink: 0; min-width: 0; }
}
.shop-filters {
  background: var(--surface);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: sticky;
  top: 5.5rem;
  box-shadow: var(--shadow);
}
.shop-filters h2 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin-bottom: 0.25rem; }
.filter-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
.filter-list a:hover,
.filter-list a.active { background: var(--primary-dim); color: var(--primary); font-weight: 600; }
.filter-list .filter-link-img { width: 2rem; height: 2rem; object-fit: cover; border-radius: 0.4rem; flex-shrink: 0; }
.shop-main { flex: 1; min-width: 0; }
.shop-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.shop-header h1 { font-size: 1.4rem; font-weight: 800; color: var(--text); margin: 0; }
.shop-count { color: var(--text-muted); font-size: 0.9rem; }
.category-hero {
  position: relative;
  height: 180px;
  margin-bottom: 1.5rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 640px) {
  .category-hero { height: 220px; margin-bottom: 2rem; }
}
.category-hero-bg { position: absolute; inset: 0; }
.category-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.category-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 46, 40, 0.75), transparent 50%);
}
.category-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  text-align: center;
  padding: 0 1rem;
}
.category-hero-title { font-size: 1.5rem; font-weight: 900; margin: 0 0 0.25rem; line-height: 1.3; }
@media (min-width: 640px) { .category-hero-title { font-size: 1.75rem; } }
.category-hero-count { font-size: 0.875rem; opacity: 0.9; margin: 0; }
.empty-state {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
@media (min-width: 640px) { .empty-state { padding: 3rem; } }
.empty-state a { color: var(--primary); font-weight: 600; }

/* Page (about, contact, CMS) */
.page-hero {
  padding: 2.5rem 1.25rem;
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
  .page-hero { padding: 3rem 1.5rem; }
}
.page-hero h1 { font-size: 1.9rem; font-weight: 900; margin-bottom: 0.5rem; line-height: 1.3; }
@media (min-width: 640px) { .page-hero h1 { font-size: 2.15rem; } }
.page-hero p { color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Cart page */
.cart-items-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0; }
@media (min-width: 640px) { .cart-item img { width: 80px; height: 80px; } }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-info a { font-weight: 600; color: var(--text); }
.cart-item-info a:hover { color: var(--primary); }
.cart-item-price { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.25rem; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cart-item-qty .qty-btn {
  width: 2rem; height: 2rem; border: 1px solid var(--border); background: var(--surface-2);
  color: var(--text); border-radius: 0.4rem; cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.cart-item-qty .qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-item-qty-num { min-width: 2ch; text-align: center; font-weight: 600; }
.cart-item-remove {
  width: 2.25rem; height: 2.25rem; border: none; background: rgba(248,113,113,0.15);
  color: #dc2626; border-radius: 0.4rem; cursor: pointer; font-size: 1.25rem; line-height: 1; flex-shrink: 0;
}
.cart-item-remove:hover { background: rgba(248,113,113,0.25); }
.cart-summary { font-size: 1.2rem; padding: 1rem 0; border-top: 1px solid var(--border); }

/* Checkout page */
.checkout-empty {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}
.checkout-empty-inner {
  text-align: center;
  max-width: 24rem;
}
.checkout-empty-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.checkout-empty-inner h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.checkout-empty-inner p { color: var(--text-muted); margin-bottom: 1.5rem; }
.checkout-layout { padding: 2rem 0 3rem; }
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .checkout-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.checkout-order-section,
.checkout-form-section {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  .checkout-order-section,
  .checkout-form-section { padding: 1.75rem 1.5rem; }
}
.checkout-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--text);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.checkout-order-list { margin-bottom: 1rem; }
.checkout-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.checkout-order-item:last-of-type { border-bottom: none; }
.checkout-item-name { color: var(--text); }
.checkout-item-subtotal { font-weight: 600; color: var(--primary); }
.checkout-order-total {
  font-size: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
  color: var(--text);
}
.checkout-hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: -0.5rem 0 1rem;
}
.checkout-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 1rem;
}
.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-dim);
}
.checkout-whatsapp-btn { text-decoration: none; }
.btn-ghost-checkout {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  width: 100%;
}
.btn-ghost-checkout:hover { color: var(--primary); }

.page-content {
  max-width: 48rem;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
}
@media (min-width: 768px) { .page-content { margin-bottom: 4rem; } }
.page-content-inner {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
@media (min-width: 640px) { .page-content-inner { padding: 2rem; } }
.page-content-inner h2 { font-size: 1.4rem; margin-top: 1.5rem; margin-bottom: 0.75rem; line-height: 1.35; }
.page-content-inner h2:first-child { margin-top: 0; }
.page-content-inner h3 { font-size: 1.2rem; margin-top: 1.25rem; margin-bottom: 0.5rem; }
.page-content-inner p { line-height: 1.8; color: var(--text-muted); margin-bottom: 1rem; }
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--content-gap);
  max-width: 56rem;
  margin: 2rem auto;
}
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(3, 1fr); gap: var(--content-gap-lg); } }
.contact-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow);
}
.contact-card:hover { border-color: rgba(5, 150, 105, 0.4); box-shadow: var(--shadow-hover); }
.contact-card-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
}
.contact-card-icon.blue { background: rgba(59, 130, 246, 0.2); }
.contact-card-icon.green { background: var(--primary-dim); }
.contact-card-icon.yellow { background: var(--accent-dim); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.contact-card p, .contact-card a { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }
.contact-card a:hover { color: var(--primary); }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--content-gap);
  padding: 2rem 0;
  align-items: start;
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, 1fr); gap: var(--content-gap-lg); } }
.blog-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.blog-card-image { display: block; height: 11rem; overflow: hidden; flex-shrink: 0; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.blog-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.blog-card h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card h2 a:hover { color: var(--primary); }
.blog-excerpt { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-link { color: var(--primary); font-weight: 600; font-size: 0.875rem; }
.blog-link:hover { text-decoration: underline; }
.post-content-inner { line-height: 1.8; color: var(--text-muted); }
.post-content-inner h2 { font-size: 1.5rem; color: var(--text); margin-top: 2rem; margin-bottom: 1rem; }
.post-content-inner p { margin-bottom: 1rem; }

/* 404 */
.error-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.error-404 h1 { font-size: 4rem; font-weight: 900; color: var(--primary); margin-bottom: 0.5rem; }
.error-404 p { color: var(--text-muted); margin-bottom: 1.5rem; }
