/* ============================================================
   MEDOK.CZ - Hlavní stylesheet
   Styl: Přírodní luxus, organické tvary, teplé zemité barvy
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   PROMĚNNÉ
   ============================================================ */
:root {
  --gold: #C8973A;
  --gold-light: #F0C66A;
  --gold-dark: #8B6520;
  --amber: #D4822A;
  --honey: #F5A623;
  --cream: #FDF8EE;
  --warm-white: #FFFDF7;
  --brown: #3D2B1A;
  --brown-light: #6B4C30;
  --text: #2C1F0F;
  --text-muted: #7A6550;
  --bg-dark: #1A0F05;
  --bg-card: rgba(255,253,240,0.95);
  --shadow: 0 8px 32px rgba(61,43,26,0.15);
  --shadow-hover: 0 16px 48px rgba(61,43,26,0.25);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

/* ============================================================
   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(--cream);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(26,15,5,0.96);
  color: #fff;
  padding: 20px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  backdrop-filter: blur(8px);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { font-size: 0.9rem; line-height: 1.5; max-width: 700px; }
#cookie-banner p a { color: var(--gold-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--gold); color: #fff; border: none; padding: 10px 24px; border-radius: 40px; font-weight: 600; transition: var(--transition);
}
.btn-cookie-accept:hover { background: var(--gold-dark); }
.btn-cookie-decline {
  background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.3); padding: 10px 24px; border-radius: 40px; transition: var(--transition);
}
.btn-cookie-decline:hover { border-color: #fff; color: #fff; }

/* ============================================================
   NAVIGACE
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s ease;
  background: transparent;
}
#navbar.scrolled {
  background: rgba(253,248,238,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(61,43,26,0.12);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--warm-white);
  transition: color 0.4s;
}
#navbar.scrolled .nav-logo { color: var(--brown); }
.nav-logo span { color: var(--gold-light); }
#navbar.scrolled .nav-logo span { color: var(--gold-dark); }
.logo-icon { width: 36px; height: 36px; }

.nav-links {
  display: flex; align-items: center; gap: 6px; list-style: none;
}
.nav-links a {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
}
#navbar.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
#navbar.scrolled .nav-links a:hover {
  background: rgba(200,151,58,0.12);
  color: var(--gold-dark);
}
.nav-links a.active {
  background: rgba(200,151,58,0.25);
  color: var(--gold-light);
}
#navbar.scrolled .nav-links a.active {
  background: var(--gold);
  color: #fff;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-nav-cart {
  position: relative;
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.88rem;
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.btn-nav-cart:hover { background: var(--gold-dark); transform: translateY(-1px); }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--amber);
  color: #fff;
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.btn-nav-user {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 18px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
#navbar.scrolled .btn-nav-user {
  background: rgba(200,151,58,0.1);
  color: var(--brown);
  border-color: rgba(200,151,58,0.3);
}
.btn-nav-user:hover { background: rgba(255,255,255,0.25); }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff;
  transition: var(--transition);
  border-radius: 2px;
}
#navbar.scrolled .hamburger span { background: var(--brown); }

/* ============================================================
   HERO SEKCE
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1A0F05 0%, #3D2B1A 50%, #1A0F05 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover; background-position: center;
  opacity: 0.4;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,15,5,0.6) 0%, rgba(26,15,5,0.3) 50%, rgba(26,15,5,0.8) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  animation: fadeInUp 1s ease 0.2s both;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,151,58,0.2);
  border: 1px solid rgba(200,151,58,0.4);
  color: var(--gold-light);
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Vyhledávač v hero */
.hero-search {
  margin-bottom: 40px;
  position: relative; max-width: 520px; margin-left: auto; margin-right: auto;
}
.hero-search input {
  width: 100%;
  padding: 18px 60px 18px 24px;
  border-radius: 50px;
  border: 2px solid rgba(200,151,58,0.4);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}
.hero-search input::placeholder { color: rgba(255,255,255,0.5); }
.hero-search input:focus { border-color: var(--gold-light); background: rgba(255,255,255,0.15); }
.hero-search button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: var(--gold);
  color: #fff; border: none;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.hero-search button:hover { background: var(--gold-dark); }

/* Výsledky vyhledávání */
#search-results-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--warm-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  z-index: 100;
  overflow: hidden;
  display: none;
}
#search-results-dropdown.show { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid rgba(200,151,58,0.1);
  text-align: left;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(200,151,58,0.08); }
.search-result-img {
  width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
  background: var(--cream);
}
.search-result-info strong { display: block; font-weight: 600; font-size: 0.9rem; color: var(--brown); }
.search-result-info span { font-size: 0.8rem; color: var(--text-muted); }
.search-result-price { margin-left: auto; font-weight: 700; color: var(--gold-dark); white-space: nowrap; }

/* ============================================================
   TLAČÍTKA
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,151,58,0.4); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ============================================================
   SEKCE
   ============================================================ */
section { padding: 100px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.section-label::before, .section-label::after {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   KARTY PRODUKTŮ
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product-img-wrap {
  position: relative; overflow: hidden;
  height: 220px;
  background: linear-gradient(135deg, #f5e8c8, #ffe4a0);
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.03em;
}
.badge-cert { background: rgba(200,151,58,0.9); color: #fff; }
.badge-bio  { background: rgba(76,140,52,0.9); color: #fff; }
.badge-new  { background: rgba(212,130,42,0.9); color: #fff; }
.badge-out  { background: rgba(150,100,50,0.7); color: #fff; }

.product-body { padding: 20px; }
.product-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.product-category { font-size: 0.78rem; color: var(--gold-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.product-vcelar { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.product-vcelar img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.product-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
  line-height: 1.3;
}
.product-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--gold-dark); }
.product-price small { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }
.product-price .old-price { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; margin-right: 6px; }
.btn-add-cart {
  background: var(--gold);
  color: #fff; border: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.btn-add-cart:hover { background: var(--gold-dark); transform: scale(1.1); }
.btn-add-cart:disabled { background: #ccc; transform: none; }
.product-stock { font-size: 0.75rem; color: var(--text-muted); margin-top: 8px; }
.product-stock.low { color: var(--amber); font-weight: 600; }

/* ============================================================
   GARANCIA KVALITY
   ============================================================ */
.quality-section { background: var(--brown); color: #fff; }
.quality-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.quality-item { text-align: center; }
.quality-icon {
  width: 72px; height: 72px;
  background: rgba(200,151,58,0.2);
  border: 2px solid rgba(200,151,58,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}
.quality-item h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 10px; color: var(--gold-light); }
.quality-item p { font-size: 0.9rem; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* Ceny přehled */
.price-highlight {
  background: linear-gradient(135deg, var(--cream) 0%, #ffe8b0 100%);
  border: 2px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.price-highlight h2 { font-family: var(--font-display); font-size: 1.8rem; color: var(--brown); margin-bottom: 12px; }
.price-range { font-size: 3rem; font-family: var(--font-display); font-weight: 700; color: var(--gold-dark); }
.price-range small { font-size: 1rem; font-family: var(--font-body); color: var(--text-muted); }
.price-note { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }
.verified-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(76,140,52,0.12);
  border: 1px solid rgba(76,140,52,0.3);
  color: #2d7a22;
  padding: 8px 18px; border-radius: 40px;
  font-size: 0.85rem; font-weight: 600;
  margin-top: 16px;
}

/* ============================================================
   VČELAŘI - GRID
   ============================================================ */
.vcelari-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.vcelar-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.vcelar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.vcelar-cover {
  height: 140px;
  background: linear-gradient(135deg, #C8973A, #8B6520);
  position: relative; overflow: hidden;
}
.vcelar-cover img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.vcelar-photo-wrap {
  position: absolute; bottom: -36px; left: 24px;
}
.vcelar-photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  background: var(--cream);
}
.vcelar-body { padding: 48px 24px 24px; }
.vcelar-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--brown); margin-bottom: 4px; }
.vcelar-location { font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.vcelar-bio { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vcelar-stats { display: flex; gap: 20px; margin-bottom: 16px; }
.vcelar-stat { text-align: center; }
.vcelar-stat strong { display: block; font-size: 1.1rem; font-weight: 700; color: var(--gold-dark); }
.vcelar-stat span { font-size: 0.75rem; color: var(--text-muted); }
.vcelar-verified { display: inline-flex; align-items: center; gap: 5px; font-size: 0.78rem; color: #2d7a22; font-weight: 600; }

/* ============================================================
   MODALY
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(26,15,5,0.7);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }
.modal {
  background: var(--warm-white);
  border-radius: var(--radius);
  max-width: 480px; width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
}
.modal-overlay.show .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 32px 32px 0;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.modal-header h2 { font-family: var(--font-display); font-size: 1.6rem; color: var(--brown); }
.modal-close {
  background: none; border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--text-muted);
  transition: var(--transition); flex-shrink: 0;
}
.modal-close:hover { background: var(--cream); color: var(--brown); }
.modal-body { padding: 24px 32px 32px; }
.modal-tabs { display: flex; gap: 4px; margin-bottom: 28px; background: var(--cream); padding: 4px; border-radius: 40px; }
.modal-tab {
  flex: 1; padding: 10px; border-radius: 36px; border: none;
  font-weight: 600; font-size: 0.9rem; color: var(--text-muted);
  background: transparent; transition: var(--transition);
}
.modal-tab.active { background: var(--gold); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Formuláře */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid rgba(200,151,58,0.2);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.form-input:focus { border-color: var(--gold); background: #fff; }
.form-input::placeholder { color: rgba(122,101,80,0.5); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }
.form-msg { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 0.9rem; display: none; }
.form-msg.success { background: rgba(76,140,52,0.1); color: #2d7a22; border: 1px solid rgba(76,140,52,0.3); display: block; }
.form-msg.error { background: rgba(220,53,69,0.1); color: #c82333; border: 1px solid rgba(220,53,69,0.2); display: block; }
.form-link { color: var(--gold-dark); font-weight: 600; text-decoration: underline; cursor: pointer; font-size: 0.88rem; }

/* ============================================================
   KOŠÍK PANEL
   ============================================================ */
.cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 440px; max-width: 100%;
  background: var(--warm-white);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
  z-index: 2001;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.cart-panel.open { transform: translateX(0); }
.cart-header {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(200,151,58,0.15);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h2 { font-family: var(--font-display); font-size: 1.4rem; color: var(--brown); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-item {
  display: flex; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(200,151,58,0.1);
}
.cart-item-img {
  width: 72px; height: 72px; border-radius: var(--radius-sm);
  object-fit: cover; flex-shrink: 0;
  background: var(--cream);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 0.9rem; color: var(--brown); margin-bottom: 4px; }
.cart-item-vcelar { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(200,151,58,0.3);
  background: var(--cream); color: var(--brown);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition);
}
.qty-btn:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.qty-num { font-weight: 700; font-size: 0.95rem; min-width: 24px; text-align: center; }
.cart-item-price { font-weight: 700; color: var(--gold-dark); white-space: nowrap; }
.cart-item-remove { color: var(--text-muted); background: none; border: none; font-size: 1.1rem; transition: var(--transition); }
.cart-item-remove:hover { color: #c82333; }

.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.cart-empty-icon { font-size: 4rem; margin-bottom: 16px; opacity: 0.4; }
.cart-empty h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--brown); margin-bottom: 8px; }

.cart-footer { padding: 24px 28px; border-top: 1px solid rgba(200,151,58,0.15); }
.cart-summary { margin-bottom: 20px; }
.cart-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 0.9rem; color: var(--text-muted); }
.cart-row strong { color: var(--brown); }
.cart-total { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 2px solid rgba(200,151,58,0.2); }
.cart-total span { font-weight: 700; font-size: 1.1rem; color: var(--brown); }
.cart-total .total-price { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-dark); }
.shipping-select { width: 100%; margin-bottom: 16px; padding: 12px 16px; border: 2px solid rgba(200,151,58,0.2); border-radius: var(--radius-sm); background: var(--cream); color: var(--text); font-size: 0.9rem; outline: none; }
.shipping-select:focus { border-color: var(--gold); }

/* ============================================================
   TIKETY PODPORY
   ============================================================ */
.support-section { background: var(--cream); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.support-info h3 { font-family: var(--font-display); font-size: 1.8rem; color: var(--brown); margin-bottom: 16px; }
.support-info p { color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.support-contact-item { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.support-contact-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(200,151,58,0.12); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.support-contact-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.support-contact-item strong { color: var(--brown); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand .logo { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 16px; }
.footer-brand .logo span { color: var(--gold-light); }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; max-width: 280px; }
.footer-col h4 { color: var(--gold-light); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom a { color: var(--gold-light); }

/* ============================================================
   TOAST NOTIFIKACE
   ============================================================ */
#toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9998;
  display: flex; flex-direction: column; gap: 12px;
  max-width: 380px;
}
.toast {
  background: var(--brown);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  display: flex; align-items: flex-start; gap: 14px;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid var(--gold);
}
.toast.success { border-left-color: #4C8C34; }
.toast.error   { border-left-color: #c82333; }
.toast-icon { font-size: 1.2rem; flex-shrink: 0; }
.toast-body strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.toast-body p { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin: 0; }

/* ============================================================
   DROPDOWN UŽIVATELE
   ============================================================ */
.user-menu { position: relative; }
.user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--warm-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  min-width: 200px;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: var(--transition);
  overflow: hidden;
  z-index: 100;
}
.user-menu:hover .user-dropdown,
.user-dropdown.show { opacity: 1; pointer-events: all; transform: translateY(0); }
.user-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  font-size: 0.9rem; color: var(--text);
  transition: background 0.2s;
  cursor: pointer;
}
.user-dropdown-item:hover { background: var(--cream); color: var(--gold-dark); }
.user-dropdown-item.danger { color: #c82333; }
.user-dropdown-divider { height: 1px; background: rgba(200,151,58,0.15); }

/* ============================================================
   OBJEDNÁVKOVÝ FORMULÁŘ
   ============================================================ */
.order-section { max-width: 600px; margin: 0 auto; }
.shipping-option {
  border: 2px solid rgba(200,151,58,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: space-between;
}
.shipping-option:hover { border-color: var(--gold); background: rgba(200,151,58,0.04); }
.shipping-option.selected { border-color: var(--gold); background: rgba(200,151,58,0.08); }
.shipping-option label { cursor: pointer; display: flex; align-items: center; gap: 12px; flex: 1; }
.shipping-option input[type="radio"] { accent-color: var(--gold); width: 18px; height: 18px; }
.shipping-logo { font-size: 1.4rem; }
.shipping-info strong { display: block; font-size: 0.9rem; color: var(--brown); }
.shipping-info span { font-size: 0.8rem; color: var(--text-muted); }
.shipping-price { font-weight: 700; color: var(--gold-dark); white-space: nowrap; }

/* ============================================================
   ANIMACE
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-in { animation: fadeInUp 0.6s ease both; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }
.animate-in:nth-child(5) { animation-delay: 0.4s; }
.animate-in:nth-child(6) { animation-delay: 0.5s; }

.loading { display: flex; justify-content: center; padding: 60px; }
.spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(200,151,58,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ============================================================
   RESPONZIVITA
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #navbar { padding: 0 20px; }
  .nav-links, .btn-nav-user { display: none; }
  .hamburger { display: flex; }
  section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 2.2rem; }
  .cart-panel { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .modal { max-width: 100%; margin: 16px; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: rgba(255,255,255,0.8);
  padding: 12px 40px;
  text-align: center;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-nav-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: #fff; font-size: 1.5rem;
}

/* ============================================================
   STRÁNKA VČELAŘŮ (pro jednotlivé HTML)
   ============================================================ */
.vcelar-page-hero {
  min-height: 50vh;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brown) 0%, var(--gold-dark) 100%);
  padding-bottom: 60px;
}
.vcelar-page-info { position: relative; z-index: 2; color: #fff; }
.vcelar-page-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 5px solid rgba(255,255,255,0.3);
  object-fit: cover;
  margin-bottom: 20px;
}
.vcelar-page-name { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; }
