*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #98a76c;
  --primary-hover: #83915d;
  --primary-light: #dce4c8;
  --primary-pale: #f4f7ee;
  --text: #2c2c2c;
  --text-light: #666;
  --bg: #fafaf8;
  --bg-alt: #f0f4e8;
  --white: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 8px;
  --max-w: 1200px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', Tahoma, Geneva, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Roboto Condensed', 'Roboto', Tahoma, sans-serif; font-weight: 600; line-height: 1.2; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo img { height: 45px; width: auto; }
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.cart-btn, .auth-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  color: var(--text);
}
.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10% 0;
  background: url('/images/hero-bg.jpg') center/cover;
  will-change: transform;
  z-index: 0;
}

/* home page: header overlays hero, transparent bg, centered 2x logo */
.header.home {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  box-shadow: none;
}
.header.home .header-inner {
  justify-content: center;
}
.header.home .logo img {
  height: 75px;
  margin-top: 1em;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin-top: 0.5em;
  padding: 0 20px;
  gap: 32px;
}
.nav-row .home-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.nav-row .home-nav a {
  color: var(--text);
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-row .home-nav a.active { color: var(--primary); }
.nav-row .home-nav a:hover { color: var(--primary); }
.nav-row .header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.header.home .header-inner {
  flex-direction: column;
  justify-content: center;
  height: auto;
  padding: 2em 0 0;
}
.header.home .hamburger { color: var(--text); position: absolute; left: 20px; top: 2em; }
@media (max-width: 768px) {
  .nav-row { flex-direction: column; }
  .nav-row .home-nav { flex-wrap: wrap; gap: 16px; }
  .nav-row .header-actions { margin-left: 0; margin-top: 0.5rem; }
  .header.home .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
    z-index: 1001;
    padding: 80px 24px 32px;
    gap: 16px;
    transition: left 0.3s ease;
  }
  .header.home .main-nav.open { left: 0; }
  .header.home .logo img { height: 70px; }
  .header.home .header-actions { position: static; transform: none; margin-top: 0.5rem; }
}
.header.home .icon-btn { color: var(--text); }
.header.home .icon-btn:hover { color: var(--primary); }
.header.home .icon-btn.active { color: var(--primary); }
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--text);
  text-align: center;
  padding: 0 20px;
}
.hero-title {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.hero-subtitle {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1.15rem;
  margin-bottom: 32px;
  line-height: 1.7;
  color: var(--text);
}
.btn-hero {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}
.btn-hero:hover { background: var(--primary-hover); color: var(--white); }

/* about page hero */
.about-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}
.about-hero-bg {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}
.about-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}
.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.about-hero-title {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  color: var(--white);
}

.about-content {
  position: relative;
  overflow: hidden;
  padding-top: 0;
}
.about-content-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.about-content .content-page {
  position: relative;
  z-index: 1;
  color: var(--text);
  padding: 3rem 2rem;
}
.about-content .content-page h2,
.about-content .content-page h3,
.about-content .content-page p,
.about-content .content-page li { color: var(--text); }
.about-content .content-page h3 { font-family: 'Roboto Condensed', sans-serif; font-weight: 600; font-size: 1.2rem; margin-top: 1em; }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  -webkit-appearance: none;
  appearance: none;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--white); }
.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 48px;
  color: var(--primary);
}

/* product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.product-card-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--primary-pale);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-card-body h3 { font-size: 1.1rem; font-family: 'Roboto Condensed', sans-serif; }
.product-price { font-weight: 600; color: var(--primary); font-size: 1.1rem; }
.product-card-body .btn { margin-top: auto; }

/* about preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-preview-text h2 { font-size: 2rem; margin-bottom: 20px; color: var(--primary); }
.about-preview-text p { margin-bottom: 24px; color: var(--text-light); line-height: 1.8; }
.about-preview-image img { border-radius: var(--radius); }

/* page header */
.page-header {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-header h1 { font-size: 2.5rem; margin-bottom: 8px; }
.page-header p { opacity: 0.8; }

/* shop layout */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.shop-sidebar h3 { margin-bottom: 16px; font-family: 'Roboto', sans-serif; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.category-list { list-style: none; }
.category-list li { margin-bottom: 8px; }
.category-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  transition: background 0.2s;
}
.category-list a:hover, .category-list a.active { background: var(--primary-pale); color: var(--primary); }

/* product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-detail-image { border-radius: var(--radius); overflow: hidden; background: var(--primary-pale); }
.product-detail-info h1 { font-size: 2rem; margin-bottom: 12px; }
.product-price-large { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.product-description { color: var(--text-light); line-height: 1.8; margin-bottom: 32px; }
.product-actions { display: flex; gap: 16px; align-items: center; }
.qty-selector {
  display: flex;
  align-items: center;
  border: 2px solid #ddd;
  border-radius: var(--radius);
  overflow: hidden;
}
.qty-selector button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg);
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.qty-selector button:hover { background: var(--primary-pale); }
.qty-selector input {
  width: 50px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 2px solid #ddd;
  border-right: 2px solid #ddd;
  font-size: 16px;
  font-weight: 600;
}

/* cart */
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cart-item img { border-radius: 6px; width: 80px; height: 80px; object-fit: cover; }
.cart-item-info h3 { font-size: 1rem; font-family: 'Roboto', sans-serif; }
.cart-item-info p { font-size: 14px; color: var(--text-light); }
.cart-item-qty { display: flex; align-items: center; gap: 8px; }
.cart-item-qty button {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}
.cart-item-qty button:hover { background: #333; }
.cart-item-total { font-weight: 600; }
.cart-item-remove {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 4px;
}
.cart-item-remove:hover { color: #e74c3c; }
.cart-summary {
  margin-top: 32px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-total { font-size: 1.3rem; font-weight: 700; }

/* checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 350px; gap: 40px; align-items: start; }
.checkout-form h2 { font-size: 1.3rem; margin-bottom: 20px; margin-top: 32px; }
.checkout-form h2:first-child { margin-top: 0; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); }
.payment-options { display: flex; flex-direction: column; gap: 12px; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s;
}
.payment-option:hover { border-color: var(--primary-light); }
.payment-option input:checked + span { font-weight: 600; }
.payment-option:has(input:checked) { border-color: var(--primary); background: var(--primary-pale); }
.checkout-summary {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 90px;
}
.checkout-summary h2 { font-size: 1.2rem; margin-bottom: 16px; }
.checkout-item { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid #eee; }
.checkout-total { display: flex; justify-content: space-between; padding-top: 16px; margin-top: 16px; border-top: 2px solid var(--primary); font-size: 1.1rem; }

/* content page */
.content-page { max-width: 800px; }
.content-page h2 { font-size: 1.8rem; margin: 40px 0 16px; color: var(--primary); }
.content-page h2:first-child { margin-top: 0; }
.content-page p { margin-bottom: 16px; line-height: 1.8; color: var(--text-light); text-align: justify; }
.content-page ul { margin-bottom: 24px; padding-left: 24px; }
.content-page li { margin-bottom: 8px; line-height: 1.6; color: var(--text-light); }

/* footer */
.site-footer {
  background: url('/images/footer-bg.jpg') center/cover no-repeat;
  color: var(--text);
  padding: 40px 0;
}
.footer-grid {
  display: flex;
  justify-content: center;
  padding-bottom: 0;
}
.footer-grid h4 { color: var(--text); margin-bottom: 16px; font-size: 1.1rem; }
.footer-grid p { margin-bottom: 8px; font-size: 14px; line-height: 1.6; }
.footer-sep {
  width: 60px;
  height: 1px;
  background: var(--primary);
  margin: 1.5rem auto;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 0.25rem;
}
.footer-social a {
  color: var(--primary);
  text-decoration: none;
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social a:hover { color: var(--primary-hover); }
.payment-icons { display: flex; flex-direction: column; gap: 8px; }
.payment-icons span { font-size: 14px; }

/* responsive */
@media (max-width: 768px) {
  .main-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
    z-index: 999;
    padding: 80px 24px 32px;
    gap: 16px;
    transition: left 0.3s ease;
  }
  .main-nav.open { left: 0; }
  .main-nav a { font-size: 1.1rem; padding: 0.5rem 0; border-bottom: 1px solid #f0f0f0; }
  .header-actions { gap: 8px; }
  .about-preview { grid-template-columns: 1fr; gap: 32px; }
  .shop-layout { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .footer-grid { display: flex; justify-content: center; }
  .cart-item { grid-template-columns: 60px 1fr auto; }
  .cart-item-total { display: none; }
  .section { padding: 48px 0; }
  .hero { min-height: 100vh; }
  .hero-bg { inset: 0; }
  .about-hero { min-height: 35vh; }
  .about-hero-bg { inset: 0; }
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.icon-btn:hover { color: var(--primary); }
.icon-btn.active { color: var(--primary); }
#lang-label { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; }

.delivery-type-options {
  display: flex;
  gap: 12px;
}
.delivery-type-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid #ddd;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s;
}
.delivery-type-option:hover { border-color: var(--primary-light); }
.delivery-type-option:has(input:checked) { border-color: var(--primary); background: var(--primary-pale); }

#office-search {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: var(--radius);
  margin-bottom: 8px;
  font-size: 14px;
}
#office-search:focus { outline: none; border-color: var(--primary); }
#office-filter {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: var(--radius);
  margin-bottom: 8px;
  font-size: 14px;
}
#office-filter:focus { outline: none; border-color: var(--primary); }
#office {
  width: 100%;
  border: 2px solid #ddd;
  border-radius: var(--radius);
  padding: 4px;
  min-height: 120px;
}
#office option {
  padding: 8px;
  cursor: pointer;
}
#office option:hover { background: var(--primary-pale); }

.office-scroll {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.office-entry {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}
.office-entry:hover { background: var(--primary-pale); }
.office-entry.selected { background: var(--primary); color: var(--white); }
.office-entry.selected small { color: rgba(255,255,255,0.8); }
.office-entry small { color: #888; }

.payment-ui { margin: 16px 0; }
.payment-info {
  padding: 16px;
  background: var(--primary-pale);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}
.payment-info p { margin: 0; font-size: 14px; color: var(--primary); }

/* login modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.modal h3 {
  margin: 0 0 1.5rem;
  font-family: 'Roboto Condensed', 'Roboto', Tahoma, sans-serif;
  font-size: 1.5rem;
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}
.modal-close:hover { color: #000; }
.modal input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}
.modal input:focus {
  outline: none;
  border-color: #4a7c59;
}
.modal-divider {
  text-align: center;
  margin: 1rem 0;
  color: #999;
  position: relative;
}
.modal-divider::before,
.modal-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: #eee;
}
.modal-divider::before { left: 0; }
.modal-divider::after { right: 0; }
.modal-divider span { background: #fff; padding: 0 0.75rem; }
.error-msg {
  color: #d32f2f;
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text, #333);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* nav backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 998;
}
.nav-backdrop.open { display: block; }
@media (max-width: 768px) {
  .hamburger { display: flex; }
}

/* featured panel */
.featured-panel {
  display: grid;
  grid-template-columns: 2fr 3fr;
  min-height: 400px;
}
.featured-panel-image {
  background: center/cover no-repeat;
  min-height: 300px;
}
.featured-panel-text {
  background: center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 2rem clamp(1.5rem, 5vw, 6rem);
}
.featured-panel-body {
  max-width: 480px;
}
.featured-panel-body h3 {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
}
.featured-panel-body p {
  color: var(--white);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
}
.featured-panel-body .btn {
  margin-top: 1.5rem;
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  border: none;
  padding: 10px 28px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.featured-panel-body .btn:hover {
  background: transparent;
  color: var(--white);
  outline: 1px solid var(--white);
}
@media (max-width: 768px) {
  .featured-panel { grid-template-columns: 1fr; min-height: auto; }
  .featured-panel-image { min-height: 200px; }
  .featured-panel-text { padding: 2rem 1.25rem; }
}

/* markdown content rendered by marked */
.md-content { line-height: 1.8; }
.md-content h1, .md-content h2, .md-content h3, .md-content h4, .md-content h5, .md-content h6 { margin: 0 0 1.6em; line-height: 1.3; }
.md-content h1 { font-size: 1.4rem; }
.md-content h2 { font-size: 1.2rem; }
.md-content h3 { font-size: 1.1rem; }
.md-content h4 { font-size: 1rem; }
.md-content p { margin: 0 0 1.6em; }
.md-content ul, .md-content ol { margin: 0 0 1.6em; padding-left: 2em; list-style-position: outside; }
.md-content li { margin: 0; padding-left: 0.25em; }
.md-content blockquote { margin: 0 0 1.6em; padding: 0.5em 1em; border-left: 3px solid var(--primary); background: #f9faf7; }
.md-content code { background: #f0f0f0; padding: 0.15em 0.3em; border-radius: 3px; font-size: 0.9em; }
.md-content pre { background: #f5f5f5; padding: 0.75rem; border-radius: 6px; overflow-x: auto; margin: 0 0 1.6em; }
.md-content pre code { background: none; padding: 0; }
.md-content a { color: var(--primary); }
.md-content strong { font-weight: 600; }
.md-content em { font-style: italic; }
.md-content hr { border: none; border-top: 1px solid #ddd; margin: 0 0 1.6em; }
.md-content img { max-width: 100%; border-radius: 6px; margin: 0 0 1.6em; display: block; }
.md-content table { border-collapse: collapse; width: 100%; margin: 0 0 1.6em; }
.md-content th, .md-content td { border: 1px solid #ddd; padding: 0.4em 0.6em; text-align: left; }
.md-content th { background: #f5f5f5; }
}

