/* CSS VARIABLES - Definice barev a stínů */
:root {
  --brand-yellow: #ffde00;
  --brand-black: #000;
  --gray-light: #f4f6f8;
  --gray-bg: #fff;
  --dark-gray: #333;
  --success: #388e3c;
  --error: #d32f2f;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
}

/* ZÁKLADNÍ RESET STYLŮ */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-light);
  color: var(--brand-black);
}

/* ============================================
   LAYOUT - Hlavní rozložení stránky
   ============================================ */
.wizard {
  display: flex;
  min-height: 100vh;
}

/* reCAPTCHA v3 badge is hidden */
.grecaptcha-badge {
  display: none !important;
}

/* SIDEBAR - Levé menu s kroky */
.sidebar {
  width: 280px;
  background: var(--gray-bg);
  border-right: 1px solid rgba(0,0,0,0.1);
  padding: 2rem 1.5rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

/* HLAVNÍ OBSAH - Pravá strana s kroky */
.content {
  flex: 1;
  padding: 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* ============================================
   PROGRESS BAR - Ukazatel postupu
   ============================================ */
.progress-wrapper {
  margin-bottom: 2rem;
}

.progress-container {
  position: relative;
  width: 100%;
  height: 8px;
  background: rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-yellow) 0%, #f0c800 100%);
  border-radius: 8px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(255, 222, 0, 0.4);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--dark-gray);
}

/* ============================================
   SIDEBAR COMPONENTS - Komponenty postranního menu
   ============================================ */
.sidebar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 600;
}

/* MENU KROKŮ - Seznam kroků v sidebaru */
.menu {
  list-style: none;
  flex-grow: 1;
}

.menu-item {
  padding: 0.875rem 1.25rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.3s;
}

.menu-item.done {
  color: var(--success);
  cursor: pointer;
}

.menu-item.done .menu-icon {
  background: var(--success);
  color: white;
}

.menu-item.current {
  background: rgba(255, 222, 0, 0.15);
  font-weight: 600;
}

.menu-item.current::before {
  background: var(--brand-yellow);
}

.menu-item.current .menu-icon {
  background: var(--brand-yellow);
  color: var(--brand-black);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.menu-item.done:hover {
  background: rgba(0,0,0,0.05);
}

.menu-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s;
  flex-shrink: 0;
}

/* ============================================
   QUICK LINKS - Rychlé odkazy v sidebaru
   ============================================ */
.quick-links {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--gray-light);
  border-radius: 8px;
  border: 2px solid rgba(255, 222, 0, 0.3);
}

.quick-links-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-black);
  margin-bottom: 1rem;
  text-align: center;
}

.quick-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.quick-link-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--gray-bg);
  border-radius: 6px;
  text-decoration: none;
  color: var(--brand-black);
  transition: all 0.2s;
  border: 1px solid transparent;
}

.quick-link-item:hover {
  background: rgba(255, 222, 0, 0.1);
  border-color: var(--brand-yellow);
  transform: translateX(2px);
}

.quick-link-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.quick-link-text {
  font-size: 0.875rem;
  font-weight: 500;
}

/* NAVIGAČNÍ TLAČÍTKA V SIDEBARU */
.nav-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn-nav {
  flex: 1;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--brand-black);
}

.btn-nav:hover:not(:disabled) {
  background: var(--gray-light);
  border-color: var(--brand-yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-nav.primary {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  font-weight: 600;
  color: var(--brand-black);
}

.btn-nav.primary:hover:not(:disabled) {
  background: #f0c800;
  transform: translateY(-2px);
}

/* FOOTER SIDEBARU */
.sidebar-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  text-align: center;
}

.gdpr-sidebar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 6px;
  text-decoration: none;
  color: var(--dark-gray);
  font-size: 0.75rem;
  transition: all 0.2s;
  margin-bottom: 1rem;
}

.gdpr-sidebar-link:hover {
  background: var(--gray-light);
  color: var(--brand-black);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.copyright {
  font-size: 0.75rem;
  color: var(--dark-gray);
  opacity: 0.7;
}

/* ============================================
   CONTACT BLOCK - Blok s kontaktními údaji
   ============================================ */
.contact-block {
  background: var(--gray-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin: 2rem 0;
  transition: all 0.3s;
}

.contact-block.hidden {
  display: none;
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--brand-yellow);
  object-position: bottom;
}

.contact-details {
  flex: 1;
}

.contact-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-black);
  margin-bottom: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.contact-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.contact-link {
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}

.contact-link:hover {
  color: var(--brand-yellow);
  text-decoration: underline;
}

/* ============================================
   BREADCRUMB - Drobečková navigace
   ============================================ */
.breadcrumb {
  font-size: 0.875rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb span:not(:last-child)::after {
  content: '›';
  margin-left: 0.5rem;
  color: rgba(0,0,0,0.3);
}

/* ============================================
   STEPS - Jednotlivé kroky konfigurace
   ============================================ */
.step {
  display: none;
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step.active {
  display: block;
}

.step-header {
  margin-bottom: 2rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--brand-yellow);
  color: var(--brand-black);
  border-radius: 50%;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.step-subtitle {
  font-size: 1.125rem;
  color: var(--dark-gray);
  line-height: 1.6;
}

/* MALÉ IKONKY V SIDEBARU */
.sidebar-icon{
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-bottom: -5px;
  border-radius: 20px;
}

/* ============================================
   OPTIONS - Tlačítka pro výběr možností
   ============================================ */
.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.option-btn {
  position: relative;
  padding: 1.5rem;
  background: var(--gray-bg);
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-height: 160px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.option-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, var(--brand-yellow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.option-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-yellow);
}

.option-btn:hover::before {
  opacity: 0.1;
}

.option-btn.selected {
  background: rgba(255, 222, 0, 0.1);
  border-color: var(--brand-yellow);
  transform: scale(1.02);
  animation: selectPulse 0.4s ease;
}

.option-btn.selected::after {
  content: '✓';
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 24px;
  height: 24px;
  background: var(--brand-yellow);
  color: var(--brand-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  animation: checkIn 0.3s ease;
}

@keyframes selectPulse {
  0%, 100% { transform: scale(1.02); }
  50% { transform: scale(1.06); }
}

@keyframes checkIn {
  0% { transform: scale(0) rotate(-180deg); }
  100% { transform: scale(1) rotate(0); }
}

.option-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s;
}

.option-btn:hover .option-icon {
  transform: scale(1.1);
  background: rgba(255, 222, 0, 0.2);
}

.option-label {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}

.option-description {
  font-size: 0.875rem;
  color: var(--dark-gray);
  margin-top: 0.25rem;
}

/* ============================================
   PRODUCT INFO - Informace o produktu
   ============================================ */
.product-info {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: var(--gray-bg);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.product-info.hidden {
  display: none;
}

.prod-img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.prod-details h3 {
  margin: 0 0 0.5rem 0;
  color: var(--brand-black);
  font-size: 1.5rem;
}

.prod-details p {
  margin: 0.5rem 0;
  color: var(--dark-gray);
  line-height: 1.6;
}

.prod-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-black);
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.5rem;
  transition: all 0.2s;
}

.prod-link:hover {
  gap: 0.75rem;
  text-decoration: underline;
}

/* ============================================
   PRODUCT VIDEO - Video ukázka
   ============================================ */
.prod-video {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 2rem !important;
}

.prod-video-element {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.prod-video.hidden {
  display: none;
}

/* ============================================
   PRODUCT GALLERY - Galerie obrázků
   ============================================ */
.prod-gallery {
  margin-bottom: 2rem;
}

.prod-gallery.hidden {
  display: none;
}

.gallery-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-black);
  margin-bottom: 1rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.gallery-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* ============================================
   GDPR PAGE - Stránka s ochranou údajů
   ============================================ */
.gdpr-content {
  background: var(--gray-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  max-height: 70vh;
  overflow-y: auto;
  line-height: 1.6;
}

.gdpr-section {
  margin-bottom: 2rem;
}

.gdpr-section h3 {
  color: var(--brand-yellow);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--brand-yellow);
  padding-bottom: 0.5rem;
}

.gdpr-section h4 {
  color: var(--brand-black);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
}

.gdpr-section p {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.gdpr-section ul {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--dark-gray);
}

.gdpr-section li {
  margin-bottom: 0.5rem;
}

.contact-info {
  background: var(--gray-light);
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.contact-info ul {
  margin: 0.5rem 0 0 0;
  list-style: none;
}

.contact-info li {
  margin-bottom: 0.25rem;
}

.gdpr-actions {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  text-align: center;
}

.gdpr-link {
  color: black;
  text-decoration: underline;
  cursor: pointer;
}

.gdpr-link:hover {
  color: #f0c800;
}

/* ============================================
   LIGHTBOX - Zobrazení obrázků na celou obrazovku
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: var(--shadow-md);
}

.lightbox-close:hover {
  background: #f0c800;
  transform: scale(1.1);
}

/* ============================================
   FORM STYLES - Styly pro formulář
   ============================================ */
.calc-intro {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
  text-align: center;
}

.calc-form {
  background: var(--gray-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.form-section {
  margin-bottom: 2rem;
}

.form-section-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--brand-black);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 1rem 0.75rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
  background: var(--gray-bg);
  color: var(--brand-black);
}

.form-field label {
  position: absolute;
  left: 0.75rem;
  top: 1rem;
  font-size: 0.9rem;
  color: #666;
  pointer-events: none;
  transition: all 0.2s;
  background: var(--gray-bg);
  padding: 0 0.25rem;
}

.form-field input:focus,
.form-field input:not(:placeholder-shown),
.form-field textarea:focus,
.form-field textarea:not(:placeholder-shown) {
  border-color: black;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  font-size: 0.75rem;
  color: var(--brand-black);
}

.gdpr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--brand-black);
}

.gdpr input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: var(--brand-black);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-submit:active {
  transform: translateY(0);
}

.response-msg {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  display: none;
}

.response-msg.show {
  display: block;
  animation: fadeInUp 0.3s ease;
}

.response-msg.error {
  background: rgba(211, 47, 47, 0.1);
  color: var(--error);
  border: 2px solid var(--error);
}

.response-msg.success {
  background: rgba(56, 142, 60, 0.1);
  color: var(--success);
  border: 2px solid var(--success);
}

/* ============================================
   FILE UPLOAD - Nahrávání souborů
   ============================================ */
.file-upload {
  margin-top: 1rem;
}

.file-label {
  display: block;
  cursor: pointer;
}

.file-label input[type="file"] {
  display: none;
}

.file-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--gray-light);
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
}

.file-button:hover {
  background: rgba(255, 222, 0, 0.1);
  border-color: var(--brand-yellow);
}

.file-info {
  display: block;
  font-size: 0.875rem;
  color: var(--dark-gray);
  margin-top: 0.5rem;
}

.file-list {
  margin-top: 1rem;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  background: var(--gray-light);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.file-remove {
  background: none;
  border: none;
  color: var(--error);
  cursor: pointer;
  font-weight: bold;
}

/* Hide tip icons */
.tip-icon {
  display: none;
}

.tooltip {
  position: fixed;
  padding: 0.75rem 1rem;
  background: var(--brand-black);
  color: white;
  border-radius: 8px;
  font-size: 0.875rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
}

.tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

.tooltip-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tooltip-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tooltip-image {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

/* ============================================
   MODAL DIALOG - Modální okno
   ============================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--gray-bg);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.modal-overlay.show .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--brand-yellow), #f0c800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  animation: modalPulse 2s infinite;
}

@keyframes modalPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-black);
  margin-bottom: 0.5rem;
}

.modal-content {
  padding: 0 2rem 1.5rem;
  text-align: center;
}

.modal-text {
  font-size: 1rem;
  color: var(--dark-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-progress-info {
  background: var(--gray-light);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.modal-progress-info strong {
  color: black;
}

.modal-actions {
  padding: 0 2rem 2rem;
  display: flex;
  gap: 1rem;
}

.modal-btn {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.modal-btn.primary {
  background: var(--brand-yellow);
  color: var(--brand-black);
}

.modal-btn.primary:hover {
  background: #f0c800;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.modal-btn.secondary {
  background: var(--gray-light);
  color: var(--dark-gray);
  border: 2px solid rgba(0,0,0,0.1);
}

.modal-btn.secondary:hover {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

/* ============================================
   TOAST NOTIFICATIONS - Upozornění
   ============================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  background: var(--brand-black);
  color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 90vw;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.25rem;
}

.toast.success {
  background: var(--success);
}

.toast.error {
  background: var(--error);
}

/* ============================================
   ANIMATIONS - Animace
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hidden {
  display: none !important;
}

/* VELKÉ IKONKY V MOŽNOSTECH */
.ikonka{
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
}

/* ============================================
   MOBILE RESPONSIVE - Mobilní verze
   ============================================ */
@media (max-width: 768px) {
  .wizard {
    flex-direction: column;
  }

  .sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    height: 100vh;
    z-index: 200;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    width: 260px;
  }

  .sidebar.open {
    left: 0;
  }

  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 199;
    display: none;
  }

  .sidebar.open + .sidebar-overlay {
    display: block;
  }

  .menu-toggle {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 201;
    width: 44px;
    height: 44px;
    background: var(--brand-yellow);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--brand-black);
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
  }

  .menu-toggle.hide-when-open {
    opacity: 0;
    pointer-events: none;
  }

  .content {
    padding: 5rem 1rem 10rem;
  }

  .options {
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .product-info {
    flex-direction: column;
    text-align: center;
  }

  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gray-bg);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 100;
    border-top: 1px solid rgba(0,0,0,0.1);
  }

  /* Quick links responsive */
  .quick-links {
    margin: 1rem 0;
    padding: 1rem;
  }

  .quick-links-title {
    font-size: 0.85rem;
  }

  .quick-link-item {
    padding: 0.625rem;
  }

  .quick-link-text {
    font-size: 0.8rem;
  }

  .toast {
    bottom: 5rem;
    right: 1rem;
    left: 1rem;
    transform: translateY(100px);
  }

  .toast.show {
    transform: translateY(0);
  }

  h2 {
    font-size: 1.5rem;
  }

  .step-subtitle {
    font-size: 1rem;
  }

  .option-btn {
    min-height: 120px;
    padding: 1rem;
  }

  .prod-img {
    width: 120px;
    height: 120px;
  }

  /* Modal responsive for tablets */
  .modal {
    max-width: 420px;
    margin: 2rem;
  }

  .modal-actions {
    flex-direction: row;
  }

  /* Gallery responsive */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .gallery-img {
    height: 120px;
  }

  /* GDPR responsive */
  .gdpr-content {
    padding: 1.5rem;
    max-height: 60vh;
  }

  /* Contact block responsive */
  .contact-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .contact-photo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 4rem 0.75rem 9rem;
  }

  .calc-form {
    padding: 1.5rem;
  }

  .options {
    gap: 1rem;
  }

  .option-btn {
    min-height: 100px;
    padding: 0.75rem;
  }

  .option-icon {
    width: 48px;
    height: 48px;
  }

  .ikonka {
    width: 60px;
  }

  /* Modal responsive */
  .modal {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }

  .modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }

  .modal-content {
    padding: 0 1.5rem 1rem;
  }

  .modal-actions {
    padding: 0 1.5rem 1.5rem;
    flex-direction: column;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-icon {
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }

  /* Gallery mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .gallery-img {
    height: 100px;
  }

  /* GDPR mobile responsive */
  .gdpr-content {
    padding: 1rem;
    max-height: 50vh;
  }

  .gdpr-section h3 {
    font-size: 1.1rem;
  }

  /* Lightbox mobile responsive */
  .lightbox-overlay {
    padding: 1rem;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  /* Contact block mobile responsive */
  .contact-block {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }

  .contact-photo {
    width: 90px;
    height: 90px;
  }

  .contact-title {
    font-size: 1.1rem;
  }

  .contact-name {
    font-size: 1rem;
  }
}

/* Large desktop responsive */
@media (min-width: 1200px) {
  .content {
    max-width: 1000px;
    padding: 2rem 4rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .gallery-img {
    height: 140px;
  }
}
