/* =============================================
   KRATOM-CZ.CZ — Hlavní stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --primary: #2D6A4F;
  --primary-dark: #1B4332;
  --primary-light: #52B788;
  --secondary: #B7935A;
  --secondary-light: #D4A96A;
  --accent: #95D5B2;
  --bg: #FAFAF8;
  --bg-alt: #F1F5F0;
  --bg-card: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Lora', serif;
  --transition: 0.25s ease;
  --max-width: 1200px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
  --spacing-2xl: 64px;
  --spacing-3xl: 96px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--primary-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: var(--spacing-md); color: #374151; }

strong { font-weight: 600; color: var(--primary-dark); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--spacing-lg); }

section { padding: var(--spacing-3xl) 0; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,106,79,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
}
.btn-gold:hover {
  background: #9A7640;
  border-color: #9A7640;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(183,147,90,0.3);
}

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
}

.nav-logo .logo-leaf {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50% 50% 50% 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-45deg);
  flex-shrink: 0;
}

.nav-logo .logo-leaf::after {
  content: '';
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transform: rotate(45deg);
}

.nav-logo span.highlight { color: var(--secondary); }

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

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}

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

.nav-links .nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-left: 8px;
}
.nav-links .nav-cta:hover { background: var(--primary-dark); color: #fff; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary-dark);
}

.nav-mobile {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: var(--spacing-md);
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--text);
  display: block;
}
.nav-mobile a:hover { background: var(--bg-alt); color: var(--primary); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,67,50,0.95) 0%, rgba(45,106,79,0.8) 50%, rgba(27,67,50,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-2xl) var(--spacing-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.hero-text { }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(183,147,90,0.2);
  border: 1px solid rgba(183,147,90,0.5);
  color: var(--secondary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-lg);
}

.hero h1 {
  color: #fff;
  margin-bottom: var(--spacing-lg);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition);
}

.stat-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-light);
  display: block;
}

.stat-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-label {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(45,106,79,0.15);
}

.section-header h2 { margin-bottom: var(--spacing-md); }

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================
   FEATURED SHOP (Dr.Jungle #1)
   ============================================= */
.featured-shop-section {
  background: var(--bg-alt);
}

.featured-shop-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--secondary);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -1px;
  left: 32px;
  background: var(--secondary);
  color: #fff;
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 2;
}

.featured-shop-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 320px;
}

.featured-shop-visual {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl);
  flex-direction: column;
  gap: var(--spacing-lg);
}

.shop-logo-placeholder {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}

.shop-rank {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary-light);
  font-weight: 700;
  font-size: 1.2rem;
}

.featured-shop-info {
  padding: var(--spacing-2xl) var(--spacing-xl) var(--spacing-2xl) var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--spacing-lg);
}

.shop-name-row {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.shop-name-row h3 {
  font-size: 1.8rem;
  color: var(--primary-dark);
}

.badge-online { 
  background: #DCFCE7; 
  color: #166534; 
  padding: 4px 12px; 
  border-radius: var(--radius-full); 
  font-size: 0.75rem; 
  font-weight: 600;
}
.badge-fyzicky { 
  background: #DBEAFE; 
  color: #1E40AF; 
  padding: 4px 12px; 
  border-radius: var(--radius-full); 
  font-size: 0.75rem; 
  font-weight: 600;
}

.shop-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--secondary);
  font-size: 1.1rem;
}
.shop-stars span { color: var(--text-muted); font-size: 0.9rem; margin-left: 6px; }

.shop-features {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.shop-feature-tag {
  background: var(--bg-alt);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(45,106,79,0.2);
}

.shop-desc { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

.shop-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* =============================================
   TOP SHOPS LIST
   ============================================= */
.top-shops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.shop-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  position: relative;
}

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

.shop-rank-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.rank-1 { background: var(--secondary); }
.rank-2 { background: #9CA3AF; }
.rank-3 { background: #B45309; }

.shop-card-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding-top: var(--spacing-sm);
}

.shop-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.shop-card-title h4 { font-size: 1.05rem; color: var(--primary-dark); }
.shop-card-title .shop-type { font-size: 0.8rem; color: var(--text-muted); }

/* =============================================
   KMENY (STRAINS) SECTION
   ============================================= */
.kmeny-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-lg);
}

.kmen-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  background: var(--bg-card);
}

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

.kmen-header {
  padding: var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.kmen-color-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.kmen-red .kmen-header { background: linear-gradient(135deg, #FFF5F5, #FEE2E2); }
.kmen-red .kmen-color-dot { background: #DC2626; }
.kmen-white .kmen-header { background: linear-gradient(135deg, #F8FAFC, #F1F5F9); }
.kmen-white .kmen-color-dot { background: #E2E8F0; border: 2px solid #CBD5E1; }
.kmen-green .kmen-header { background: linear-gradient(135deg, #F0FDF4, #DCFCE7); }
.kmen-green .kmen-color-dot { background: #16A34A; }
.kmen-yellow .kmen-header { background: linear-gradient(135deg, #FFFBEB, #FEF3C7); }
.kmen-yellow .kmen-color-dot { background: #D97706; }

.kmen-body { padding: var(--spacing-lg); }
.kmen-body p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: var(--spacing-md); }

.kmen-effects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.effect-tag {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.tag-red { background: #FEE2E2; color: #991B1B; }
.tag-white { background: #EFF6FF; color: #1D4ED8; }
.tag-green { background: #DCFCE7; color: #166534; }
.tag-yellow { background: #FEF3C7; color: #92400E; }

/* =============================================
   DIRECTORY / ANNUAIRE
   ============================================= */
.directory-filters {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
  font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(45,106,79,0.06);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

.dir-shop-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--spacing-xl);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

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

.dir-shop-card.featured-card {
  border: 2px solid var(--secondary);
  background: linear-gradient(135deg, #FFFBF0, #FFF);
}

.dir-shop-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.dir-shop-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.dir-shop-meta { flex: 1; }
.dir-shop-meta h3 { font-size: 1.1rem; margin-bottom: 4px; }

.dir-shop-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dir-shop-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.dir-shop-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dir-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.dir-info-row svg { flex-shrink: 0; margin-top: 2px; }

/* =============================================
   CARDS GÉNÉRIQUES
   ============================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.info-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  color: var(--primary);
}

.info-card h3 { margin-bottom: var(--spacing-sm); font-size: 1.1rem; }
.info-card p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
  padding: var(--spacing-3xl) 0;
}

.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: var(--spacing-xl); }

.cta-actions { display: flex; gap: var(--spacing-md); justify-content: center; flex-wrap: wrap; }

.btn-white {
  background: #fff;
  color: var(--primary-dark);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* =============================================
   FAQ
   ============================================= */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
  background: var(--bg-card);
}

.faq-question {
  padding: var(--spacing-lg) var(--spacing-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  gap: var(--spacing-md);
  transition: background var(--transition);
  font-size: 0.95rem;
}

.faq-question:hover { background: var(--bg-alt); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--primary);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 var(--spacing-xl) var(--spacing-lg);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  border-top: 1px solid var(--border-light);
}

.faq-item.open .faq-answer { display: block; }

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb-list a { color: var(--primary); }
.breadcrumb-list .sep { color: var(--text-light); }

/* =============================================
   PAGE HERO (smaller)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: var(--spacing-3xl) 0;
  text-align: center;
}

.page-hero h1 { color: #fff; margin-bottom: var(--spacing-md); }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* =============================================
   TABLES
   ============================================= */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  background: var(--bg-alt);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--border);
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}

.data-table tr:hover td { background: rgba(45,106,79,0.03); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--spacing-md);
  text-decoration: none;
}

.footer-brand p { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.6); }

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: var(--spacing-lg);
  font-family: var(--font-body);
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--spacing-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.footer-disclaimer {
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  border-left: 3px solid var(--secondary);
}

/* =============================================
   REVEAL ON SCROLL
   ============================================= */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   DOSAGE CALCULATOR
   ============================================= */
.calc-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  max-width: 680px;
  margin: 0 auto;
}

.calc-form { display: flex; flex-direction: column; gap: var(--spacing-lg); }

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

.form-group select,
.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  appearance: none;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.calc-result {
  background: linear-gradient(135deg, var(--bg-alt), #fff);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  display: none;
}

.calc-result.show { display: block; }
.calc-result .result-dose {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--primary);
}
.calc-result .result-range {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* =============================================
   DETAIL PAGE (shop/kmen)
   ============================================= */
.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-2xl);
  align-items: start;
}

.detail-sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--spacing-md);
}

.sidebar-card h4 {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--border);
  color: var(--primary-dark);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
}

.contact-row svg { flex-shrink: 0; color: var(--primary); margin-top: 2px; }

.hours-table { width: 100%; }
.hours-table tr td { padding: 4px 0; font-size: 0.85rem; }
.hours-table tr td:first-child { color: var(--text-muted); }
.hours-table tr td:last-child { text-align: right; font-weight: 500; }
.hours-closed { color: #DC2626 !important; }

/* =============================================
   ALERT / NOTICE
   ============================================= */
.notice {
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.6;
}

.notice-warning {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  color: #92400E;
}
.notice-info {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
}
.notice-success {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #166534;
}

/* =============================================
   PROGRESS BARS
   ============================================= */
.progress-bar-wrap {
  margin-bottom: var(--spacing-md);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
  font-weight: 500;
}

.progress-track {
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--primary);
  transition: width 1s ease;
}

/* =============================================
   REGIONS (annuaire)
   ============================================= */
.regions-section { background: var(--bg-alt); }

.region-group {
  margin-bottom: var(--spacing-2xl);
}

.region-title {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 2px solid var(--border);
}

.region-count {
  background: var(--primary);
  color: #fff;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
}

/* =============================================
   SEARCH BAR
   ============================================= */
.search-bar {
  display: flex;
  gap: var(--spacing-sm);
  max-width: 500px;
  margin-bottom: var(--spacing-xl);
}

.search-bar input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.search-bar input:focus {
  outline: none;
  border-color: var(--primary);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { grid-template-columns: 1fr; gap: var(--spacing-2xl); }
  .hero-stats { display: none; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .featured-shop-inner { grid-template-columns: 1fr; }
  .featured-shop-visual { padding: var(--spacing-xl); min-height: 180px; flex-direction: row; }
}

@media (max-width: 768px) {
  section { padding: var(--spacing-2xl) 0; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--spacing-xl); }
  .hero { min-height: 80vh; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .directory-grid { grid-template-columns: 1fr; }
  .kmeny-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  :root { --spacing-lg: 20px; }
  .container { padding: 0 var(--spacing-md); }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
}