/* Provide the single-purpose layout utilities (display, grid columns, gaps, alignment) used by the approved HTML markup. */
/* =========================================================
   UTILITIES.CSS — Global Single-Purpose Utility Classes
   Loaded right after base.css and BEFORE common.css and every
   section stylesheet. Utilities are single-class (0,1,0), no
   !important — so component, responsive (@media) and state
   (.is-open, :hover, Swiper) rules always override them.
   One class = one declaration.
   See ngt-design-system.md → §8 "Global CSS Utility System".
   ========================================================= */

/* ---------- Display ---------- */
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-inline-flex { display: inline-flex; }
.d-none { display: none; }

/* ---------- Grid columns (equal fractions) ---------- */
.grid-columns-1 { grid-template-columns: repeat(1, 1fr); }
.grid-columns-2 { grid-template-columns: repeat(2, 1fr); }
.grid-columns-3 { grid-template-columns: repeat(3, 1fr); }
.grid-columns-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Gap (only values repeated in the project) ---------- */
.gap-10 { gap: 10px; }
.gap-12 { gap: 12px; }
.gap-15 { gap: 15px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-22 { gap: 22px; }
.gap-30 { gap: 30px; }

/* ---------- Flex ---------- */
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-shrink-0 { flex-shrink: 0; }

/* ---------- Cross-axis alignment (align-items) ---------- */
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.align-stretch { align-items: stretch; }

/* ---------- Main-axis alignment (justify-content) ---------- */
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

/* ---------- Text ---------- */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-uppercase { text-transform: uppercase; }

/* ---------- Position ---------- */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.inset-0 { inset: 0; }

/* ---------- Overflow ---------- */
.overflow-hidden { overflow: hidden; }

/* ---------- Sizing ---------- */
.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* ---------- Media ---------- */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* ---------- Border radius (design tokens) ---------- */
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-circle { border-radius: 50%; }

/* ---------- Spacing ---------- */
.section-padding { padding-block: var(--section-padding); }

/* ---------- Interaction ---------- */
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
@media (max-width:1199px) {
   .gap-16{gap: 15px;}
   .gap-20{gap: 18px;}
   .gap-22{gap: 20px;}
   .gap-30{gap: 26px;}
}
@media (max-width:991px) {
   .gap-15{gap: 14px;}
   .gap-16{gap: 14px;}
   .gap-20{gap: 16px;}
   .gap-22{gap: 18px;}
   .gap-30{gap: 24px;}
}
@media (max-width:767px) {
   .gap-12{gap: 10px;}
   .gap-22{gap: 16px;}
   .gap-30{gap: 20px;}
}
