/**
 * MyChooz Aesthetic v2.1 + Complete Standards System
 * Полная система стандартов: Colors, Typography, Animations, Responsive, Performance
 * 
 * КРИТИЧНО: Все блоки должны использовать ТОЛЬКО эти токены
 * Документация: 
 * - /src/core/COLOR_STANDARDS.md
 * - /src/core/TYPOGRAPHY_STANDARD.md
 * - /src/core/ANIMATION_STANDARD.md
 * - /src/core/RESPONSIVENESS_STANDARD.md
 * - /src/core/PERFORMANCE_STANDARD.md
 * - /src/core/CONTENT_STANDARD.md
 * - /src/core/TESTING_STANDARD.md
 */

:root {
  /* 💰 ГРУППА МОНЕТИЗАЦИИ - красные */
  --mychooz-primary: #e71d1d;      /* Кнопки покупки (главный CTA) */
  --mychooz-model: #d73527;        /* Заголовки моделей */
  
  /* 🔗 ГРУППА НАВИГАЦИИ - синие */
  --mychooz-link: #1a0dab;         /* Google link blue for content */
  --mychooz-interactive: #2563eb;  /* Фильтры, селекты */
  
  /* 📝 ГРУППА КОНТЕНТА - серые */
  --mychooz-text: #1a202c;         /* Основной текст */
  --mychooz-text-muted: #64748b;   /* Второстепенный текст */
  --mychooz-text-disabled: #a1a1aa; /* Отключенные элементы */
  
  /* 📢 ГРУППА СТАТУСОВ */
  --mychooz-success: #059669;      /* Darker green for better readability */
  --mychooz-warning: #f59e0b;      /* Предупреждения, осталось мало */
  --mychooz-error: #dc2626;        /* Ошибки, нет в наличии */
  --mychooz-important: #1e40af;    /* Важный текст (темно-синий) */
  
  /* 🎨 HOVER СОСТОЯНИЯ */
  --mychooz-primary-hover: #d71d1d;
  --mychooz-link-hover: #1a0dab;       /* Same as base link for consistency */
  --mychooz-interactive-hover: #0d5d56;
  
  /* 🔍 FOCUS И ACCESSIBILITY */
  --mychooz-focus: rgba(29, 78, 216, 0.2);
  
  /* 💎 ПРЕМИУМ ГРАДИЕНТЫ */
  --mychooz-gradient-gold: linear-gradient(135deg, #fbbf24, #f59e0b);
  --mychooz-gradient-premium: linear-gradient(135deg, #6366f1, #8b5cf6);
  
  /* 🌙 OVERLAY */
  --mychooz-overlay: rgba(0, 0, 0, 0.5);
  
  /* Светлая тема - фоны и поверхности */
  --mychooz-bg: #ffffff;
  --mychooz-surface: #f8f9fa;
  --mychooz-border: #e2e8f0;
  
  /* Тёмная тема - медиа запрос ниже */
  
  /* 8px сетка - всё кратно 8 */
  --mychooz-space-1: 8px;   /* 1 unit */
  --mychooz-space-2: 16px;  /* 2 units */
  --mychooz-space-3: 24px;  /* 3 units */
  --mychooz-space-4: 32px;  /* 4 units */
  
  /* Типографика - 2-3 размера */
  --mychooz-text-sm: 14px;     /* Мелкий */
  --mychooz-text-base: 16px;   /* Основной */
  --mychooz-text-lg: 20px;     /* Заголовок */
  
  /* Мягкие углы - 4-8px */
  --mychooz-radius: 6px;
  --mychooz-radius-lg: 8px;
  
  /* Едва заметные тени */
  --mychooz-shadow: 0 1px 3px rgba(0,0,0,0.05);
  --mychooz-shadow-md: 0 2px 6px rgba(0,0,0,0.08);
  
  /* ⏱️ ANIMATION TIMING SYSTEM */
  --mychooz-duration-fast: 150ms;     /* Hover эффекты */
  --mychooz-duration-normal: 200ms;   /* Focus states */
  --mychooz-duration-slow: 300ms;     /* Модальные окна */
  --mychooz-ease-default: ease;
  --mychooz-ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --mychooz-ease-in-out: cubic-bezier(0.42, 0, 0.58, 1);
  
  /* Legacy support */
  --mychooz-transition: var(--mychooz-duration-fast) var(--mychooz-ease-out);
  
  /* 📱 RESPONSIVENESS BREAKPOINTS */
  --mychooz-breakpoint-xs: 320px;     /* Mobile Small */
  --mychooz-breakpoint-sm: 480px;     /* Mobile Large */
  --mychooz-breakpoint-md: 768px;     /* Tablet */
  --mychooz-breakpoint-lg: 1024px;    /* Desktop Small */
  --mychooz-breakpoint-xl: 1200px;    /* Desktop Large */
  
  /* 📝 TYPOGRAPHY SCALE */
  --mychooz-leading-tight: 1.2;       /* Заголовки */
  --mychooz-leading-normal: 1.5;      /* UI элементы */
  --mychooz-leading-relaxed: 1.6;     /* Основной текст */
  --mychooz-leading-loose: 1.8;       /* Длинные тексты */
}

/* 🌙 Тёмная тема - цвета адаптируются автоматически */
@media (prefers-color-scheme: dark) {
  :root {
    /* Фоны и поверхности инвертируются */
    --mychooz-bg: #111827;
    --mychooz-surface: #1f2937;
    --mychooz-border: #374151;
    
    /* Текст инвертируется */
    --mychooz-text: #f9fafb;
    --mychooz-text-muted: #9ca3af;
    --mychooz-text-disabled: #6b7280;
    
    /* Цвета монетизации, навигации и статусов остаются без изменений */
    /* для максимальной узнаваемости и конверсии */
  }
}

/* 🏷️ Статусы товаров - готовые классы */
.mychooz-badge-new { 
  background: var(--mychooz-success); 
  color: white; 
  padding: 4px 8px; 
  border-radius: 4px; 
  font-size: 12px; 
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mychooz-badge-popular { 
  background: var(--mychooz-warning); 
  color: white; 
  padding: 4px 8px; 
  border-radius: 4px; 
  font-size: 12px; 
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mychooz-badge-sale { 
  background: var(--mychooz-primary); 
  color: white; 
  padding: 4px 8px; 
  border-radius: 4px; 
  font-size: 12px; 
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mychooz-badge-out { 
  background: var(--mychooz-text-disabled); 
  color: white; 
  padding: 4px 8px; 
  border-radius: 4px; 
  font-size: 12px; 
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 💎 Премиум бейджи */
.mychooz-badge-premium {
  background: var(--mychooz-gradient-premium);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mychooz-badge-gold {
  background: var(--mychooz-gradient-gold);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 🔘 UI КОМПОНЕНТЫ - готовые классы v1.0 */

/* КНОПКИ */
.mychooz-btn-primary {
  background: var(--mychooz-primary);
  color: white;
  border: 2px solid var(--mychooz-primary);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
  text-align: center;
  gap: 8px;
}

.mychooz-btn-primary:hover {
  background: var(--mychooz-primary-hover);
  border-color: var(--mychooz-primary-hover);
  color: white;
  text-decoration: none;
}

.mychooz-btn-secondary {
  background: transparent;
  color: var(--mychooz-important);
  border: 2px solid var(--mychooz-important);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
  text-align: center;
  gap: 8px;
}

.mychooz-btn-secondary:hover {
  background: var(--mychooz-important);
  color: white;
  text-decoration: none;
}

.mychooz-btn-disabled {
  background: var(--mychooz-text-disabled);
  color: white;
  border: 2px solid var(--mychooz-text-disabled);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: not-allowed;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
}

/* ИНПУТЫ И СЕЛЕКТЫ */
.mychooz-input {
  padding: 12px 16px;
  border: 2px solid var(--mychooz-border);
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.5;
  background: var(--mychooz-bg);
  color: var(--mychooz-text);
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

/* Для мобильных - предотвращаем zoom при фокусе */
@media (max-width: 768px) {
  .mychooz-input,
  .mychooz-select {
    font-size: 16px; /* Минимум 16px чтобы не зумился iOS */
  }
}

.mychooz-input:focus {
  outline: none;
  border-color: var(--mychooz-interactive);
  box-shadow: 0 0 0 3px var(--mychooz-focus);
}

.mychooz-input-error {
  border-color: var(--mychooz-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.mychooz-select {
  padding: 12px 40px 12px 16px;
  border: 2px solid var(--mychooz-border);
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.5;
  background: var(--mychooz-bg);
  color: var(--mychooz-text);
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%236b7280' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.mychooz-select:focus {
  outline: none;
  border-color: var(--mychooz-interactive);
  box-shadow: 0 0 0 3px var(--mychooz-focus);
}

/* ССЫЛКИ */
.mychooz-link {
  color: var(--mychooz-link) !important;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mychooz-link:hover {
  color: var(--mychooz-link-hover) !important;
  text-decoration: underline;
}

.mychooz-link-button {
  background: transparent;
  color: var(--mychooz-link) !important;
  border: 2px solid var(--mychooz-link);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-sizing: border-box;
}

.mychooz-link-button:hover {
  background: var(--mychooz-link);
  color: white !important;
  text-decoration: none;
}

/* МОДАЛЬНЫЕ ОКНА */
.mychooz-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--mychooz-overlay);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mychooz-modal {
  background: var(--mychooz-bg);
  border-radius: var(--mychooz-radius-lg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 24px;
}

.mychooz-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--mychooz-text-muted);
  transition: color 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mychooz-modal-close:hover {
  color: var(--mychooz-text);
}

/* ЛОАДЕРЫ */
.mychooz-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--mychooz-border);
  border-top-color: var(--mychooz-primary);
  border-radius: 50%;
  animation: mychooz-spin 1s linear infinite;
  flex-shrink: 0; /* Не сжимается во flex контейнерах */
}

.mychooz-spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}

.mychooz-spinner-lg {
  width: 32px;
  height: 32px;
  border-width: 3px;
}

/* Loading text helper */
.mychooz-loading-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--mychooz-text-muted);
  font-size: 14px;
}

@keyframes mychooz-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================================
 * 📝 TYPOGRAPHY STANDARD CLASSES v0.1
 * ============================================================================ */

/* Heading hierarchy */
.mychooz-h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: var(--mychooz-leading-tight);
  color: var(--mychooz-text);
  margin: 0 0 24px 0;
}

.mychooz-h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mychooz-model);
  margin: 32px 0 16px 0;
}

.mychooz-h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--mychooz-text);
  margin: 24px 0 12px 0;
}

.mychooz-h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--mychooz-model);
  margin: 20px 0 8px 0;
}

/* Text sizes */
.mychooz-text-xl {
  font-size: 18px;
  line-height: var(--mychooz-leading-relaxed);
  color: var(--mychooz-text);
  font-weight: 400;
}

.mychooz-text-base {
  font-size: 16px;
  line-height: var(--mychooz-leading-relaxed);
  color: var(--mychooz-text);
  font-weight: 400;
}

.mychooz-text-sm {
  font-size: 14px;
  line-height: var(--mychooz-leading-normal);
  color: var(--mychooz-text-muted);
  font-weight: 400;
}

/* Font weights */
.mychooz-font-normal { font-weight: 400; }
.mychooz-font-medium { font-weight: 500; }
.mychooz-font-semibold { font-weight: 600; }
.mychooz-font-bold { font-weight: 700; }

/* Text colors */
.mychooz-text-primary { color: var(--mychooz-text); }
.mychooz-text-muted { color: var(--mychooz-text-muted); }
.mychooz-text-disabled { color: var(--mychooz-text-disabled); }
.mychooz-text-important { color: var(--mychooz-important); }
.mychooz-text-model { color: var(--mychooz-model); }
.mychooz-text-success { color: var(--mychooz-success); }
.mychooz-text-error { color: var(--mychooz-error); }
.mychooz-text-warning { color: var(--mychooz-warning); }

/* Text links */
.mychooz-text-link {
  color: var(--mychooz-link);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all var(--mychooz-duration-fast) var(--mychooz-ease-out);
}

.mychooz-text-link:hover {
  color: var(--mychooz-link-hover);
  border-bottom-color: var(--mychooz-link-hover);
}

/* Lists */
.mychooz-list {
  margin: 16px 0;
  padding-left: 20px;
}

.mychooz-list li {
  margin-bottom: 8px;
  line-height: var(--mychooz-leading-relaxed);
}

.mychooz-pros li::marker { content: "✅ "; }
.mychooz-cons li::marker { content: "❌ "; }

/* Quotes and highlights */
.mychooz-quote {
  background: #f5f5f7;
  color: #1d1d1f;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  border-radius: 8px;
  border: none;
}

.mychooz-highlight {
  background: rgba(231, 29, 29, 0.1);
  color: var(--mychooz-primary);
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 500;
}

.mychooz-content-width {
  max-width: 65ch;
  margin: 0 auto;
}

/* Mobile typography adaptations */
@media (max-width: 600px) {
  .mychooz-h1 {
    font-size: 32px;
    margin: 0 0 20px 0;
  }
  
  .mychooz-h2 {
    font-size: 26px;
    margin: 24px 0 12px 0;
  }
  
  .mychooz-h3 {
    font-size: 22px;
    margin: 20px 0 10px 0;
  }
  
  .mychooz-text-base {
    line-height: 1.7;
  }
  
  .mychooz-mobile-compact {
    margin-top: 16px;
    margin-bottom: 12px;
  }
  
  .mychooz-quote {
    font-size: 16px;
    padding: 16px 20px;
    margin: 20px 0;
  }
}

/* Rating System Classes - специально для блока Rating-table */
.mychooz-rating-model {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #cf2e2e;
  line-height: 1.3;
  margin: 18px 0 8px 0;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.mychooz-rating-title {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #000000;
  line-height: 1.4;
  margin: 8px 0 18px 0;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Мобильная адаптация рейтинговой системы */
@media screen and (max-width: 375px) {
  .mychooz-rating-model {
    font-size: 22px;
    margin: 16px 0 6px 0;
  }
  
  .mychooz-rating-title {
    font-size: 20px;
    margin: 6px 0 14px 0;
  }
}

/* macOS-style Select and Form Controls */
.mychooz-select {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  color: #374151;
  outline: none;
  transition: all 150ms ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  min-height: 36px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.mychooz-select:hover:not(:focus) {
  border-color: #9ca3af;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mychooz-select:focus {
  border-color: #3b82f6;
  box-shadow: 
    0 0 0 3px rgba(59, 130, 246, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

.mychooz-select.selected {
  border-color: var(--mychooz-success);
  background-color: rgba(16, 185, 129, 0.02);
  animation: selection-confirm 0.3s ease;
}

@keyframes selection-confirm {
  0% { background-color: rgba(16, 185, 129, 0.08); }
  100% { background-color: rgba(16, 185, 129, 0.02); }
}

/* macOS-style Input fields */
.mychooz-input {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  color: #374151;
  outline: none;
  transition: all 150ms ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  min-height: 36px;
}

.mychooz-input:hover:not(:focus) {
  border-color: #9ca3af;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mychooz-input:focus {
  border-color: #3b82f6;
  box-shadow: 
    0 0 0 3px rgba(59, 130, 246, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ============================================================================
 * 🎪 ANIMATION STANDARD CLASSES v1.0
 * ============================================================================ */

/* Transition utilities */
.mychooz-transition-fast {
  transition-duration: var(--mychooz-duration-fast);
}

.mychooz-transition-normal {
  transition-duration: var(--mychooz-duration-normal);
}

.mychooz-transition-slow {
  transition-duration: var(--mychooz-duration-slow);
}

.mychooz-ease { transition-timing-function: var(--mychooz-ease-default); }
.mychooz-ease-out { transition-timing-function: var(--mychooz-ease-out); }
.mychooz-ease-in-out { transition-timing-function: var(--mychooz-ease-in-out); }

/* Comprehensive transitions */
.mychooz-transition-all {
  transition: all var(--mychooz-duration-normal) var(--mychooz-ease-out);
}

.mychooz-transition-colors {
  transition: background-color var(--mychooz-duration-fast) var(--mychooz-ease-out),
              border-color var(--mychooz-duration-fast) var(--mychooz-ease-out),
              color var(--mychooz-duration-fast) var(--mychooz-ease-out);
}

.mychooz-transition-transform {
  transition: transform var(--mychooz-duration-normal) var(--mychooz-ease-out);
}

.mychooz-transition-opacity {
  transition: opacity var(--mychooz-duration-normal) var(--mychooz-ease-out);
}

/* Entrance animations */
@keyframes mychooz-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mychooz-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mychooz-scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.mychooz-fade-in { 
  animation: mychooz-fade-in var(--mychooz-duration-normal) var(--mychooz-ease-out); 
}

.mychooz-slide-up { 
  animation: mychooz-slide-up var(--mychooz-duration-normal) var(--mychooz-ease-out); 
}

.mychooz-scale-in { 
  animation: mychooz-scale-in var(--mychooz-duration-normal) var(--mychooz-ease-out); 
}

/* Micro animations */
@keyframes mychooz-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes mychooz-shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes mychooz-wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

.mychooz-bounce { animation: mychooz-bounce 0.6s ease; }
.mychooz-shake { animation: mychooz-shake 0.6s ease; }
.mychooz-wobble { animation: mychooz-wobble 0.8s ease; }

/* Transform effects */
.mychooz-transform-lift:hover {
  transform: translateY(-2px);
}

.mychooz-transform-scale:hover {
  transform: scale(1.05);
}

.mychooz-card {
  transition: transform var(--mychooz-duration-normal) var(--mychooz-ease-out),
              box-shadow var(--mychooz-duration-normal) var(--mychooz-ease-out);
}

.mychooz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Loading states */
@keyframes mychooz-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.mychooz-loading-pulse {
  animation: mychooz-pulse 2s ease-in-out infinite;
}

/* GPU optimization */
.mychooz-gpu-optimized {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .mychooz-transition-fast,
  .mychooz-transition-normal,
  .mychooz-transition-slow {
    transition-duration: 0.01ms !important;
  }
  
  .mychooz-fade-in,
  .mychooz-slide-up,
  .mychooz-scale-in {
    animation: none !important;
  }
}

/* ============================================================================
 * 📱 RESPONSIVENESS STANDARD CLASSES v1.0
 * ============================================================================ */

/* Responsive grid system */
.mychooz-grid-responsive {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .mychooz-grid-responsive {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .mychooz-grid-responsive {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .mychooz-grid-responsive {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

/* Touch targets */
.mychooz-touch-target {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
}

/* Responsive images */
.mychooz-img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Visibility utilities */
.mychooz-show-mobile { display: block; }
.mychooz-hide-mobile { display: none; }
.mychooz-show-tablet { display: none; }
.mychooz-show-desktop { display: none; }

@media (min-width: 768px) {
  .mychooz-show-mobile { display: none; }
  .mychooz-hide-mobile { display: block; }
  .mychooz-show-tablet { display: block; }
}

@media (min-width: 1024px) {
  .mychooz-show-tablet { display: none; }
  .mychooz-show-desktop { display: block; }
}

/* Spacing utilities */
.mychooz-p-mobile { padding: 16px; }
.mychooz-m-mobile { margin: 16px; }

@media (min-width: 768px) {
  .mychooz-p-tablet { padding: 24px; }
  .mychooz-m-tablet { margin: 24px; }
}

@media (min-width: 1024px) {
  .mychooz-p-desktop { padding: 32px; }
  .mychooz-m-desktop { margin: 32px; }
}

/* Compact mobile layouts */
.mychooz-compact-mobile {
  padding: 12px 16px;
  margin: 8px 0;
}

@media (min-width: 768px) {
  .mychooz-compact-mobile {
    padding: 16px 24px;
    margin: 16px 0;
  }
}

/* Safe area for iPhone X+ */
.mychooz-safe-area {
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

/* iOS fixes */
.mychooz-vh-mobile {
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height */
}

/* ============================================================================
 * 📄 CONTENT STANDARD CLASSES v1.0
 * ============================================================================ */

/* Content containers */
.mychooz-content-section {
  margin: var(--mychooz-space-3, 24px) 0;
  padding: 0;
}

.mychooz-content-section + .mychooz-content-section {
  margin-top: var(--mychooz-space-4, 32px);
}

/* Image blocks */
.mychooz-image-block {
  display: block;
  margin: var(--mychooz-space-2, 16px) auto;
  text-align: center;
}

.mychooz-image-block img {
  max-width: 100%;
  height: auto;
  border-radius: var(--mychooz-radius, 8px);
  box-shadow: var(--mychooz-shadow, 0 2px 4px rgba(0,0,0,0.1));
}

/* Price blocks */
.mychooz-price-block {
  display: flex;
  gap: var(--mychooz-space-1, 8px);
  margin: var(--mychooz-space-2, 16px) 0;
  flex-wrap: wrap;
}

.mychooz-price-button {
  display: inline-flex;
  align-items: center;
  padding: var(--mychooz-space-1, 8px) var(--mychooz-space-2, 16px);
  background: var(--mychooz-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--mychooz-radius, 6px);
  font-weight: 500;
  transition: var(--mychooz-transition);
}

.mychooz-price-button:hover {
  background: var(--mychooz-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--mychooz-shadow-md, 0 4px 8px rgba(0,0,0,0.15));
}

/* Utility classes */
.mychooz-text-center { text-align: center; }
.mychooz-text-left { text-align: left; }
.mychooz-text-right { text-align: right; }

.mychooz-mb-1 { margin-bottom: var(--mychooz-space-1, 8px); }
.mychooz-mb-2 { margin-bottom: var(--mychooz-space-2, 16px); }
.mychooz-mb-3 { margin-bottom: var(--mychooz-space-3, 24px); }
.mychooz-mb-4 { margin-bottom: var(--mychooz-space-4, 32px); }

.mychooz-mt-1 { margin-top: var(--mychooz-space-1, 8px); }
.mychooz-mt-2 { margin-top: var(--mychooz-space-2, 16px); }
.mychooz-mt-3 { margin-top: var(--mychooz-space-3, 24px); }
.mychooz-mt-4 { margin-top: var(--mychooz-space-4, 32px); }

