/* ============================================================
   IESA UTILITIES CSS - Вспомогательные классы
   Версия: 2.0
   
   Содержит:
   - Spacing (margin, padding)
   - Display
   - Flexbox
   - Text utilities
   - Colors
   - Sizing
   - Position
   - Borders
   - Opacity
   ============================================================ */

/* ====================================================
   1. DISPLAY
   ==================================================== */

.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-grid { display: grid !important; }

/* Grid System */
.grid {
  display: grid !important;
  gap: var(--space-6);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr) !important; }

/* Responsive Grid */
@media (max-width: 767.98px) {
  .grid-cols-3,
  .grid-cols-4,
  .grid-cols-5 {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .grid-cols-3,
  .grid-cols-4,
  .grid-cols-5 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .grid-cols-5 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .grid-cols-4 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ====================================================
   2. FLEXBOX
   ==================================================== */

/* Direction */
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }

/* Wrap */
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }

/* Justify Content */
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.justify-content-evenly { justify-content: space-evenly !important; }

/* Align Items */
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

/* Align Self */
.align-self-start { align-self: flex-start !important; }
.align-self-end { align-self: flex-end !important; }
.align-self-center { align-self: center !important; }
.align-self-stretch { align-self: stretch !important; }

/* Flex Grow/Shrink */
.flex-fill { flex: 1 1 auto !important; }
.flex-grow-0 { flex-grow: 0 !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-shrink-1 { flex-shrink: 1 !important; }

/* Gap */
.gap-0 { gap: 0 !important; }
.gap-1 { gap: var(--space-1) !important; }
.gap-2 { gap: var(--space-2) !important; }
.gap-3 { gap: var(--space-3) !important; }
.gap-4 { gap: var(--space-4) !important; }
.gap-5 { gap: var(--space-5) !important; }
.gap-6 { gap: var(--space-6) !important; }

/* ====================================================
   3. MARGIN
   ==================================================== */

/* Margin All */
.m-0 { margin: 0 !important; }
.m-1 { margin: var(--space-1) !important; }
.m-2 { margin: var(--space-2) !important; }
.m-3 { margin: var(--space-3) !important; }
.m-4 { margin: var(--space-4) !important; }
.m-5 { margin: var(--space-5) !important; }
.m-auto { margin: auto !important; }

/* Margin Top */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--space-1) !important; }
.mt-2 { margin-top: var(--space-2) !important; }
.mt-3 { margin-top: var(--space-3) !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-5 { margin-top: var(--space-5) !important; }
.mt-auto { margin-top: auto !important; }

/* Margin Bottom */
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--space-1) !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-3 { margin-bottom: var(--space-3) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-5 { margin-bottom: var(--space-5) !important; }
.mb-auto { margin-bottom: auto !important; }

/* Margin Start (Left) */
.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: var(--space-1) !important; }
.ms-2 { margin-left: var(--space-2) !important; }
.ms-3 { margin-left: var(--space-3) !important; }
.ms-4 { margin-left: var(--space-4) !important; }
.ms-5 { margin-left: var(--space-5) !important; }
.ms-auto { margin-left: auto !important; }

/* Margin End (Right) */
.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: var(--space-1) !important; }
.me-2 { margin-right: var(--space-2) !important; }
.me-3 { margin-right: var(--space-3) !important; }
.me-4 { margin-right: var(--space-4) !important; }
.me-5 { margin-right: var(--space-5) !important; }
.me-auto { margin-right: auto !important; }

/* Margin X (Horizontal) */
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: var(--space-1) !important; margin-right: var(--space-1) !important; }
.mx-2 { margin-left: var(--space-2) !important; margin-right: var(--space-2) !important; }
.mx-3 { margin-left: var(--space-3) !important; margin-right: var(--space-3) !important; }
.mx-4 { margin-left: var(--space-4) !important; margin-right: var(--space-4) !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* Margin Y (Vertical) */
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: var(--space-1) !important; margin-bottom: var(--space-1) !important; }
.my-2 { margin-top: var(--space-2) !important; margin-bottom: var(--space-2) !important; }
.my-3 { margin-top: var(--space-3) !important; margin-bottom: var(--space-3) !important; }
.my-4 { margin-top: var(--space-4) !important; margin-bottom: var(--space-4) !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }

/* ====================================================
   4. PADDING
   ==================================================== */

/* Padding All */
.p-0 { padding: 0 !important; }
.p-1 { padding: var(--space-1) !important; }
.p-2 { padding: var(--space-2) !important; }
.p-3 { padding: var(--space-3) !important; }
.p-4 { padding: var(--space-4) !important; }
.p-5 { padding: var(--space-5) !important; }
.p-6 { padding: var(--space-6) !important; }
.p-8 { padding: var(--space-8) !important; }

/* Padding Top */
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: var(--space-1) !important; }
.pt-2 { padding-top: var(--space-2) !important; }
.pt-3 { padding-top: var(--space-3) !important; }
.pt-4 { padding-top: var(--space-4) !important; }
.pt-5 { padding-top: var(--space-5) !important; }

/* Padding Bottom */
.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: var(--space-1) !important; }
.pb-2 { padding-bottom: var(--space-2) !important; }
.pb-3 { padding-bottom: var(--space-3) !important; }
.pb-4 { padding-bottom: var(--space-4) !important; }
.pb-5 { padding-bottom: var(--space-5) !important; }

/* Padding Start (Left) */
.ps-0 { padding-left: 0 !important; }
.ps-1 { padding-left: var(--space-1) !important; }
.ps-2 { padding-left: var(--space-2) !important; }
.ps-3 { padding-left: var(--space-3) !important; }
.ps-4 { padding-left: var(--space-4) !important; }
.ps-5 { padding-left: var(--space-5) !important; }

/* Padding End (Right) */
.pe-0 { padding-right: 0 !important; }
.pe-1 { padding-right: var(--space-1) !important; }
.pe-2 { padding-right: var(--space-2) !important; }
.pe-3 { padding-right: var(--space-3) !important; }
.pe-4 { padding-right: var(--space-4) !important; }
.pe-5 { padding-right: var(--space-5) !important; }

/* Padding X (Horizontal) */
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: var(--space-1) !important; padding-right: var(--space-1) !important; }
.px-2 { padding-left: var(--space-2) !important; padding-right: var(--space-2) !important; }
.px-3 { padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; }
.px-4 { padding-left: var(--space-4) !important; padding-right: var(--space-4) !important; }
.px-5 { padding-left: var(--space-5) !important; padding-right: var(--space-5) !important; }

/* Padding Y (Vertical) */
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: var(--space-1) !important; padding-bottom: var(--space-1) !important; }
.py-2 { padding-top: var(--space-2) !important; padding-bottom: var(--space-2) !important; }
.py-3 { padding-top: var(--space-3) !important; padding-bottom: var(--space-3) !important; }
.py-4 { padding-top: var(--space-4) !important; padding-bottom: var(--space-4) !important; }
.py-5 { padding-top: var(--space-5) !important; padding-bottom: var(--space-5) !important; }

/* ====================================================
   5. TEXT UTILITIES
   ==================================================== */

/* Text Align */
.text-start { text-align: left !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }

/* Text Transform */
.text-uppercase { text-transform: uppercase !important; }
.text-lowercase { text-transform: lowercase !important; }
.text-capitalize { text-transform: capitalize !important; }

/* Text Decoration */
.text-decoration-none { text-decoration: none !important; }
.text-decoration-underline { text-decoration: underline !important; }

/* Text Wrap */
.text-nowrap { white-space: nowrap !important; }
.text-truncate {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Line Clamp (многострочный truncate) */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ====================================================
   6. TEXT COLORS
   ==================================================== */

.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-info { color: var(--info) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-light { color: var(--text-light) !important; }
.text-dark { color: var(--text-primary) !important; }
.text-white { color: var(--white) !important; }

/* ====================================================
   7. BACKGROUND COLORS
   ==================================================== */

.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--gray-500) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-danger { background-color: var(--danger) !important; }
.bg-info { background-color: var(--info) !important; }
.bg-light { background-color: var(--gray-100) !important; }
.bg-dark { background-color: var(--gray-800) !important; }
.bg-white { background-color: var(--white) !important; }
.bg-transparent { background-color: transparent !important; }

/* ====================================================
   8. BORDERS
   ==================================================== */

.border { border: 1px solid var(--border-color) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid var(--border-color) !important; }
.border-bottom { border-bottom: 1px solid var(--border-color) !important; }
.border-start { border-left: 1px solid var(--border-color) !important; }
.border-end { border-right: 1px solid var(--border-color) !important; }

/* Border Radius */
.rounded { border-radius: var(--radius-lg) !important; }
.rounded-0 { border-radius: 0 !important; }
.rounded-1 { border-radius: var(--radius-sm) !important; }
.rounded-2 { border-radius: var(--radius-md) !important; }
.rounded-3 { border-radius: var(--radius-lg) !important; }
.rounded-4 { border-radius: var(--radius-xl) !important; }
.rounded-5 { border-radius: var(--radius-2xl) !important; }
.rounded-circle { border-radius: var(--radius-full) !important; }
.rounded-pill { border-radius: var(--radius-full) !important; }

/* ====================================================
   9. POSITION
   ==================================================== */

.position-static { position: static !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }

/* Position Values */
.top-0 { top: 0 !important; }
.top-50 { top: 50% !important; }
.top-100 { top: 100% !important; }
.bottom-0 { bottom: 0 !important; }
.start-0 { left: 0 !important; }
.start-50 { left: 50% !important; }
.start-100 { left: 100% !important; }
.end-0 { right: 0 !important; }

/* Translate */
.translate-middle {
  transform: translate(-50%, -50%) !important;
}
.translate-middle-x {
  transform: translateX(-50%) !important;
}
.translate-middle-y {
  transform: translateY(-50%) !important;
}

/* ====================================================
   10. SIZING
   ==================================================== */

.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }

.h-25 { height: 25% !important; }
.h-50 { height: 50% !important; }
.h-75 { height: 75% !important; }
.h-100 { height: 100% !important; }
.h-auto { height: auto !important; }

.mw-100 { max-width: 100% !important; }
.mh-100 { max-height: 100% !important; }
.min-vw-100 { min-width: 100vw !important; }
.min-vh-100 { min-height: 100vh !important; }
.vw-100 { width: 100vw !important; }
.vh-100 { height: 100vh !important; }

/* ====================================================
   11. OPACITY
   ==================================================== */

.opacity-0 { opacity: 0 !important; }
.opacity-25 { opacity: 0.25 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-100 { opacity: 1 !important; }

/* ====================================================
   12. OVERFLOW
   ==================================================== */

.overflow-auto { overflow: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-scroll { overflow: scroll !important; }
.overflow-x-auto { overflow-x: auto !important; }
.overflow-y-auto { overflow-y: auto !important; }

/* ====================================================
   13. SHADOWS
   ==================================================== */

.shadow-none { box-shadow: none !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

/* ====================================================
   14. VISIBILITY
   ==================================================== */

.visible { visibility: visible !important; }
.invisible { visibility: hidden !important; }

/* ====================================================
   15. CURSOR
   ==================================================== */

.cursor-pointer { cursor: pointer !important; }
.cursor-default { cursor: default !important; }
.cursor-not-allowed { cursor: not-allowed !important; }

/* ====================================================
   16. USER SELECT
   ==================================================== */

.user-select-all { user-select: all !important; }
.user-select-auto { user-select: auto !important; }
.user-select-none { user-select: none !important; }

/* ====================================================
   17. POINTER EVENTS
   ==================================================== */

.pe-none { pointer-events: none !important; }
.pe-auto { pointer-events: auto !important; }

/* ====================================================
   18. Z-INDEX
   ==================================================== */

.z-0 { z-index: 0 !important; }
.z-1 { z-index: 1 !important; }
.z-2 { z-index: 2 !important; }
.z-3 { z-index: 3 !important; }
.z-n1 { z-index: -1 !important; }

/* ====================================================
   19. ADDITIONAL UTILITIES
   ==================================================== */

/* Text colors with gray scale */
.text-gray-300 { color: var(--color-gray-300) !important; }
.text-gray-500 { color: var(--color-gray-500) !important; }
.text-gray-700 { color: var(--color-gray-700) !important; }
.text-gray-900 { color: var(--color-gray-900) !important; }

/* Opacity */
.opacity-90 { opacity: 0.9 !important; }
.opacity-85 { opacity: 0.85 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-25 { opacity: 0.25 !important; }

/* Width utilities */
.w-auto-120 { max-width: 120px !important; }
.w-auto-140 { max-width: 140px !important; }

/* Empty state icon */
.empty-state-icon {
    font-size: 4rem;
    color: var(--color-gray-300);
}

/* Gallery modal styles */
.gallery-modal-container {
    min-height: 60vh;
    background: rgba(0, 0, 0, 0.8);
}

.gallery-modal-image {
    max-height: 75vh;
}

/* ====================================================
   20. SQUARE SIZES (width & height equal)
   ==================================================== */

.size-24 { width: 24px !important; height: 24px !important; }
.size-32 { width: 32px !important; height: 32px !important; }
.size-36 { width: 36px !important; height: 36px !important; }
.size-40 { width: 40px !important; height: 40px !important; }
.size-48 { width: 48px !important; height: 48px !important; }
.size-56 { width: 56px !important; height: 56px !important; }
.size-60 { width: 60px !important; height: 60px !important; }
.size-64 { width: 64px !important; height: 64px !important; }
.size-80 { width: 80px !important; height: 80px !important; }
.size-96 { width: 96px !important; height: 96px !important; }
.size-110 { width: 110px !important; height: 110px !important; }
.size-120 { width: 120px !important; height: 120px !important; }
.size-140 { width: 140px !important; height: 140px !important; }
.size-160 { width: 160px !important; height: 160px !important; }
.size-180 { width: 180px !important; height: 180px !important; }
.size-200 { width: 200px !important; height: 200px !important; }

/* ====================================================
   21. FIXED HEIGHT UTILITIES
   ==================================================== */

.h-36 { height: 36px !important; }
.h-40 { height: 40px !important; }
.h-48 { height: 48px !important; }
.h-56 { height: 56px !important; }
.h-64 { height: 64px !important; }
.h-80 { height: 80px !important; }
.h-120 { height: 120px !important; }
.h-160 { height: 160px !important; }
.h-200 { height: 200px !important; }
.h-240 { height: 240px !important; }
.h-300 { height: 300px !important; }

/* ====================================================
   22. MAX-WIDTH UTILITIES
   ==================================================== */

.max-w-200 { max-width: 200px !important; }
.max-w-280 { max-width: 280px !important; }
.max-w-320 { max-width: 320px !important; }
.max-w-360 { max-width: 360px !important; }
.max-w-400 { max-width: 400px !important; }
.max-w-480 { max-width: 480px !important; }
.max-w-560 { max-width: 560px !important; }
.max-w-600 { max-width: 600px !important; }
.max-w-700 { max-width: 700px !important; }
.max-w-800 { max-width: 800px !important; }
.max-w-900 { max-width: 900px !important; }
.max-w-1000 { max-width: 1000px !important; }
.max-w-1200 { max-width: 1200px !important; }
.max-w-prose { max-width: 65ch !important; }

/* ====================================================
   23. MIN-WIDTH UTILITIES
   ==================================================== */

.min-w-100 { min-width: 100px !important; }
.min-w-140 { min-width: 140px !important; }
.min-w-200 { min-width: 200px !important; }
.min-w-280 { min-width: 280px !important; }
.min-w-340 { min-width: 340px !important; }

/* ====================================================
   24. MIN-HEIGHT UTILITIES
   ==================================================== */

.min-h-100 { min-height: 100px !important; }
.min-h-200 { min-height: 200px !important; }
.min-h-300 { min-height: 300px !important; }

/* ====================================================
   25. MAX-HEIGHT UTILITIES
   ==================================================== */

.max-h-200 { max-height: 200px !important; }
.max-h-300 { max-height: 300px !important; }
.max-h-360 { max-height: 360px !important; }
.max-h-400 { max-height: 400px !important; }
.max-h-2em { max-height: 2em !important; }

/* ====================================================
   26. OBJECT FIT
   ==================================================== */

.object-cover { object-fit: cover !important; }
.object-contain { object-fit: contain !important; }
.object-fill { object-fit: fill !important; }
.object-none { object-fit: none !important; }
.object-scale-down { object-fit: scale-down !important; }

/* ====================================================
   27. GRADIENTS
   ==================================================== */

/* Hero & Section Backgrounds */
.bg-gradient-hero {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%) !important;
}

.bg-gradient-hero-dark {
    background: linear-gradient(135deg, var(--color-primary) 0%, #dc2626 100%) !important;
}

.bg-gradient-subtle {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
}

.bg-gradient-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%) !important;
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #0d6efd 0%, #7aa5ff 100%) !important;
}

.bg-gradient-info-light {
    background: linear-gradient(135deg, #f8fbff 0%, #f0f6ff 100%) !important;
}

.bg-gradient-gold {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
}

/* Semi-transparent backgrounds */
.bg-white-10 { background: rgba(255, 255, 255, 0.1) !important; }
.bg-white-20 { background: rgba(255, 255, 255, 0.2) !important; }
.bg-white-30 { background: rgba(255, 255, 255, 0.3) !important; }
.bg-white-50 { background: rgba(255, 255, 255, 0.5) !important; }
.bg-black-10 { background: rgba(0, 0, 0, 0.1) !important; }
.bg-black-20 { background: rgba(0, 0, 0, 0.2) !important; }
.bg-black-50 { background: rgba(0, 0, 0, 0.5) !important; }

/* Gray backgrounds */
.bg-gray-50 { background-color: var(--color-gray-50) !important; }
.bg-gray-100 { background-color: var(--color-gray-100) !important; }
.bg-gray-200 { background-color: var(--color-gray-200) !important; }

/* ====================================================
   28. TYPOGRAPHY SIZES
   ==================================================== */

.text-2xs { font-size: 0.65rem !important; }
.text-xs { font-size: 0.75rem !important; }
.text-xs-plus { font-size: 0.8125rem !important; }
.text-sm { font-size: 0.875rem !important; }
.text-base { font-size: 1rem !important; }
.text-lg { font-size: 1.125rem !important; }
.text-xl { font-size: 1.25rem !important; }
.text-2xl { font-size: 1.5rem !important; }
.text-3xl { font-size: 1.875rem !important; }
.text-4xl { font-size: 2rem !important; }
.text-5xl { font-size: 2.5rem !important; }
.text-6xl { font-size: 3rem !important; }
.text-7xl { font-size: 4rem !important; }

/* Icon sizes */
.icon-sm { font-size: 1rem !important; }
.icon-md { font-size: 1.25rem !important; }
.icon-lg { font-size: 1.5rem !important; }
.icon-xl { font-size: 2rem !important; }
.icon-2xl { font-size: 2.5rem !important; }
.icon-3xl { font-size: 3rem !important; }
.icon-4xl { font-size: 4rem !important; }

/* ====================================================
   29. FONT WEIGHT
   ==================================================== */

.fw-300 { font-weight: 300 !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }

/* Aliases */
.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-extrabold { font-weight: 800 !important; }

/* ====================================================
   30. LINE HEIGHT
   ==================================================== */

.lh-1 { line-height: 1 !important; }
.lh-tight { line-height: 1.2 !important; }
.lh-snug { line-height: 1.4 !important; }
.lh-normal { line-height: 1.5 !important; }
.lh-relaxed { line-height: 1.6 !important; }
.lh-loose { line-height: 1.7 !important; }
.lh-extra-loose { line-height: 1.8 !important; }

/* ====================================================
   31. LETTER SPACING
   ==================================================== */

.tracking-tighter { letter-spacing: -0.05em !important; }
.tracking-tight { letter-spacing: -0.025em !important; }
.tracking-normal { letter-spacing: 0 !important; }
.tracking-wide { letter-spacing: 0.025em !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.tracking-widest { letter-spacing: 0.1em !important; }

/* ====================================================
   32. ADDITIONAL COLORS
   ==================================================== */

.text-gray-400 { color: var(--color-gray-400) !important; }
.text-gray-600 { color: var(--color-gray-600) !important; }
.text-gray-800 { color: var(--color-gray-800) !important; }
.text-inherit { color: inherit !important; }

/* ====================================================
   33. ADDITIONAL OPACITY
   ==================================================== */

.opacity-10 { opacity: 0.1 !important; }
.opacity-20 { opacity: 0.2 !important; }
.opacity-30 { opacity: 0.3 !important; }
.opacity-40 { opacity: 0.4 !important; }
.opacity-60 { opacity: 0.6 !important; }
.opacity-70 { opacity: 0.7 !important; }
.opacity-80 { opacity: 0.8 !important; }
.opacity-95 { opacity: 0.95 !important; }

/* ====================================================
   34. BORDER WIDTHS & COLORS
   ==================================================== */

.border-2 { border-width: 2px !important; }
.border-3 { border-width: 3px !important; }
.border-4 { border-width: 4px !important; }
.border-5 { border-width: 5px !important; }

.border-white { border-color: white !important; }
.border-gray-100 { border-color: var(--color-gray-100) !important; }
.border-gray-200 { border-color: var(--color-gray-200) !important; }
.border-gray-300 { border-color: var(--color-gray-300) !important; }
.border-primary { border-color: var(--color-primary) !important; }

/* Border with specific width and color combined */
.border-4-white { border: 4px solid white !important; }
.border-5-white { border: 5px solid white !important; }

/* ====================================================
   35. ADDITIONAL BORDER RADIUS
   ==================================================== */

.rounded-6 { border-radius: 6px !important; }
.rounded-8 { border-radius: 8px !important; }
.rounded-10 { border-radius: 10px !important; }
.rounded-12 { border-radius: 12px !important; }
.rounded-16 { border-radius: 16px !important; }
.rounded-18 { border-radius: 18px !important; }
.rounded-20 { border-radius: 20px !important; }
.rounded-24 { border-radius: 24px !important; }

/* ====================================================
   36. EFFECTS
   ==================================================== */

.backdrop-blur { backdrop-filter: blur(10px) !important; }
.backdrop-blur-sm { backdrop-filter: blur(4px) !important; }
.backdrop-blur-lg { backdrop-filter: blur(16px) !important; }

.transition-all { transition: all 0.3s ease !important; }
.transition-fast { transition: all 0.15s ease !important; }
.transition-slow { transition: all 0.5s ease !important; }
.transition-none { transition: none !important; }

/* ====================================================
   37. WIDTH UTILITIES
   ==================================================== */

.w-fit { width: fit-content !important; }
.w-max { width: max-content !important; }
.w-min { width: min-content !important; }

/* ====================================================
   38. VERTICAL ALIGN
   ==================================================== */

.align-baseline { vertical-align: baseline !important; }
.align-top { vertical-align: top !important; }
.align-middle { vertical-align: middle !important; }
.align-bottom { vertical-align: bottom !important; }
.align-text-top { vertical-align: text-top !important; }
.align-text-bottom { vertical-align: text-bottom !important; }

/* ====================================================
   39. ANIMATION DELAY UTILITIES (for staggered animations)
   ==================================================== */

.animation-delay-0 { animation-delay: 0ms !important; }
.animation-delay-1 { animation-delay: 28ms !important; }
.animation-delay-2 { animation-delay: 56ms !important; }
.animation-delay-3 { animation-delay: 84ms !important; }
.animation-delay-4 { animation-delay: 112ms !important; }
.animation-delay-5 { animation-delay: 140ms !important; }
.animation-delay-6 { animation-delay: 168ms !important; }
.animation-delay-7 { animation-delay: 196ms !important; }
.animation-delay-8 { animation-delay: 224ms !important; }
.animation-delay-9 { animation-delay: 252ms !important; }
.animation-delay-10 { animation-delay: 280ms !important; }

/* ====================================================
   40. RESPONSIVE DISPLAY UTILITIES
   ==================================================== */

@media (max-width: 575.98px) {
    .d-sm-none { display: none !important; }
    .d-sm-block { display: block !important; }
    .d-sm-flex { display: flex !important; }
}

@media (min-width: 576px) {
    .d-sm-up-none { display: none !important; }
    .d-sm-up-block { display: block !important; }
    .d-sm-up-flex { display: flex !important; }
}

@media (min-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
}

@media (min-width: 992px) {
    .d-lg-none { display: none !important; }
    .d-lg-block { display: block !important; }
    .d-lg-flex { display: flex !important; }
}

/* ====================================================
   41. NEGATIVE MARGINS
   ==================================================== */

.ms-n1 { margin-left: -0.25rem !important; }
.ms-n2 { margin-left: -0.5rem !important; }
.ms-n3 { margin-left: -1rem !important; }
.ms-n4 { margin-left: -1.25rem !important; }
.ms-n5 { margin-left: -1.5rem !important; }

/* ====================================================
   42. SPECIAL COMPONENTS
   ==================================================== */

/* Section Padding - для секций на главной странице */
.section-padding {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: var(--space-12);
        padding-bottom: var(--space-12);
    }
}

/* QR Code Image */
.qr-code-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border: 1px solid #e9e9e9;
    padding: 6px;
    background: white;
    border-radius: 8px;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

/* Additional Color Utilities */
.text-purple { color: #9333ea !important; }
.text-orange { color: #f97316 !important; }
