/**
 * TAILWIND CSS V4 EMULATION (PURE CSS)
 * Chuẩn kiến trúc Pure CSS mô phỏng Tailwind CSS v4 không cần build tool (Node.js/PostCSS)
 * Hệ thống CSS Variables :root, Preflight/Reset và Atomic Utility Classes
 */

/* ==========================================================================
   1. HỆ THỐNG CSS VARIABLES (:root)
   ========================================================================== */
:root {
  /* ---------------- Brand Theme Colors (Luxury Gold & Deep Slate) ---------------- */
  --color-primary: #b48c48;          /* Màu vàng hoàng gia sang trọng: Nút CTA, links, giá active */
  /* Kỹ thuật color-mix: Tự động tính toán sắc thái từ --color-primary mà không cần khai báo hex thủ công */
  --color-primary-hover: color-mix(in srgb, var(--color-primary) 85%, var(--color-black));
  --color-primary-light: color-mix(in srgb, var(--color-primary) 10%, var(--color-white));
  --color-primary-focus: color-mix(in srgb, var(--color-primary) 25%, transparent);

  --color-secondary: #0f172a;        /* Màu phụ trợ: Tiêu đề phụ, button secondary, badge */
  --color-secondary-hover: color-mix(in srgb, var(--color-secondary) 85%, var(--color-white));
  --color-secondary-light: color-mix(in srgb, var(--color-secondary) 8%, var(--color-white));
  --color-secondary-focus: color-mix(in srgb, var(--color-secondary) 20%, transparent);

  /* ---------------- Functional & Status Colors (color-mix auto-tint) ---------------- */
  --color-success: #16a34a;
  --color-success-light: color-mix(in srgb, var(--color-success) 12%, var(--color-white));
  --color-danger: #dc2626;
  --color-danger-light: color-mix(in srgb, var(--color-danger) 12%, var(--color-white));
  --color-warning: #d97706;
  --color-warning-light: color-mix(in srgb, var(--color-warning) 12%, var(--color-white));
  --color-info: #0284c7;
  --color-info-light: color-mix(in srgb, var(--color-info) 12%, var(--color-white));

  /* ---------------- Neutral Palette (Slate) ---------------- */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  --color-slate-950: #020617;

  /* ---------------- Typography & Fonts ---------------- */
  --font-sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: 'Playfair Display', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* ---------------- Border Radius ---------------- */
  --radius-none: 0px;
  --radius-sm: 0.125rem;    /* 2px */
  --radius-md: 0.375rem;    /* 6px */
  --radius-lg: 0.5rem;      /* 8px */
  --radius-xl: 0.75rem;     /* 12px */
  --radius-2xl: 1rem;       /* 16px */
  --radius-3xl: 1.5rem;     /* 24px */
  --radius-full: 9999px;

  /* ---------------- Box Shadows ---------------- */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  --shadow-none: 0 0 #0000;

  /* ---------------- Transition Timings ---------------- */
  --duration-default: 300ms;
  --ease-linear: linear;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. PREFLIGHT / BASE CSS RESET KHỞI TẠO (CHUẨN TAILWIND V4)
   ========================================================================== */
*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid var(--color-slate-200);
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--font-sans);
  font-feature-settings: normal;
  font-variation-settings: normal;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: inherit;
  color: var(--color-slate-800);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  text-decoration: underline dotted;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-wrap: balance;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp, pre {
  font-family: var(--font-mono);
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub { bottom: -0.25em; }
sup { top: -0.5em; }

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol, ul, menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: var(--color-slate-400);
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

/* Accessibility Helpers (WCAG 2.2 AA) */
.sr-only,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  z-index: 9999;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ==========================================================================
   3. LAYOUT & CONTAINER
   ========================================================================== */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

@media (min-width: 640px) {
  .container { max-width: 640px; padding-right: 1.25rem; padding-left: 1.25rem; }
}
@media (min-width: 768px) {
  .container { max-width: 768px; padding-right: 1.5rem; padding-left: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { max-width: 1024px; padding-right: 2rem; padding-left: 2rem; }
}
@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}
@media (min-width: 1536px) {
  .container { max-width: 1440px; }
}

/* ==========================================================================
   4. DISPLAY & POSITIONING
   ========================================================================== */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.inline-grid { display: inline-grid; }
.hidden { display: none; }
.\!hidden { display: none !important; }
.invisible { visibility: hidden; }

/* Aspect Ratio */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }
.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }

.static { position: static; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.sticky { position: sticky; }

.inset-0 { inset: 0px; }
.inset-x-0 { left: 0px; right: 0px; }
.inset-y-0 { top: 0px; bottom: 0px; }
.top-0 { top: 0px; }
.top-3 { top: 0.75rem; }
.top-28 { top: 7rem; }
.-top-0\.5 { top: -0.125rem; }
.-top-1 { top: -0.25rem; }
.-top-3 { top: -0.75rem; }
.right-0 { right: 0px; }
.right-6 { right: 1.5rem; }
.-right-0\.5 { right: -0.125rem; }
.-right-1 { right: -0.25rem; }
.-right-8 { right: -2rem; }
.bottom-0 { bottom: 0px; }
.bottom-6 { bottom: 1.5rem; }
.-bottom-8 { bottom: -2rem; }
.left-0 { left: 0px; }
.left-3 { left: 0.75rem; }
.left-1\/2 { left: 50%; }
.top-full { top: 100%; }
.bottom-full { bottom: 100%; }

/* Transform Translate */
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-x-full { transform: translateX(-100%); }

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-60 { z-index: 60; }
.z-70 { z-index: 70; }
.z-100 { z-index: 100; }
.z-101 { z-index: 101; }
.z-110 { z-index: 110; }
.z-auto { z-index: auto; }

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

/* ==========================================================================
   5. FLEXBOX & GRID ALIGNMENT
   ========================================================================== */
.flex-row { flex-direction: row; }
.flex-row-reverse { flex-direction: row-reverse; }
.flex-col { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }

.flex-wrap { flex-wrap: wrap; }
.flex-wrap-reverse { flex-wrap: wrap-reverse; }
.flex-nowrap { flex-wrap: nowrap; }

.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-initial { flex: 0 1 auto; }
.flex-none { flex: none; }

.grow { flex-grow: 1; }
.grow-0 { flex-grow: 0; }
.shrink { flex-shrink: 1; }
.shrink-0 { flex-shrink: 0; }

.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

.self-auto { align-self: auto; }
.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }
.self-center { align-self: center; }
.self-stretch { align-self: stretch; }

/* Grid Columns */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

/* Grid Spans */
.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-7 { grid-column: span 7 / span 7; }
.col-span-8 { grid-column: span 8 / span 8; }
.col-span-9 { grid-column: span 9 / span 9; }
.col-span-10 { grid-column: span 10 / span 10; }
.col-span-11 { grid-column: span 11 / span 11; }
.col-span-12 { grid-column: span 12 / span 12; }
.col-span-full { grid-column: 1 / -1; }

/* Gap */
.gap-0 { gap: 0px; }
.gap-1 { gap: 0.25rem; }   /* 4px */
.gap-1\.5 { gap: 0.375rem; } /* 6px */
.gap-2 { gap: 0.5rem; }    /* 8px */
.gap-2\.5 { gap: 0.625rem; } /* 10px */
.gap-3 { gap: 0.75rem; }   /* 12px */
.gap-3\.5 { gap: 0.875rem; } /* 14px */
.gap-4 { gap: 1rem; }      /* 16px */
.gap-5 { gap: 1.25rem; }   /* 20px */
.gap-6 { gap: 1.5rem; }    /* 24px */
.gap-7 { gap: 1.75rem; }    /* 28px */
.gap-8 { gap: 2rem; }      /* 32px */
.gap-10 { gap: 2.5rem; }   /* 40px */
.gap-12 { gap: 3rem; }     /* 48px */
.gap-x-2 { column-gap: 0.5rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-2 { row-gap: 0.5rem; }
.gap-y-4 { row-gap: 1rem; }
.gap-y-6 { row-gap: 1.5rem; }
.gap-y-8 { row-gap: 2rem; }

/* ==========================================================================
   6. SPACING (MARGIN & PADDING)
   ========================================================================== */
.p-0 { padding: 0px; }
.p-1 { padding: 0.25rem; }
.p-1\.5 { padding: 0.375rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

.px-0 { padding-left: 0px; padding-right: 0px; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-0 { padding-top: 0px; padding-bottom: 0px; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.pt-0 { padding-top: 0px; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }

.pb-0 { padding-bottom: 0px; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }

.pl-0 { padding-left: 0px; }
.pl-2 { padding-left: 0.5rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-4 { padding-left: 1rem; }
.pl-6 { padding-left: 1.5rem; }

.pr-0 { padding-right: 0px; }
.pr-2 { padding-right: 0.5rem; }
.pr-3 { padding-right: 0.75rem; }
.pr-4 { padding-right: 1rem; }
.pr-6 { padding-right: 1.5rem; }

/* Margin */
.m-0 { margin: 0px; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 0.75rem; }
.m-4 { margin: 1rem; }
.m-auto { margin: auto; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mx-0 { margin-left: 0px; margin-right: 0px; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }

.my-0 { margin-top: 0px; margin-bottom: 0px; }
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-3 { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }

.mt-auto { margin-top: auto; }
.mt-0 { margin-top: 0px; }
.-mt-0\.5 { margin-top: -0.125rem; }
.mt-0\.5 { margin-top: 0.125rem; } /* 2px: Vi chỉnh căn icon ngang dòng đầu với multiline text */
.mt-1 { margin-top: 0.25rem; }    /* 4px */
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-2\.5 { margin-top: 0.625rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.mb-auto { margin-bottom: auto; }
.mb-0 { margin-bottom: 0px; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }

.ml-auto { margin-left: auto; }
.ml-0 { margin-left: 0px; }
.ml-1 { margin-left: 0.25rem; }
.ml-1\.5 { margin-left: 0.375rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }
.ml-5 { margin-left: 1.25rem; }

.mr-auto { margin-right: auto; }
.mr-0 { margin-right: 0px; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }

/* ==========================================================================
   7. SIZING (WIDTH & HEIGHT)
   ========================================================================== */
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-screen { width: 100vw; }
.w-fit { width: fit-content; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }
.w-4\/5 { width: 80%; }
.w-3\.5 { width: 0.875rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }

.min-w-0 { min-width: 0px; }
.min-w-\[16px\] { min-width: 16px; }
.min-w-\[20px\] { min-width: 20px; }
.min-w-full { min-width: 100%; }

.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }
.max-w-none { max-width: none; }

.h-auto { height: auto; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-fit { height: fit-content; }
.h-3\.5 { height: 0.875rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-22 { height: 5.5rem; }
.h-28 { height: 7rem; }
.h-\[46px\] { height: 46px; }
.h-\[380px\] { height: 380px; }
.h-\[620px\] { height: 620px; }

.min-h-0 { min-height: 0px; }
.min-h-\[60vh\] { min-height: 60vh; }
.min-h-\[65vh\] { min-height: 65vh; }
.min-h-full { min-height: 100%; }
.min-h-screen { min-height: 100vh; }
.max-h-full { max-height: 100%; }
.max-h-screen { max-height: 100vh; }

/* ==========================================================================
   8. TYPOGRAPHY & TEXT UTILITIES
   ========================================================================== */
.font-sans { font-family: var(--font-sans); }
.font-serif { font-family: var(--font-serif); }
.font-mono { font-family: var(--font-mono); }

.text-\[8px\] { font-size: 8px; line-height: 12px; }
.text-\[9px\] { font-size: 9px; line-height: 13px; }
.text-\[10px\] { font-size: 10px; line-height: 14px; }
.text-\[11px\] { font-size: 11px; line-height: 16px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-\[15px\] { font-size: 15px; line-height: 22px; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }

.italic { font-style: italic; }
.not-italic { font-style: normal; }

.underline { text-decoration-line: underline; }
.line-through { text-decoration-line: line-through; }
.no-underline { text-decoration-line: none; }

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap { white-space: nowrap; }
.break-words { overflow-wrap: break-word; }

/* Text Wrap & Anti-Widows Utilities (Chống rớt chữ đơn lẻ cuối dòng) */
.text-wrap { text-wrap: wrap; }
.text-nowrap { text-wrap: nowrap; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

/* Letter Spacing (Tracking) */
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }

/* Lists & Line Clamp */
.list-none { list-style-type: none; }
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }

.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.line-clamp-none {
  overflow: visible;
  display: block;
  -webkit-box-orient: horizontal;
  -webkit-line-clamp: none;
}

/* ==========================================================================
   9. COLOR UTILITIES (PRIMARY, SECONDARY, NEUTRAL, STATUS)
   ========================================================================== */
/* Brand Colors: Primary & Secondary */
.text-primary { color: var(--color-primary); }
.text-primary-hover:hover { color: var(--color-primary-hover); }
.bg-primary { background-color: var(--color-primary); }
.bg-primary-hover:hover { background-color: var(--color-primary-hover); }
.bg-primary-light { background-color: var(--color-primary-light); }
.border-primary { border-color: var(--color-primary); }

.text-secondary { color: var(--color-secondary); }
.text-secondary-hover:hover { color: var(--color-secondary-hover); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-secondary-hover:hover { background-color: var(--color-secondary-hover); }
.bg-secondary-light { background-color: var(--color-secondary-light); }
.border-secondary { border-color: var(--color-secondary); }

/* Functional / Status Colors */
.text-success { color: var(--color-success); }
.text-emerald-600 { color: #059669; }
.bg-success { background-color: var(--color-success); }
.bg-success-light { background-color: var(--color-success-light); }

.text-danger { color: var(--color-danger); }
.text-red-600 { color: #dc2626; }
.bg-danger { background-color: var(--color-danger); }
.bg-danger-light { background-color: var(--color-danger-light); }

.text-warning { color: var(--color-warning); }
.bg-warning { background-color: var(--color-warning); }
.bg-warning-light { background-color: var(--color-warning-light); }

.text-info { color: var(--color-info); }
.bg-info { background-color: var(--color-info); }
.bg-info-light { background-color: var(--color-info-light); }
.bg-blue-600 { background-color: #2563eb; }

/* Neutrals & Base */
.text-white { color: var(--color-white); }
.text-black { color: var(--color-black); }
.bg-white { background-color: var(--color-white); }
.bg-black { background-color: var(--color-black); }
.bg-transparent { background-color: transparent; }

.text-slate-50 { color: var(--color-slate-50); }
.text-slate-100 { color: var(--color-slate-100); }
.text-slate-200 { color: var(--color-slate-200); }
.text-slate-300 { color: var(--color-slate-300); }
.text-slate-400 { color: var(--color-slate-400); }
.text-slate-500 { color: var(--color-slate-500); }
.text-slate-600 { color: var(--color-slate-600); }
.text-slate-700 { color: var(--color-slate-700); }
.text-slate-800 { color: var(--color-slate-800); }
.text-slate-900 { color: var(--color-slate-900); }
.text-slate-950 { color: var(--color-slate-950); }

.bg-slate-50 { background-color: var(--color-slate-50); }
.bg-slate-100 { background-color: var(--color-slate-100); }
.bg-slate-200 { background-color: var(--color-slate-200); }
.bg-slate-300 { background-color: var(--color-slate-300); }
.bg-slate-400 { background-color: var(--color-slate-400); }
.bg-slate-500 { background-color: var(--color-slate-500); }
.bg-slate-600 { background-color: var(--color-slate-600); }
.bg-slate-700 { background-color: var(--color-slate-700); }
.bg-slate-800 { background-color: var(--color-slate-800); }
.bg-slate-900 { background-color: var(--color-slate-900); }
.bg-slate-950 { background-color: var(--color-slate-950); }

/* ---------------- Color-Mix Utilities (Tailwind v4 Opacity & Tint Modifiers) ----------------
   Ứng dụng kỹ thuật color-mix() với các biến --color-... trong :root
   Triệt tiêu hoàn toàn nhu cầu viết mã màu cứng bg-[#...] hoặc style="background: ..."
*/
/* Primary Background Tint & Opacity Modifiers */
.bg-primary\/5 { background-color: color-mix(in srgb, var(--color-primary) 5%, transparent); }
.bg-primary\/10 { background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.bg-primary\/15 { background-color: color-mix(in srgb, var(--color-primary) 15%, transparent); }
.bg-primary\/20 { background-color: color-mix(in srgb, var(--color-primary) 20%, transparent); }
.bg-primary\/30 { background-color: color-mix(in srgb, var(--color-primary) 30%, transparent); }
.bg-primary\/50 { background-color: color-mix(in srgb, var(--color-primary) 50%, transparent); }
.bg-primary\/80 { background-color: color-mix(in srgb, var(--color-primary) 80%, transparent); }

/* Primary Hover Tint */
.hover\:bg-primary\/10:hover { background-color: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.hover\:bg-primary\/20:hover { background-color: color-mix(in srgb, var(--color-primary) 20%, transparent); }

/* Secondary Background Tint & Opacity Modifiers */
.bg-secondary\/5 { background-color: color-mix(in srgb, var(--color-secondary) 5%, transparent); }
.bg-secondary\/10 { background-color: color-mix(in srgb, var(--color-secondary) 10%, transparent); }
.bg-secondary\/15 { background-color: color-mix(in srgb, var(--color-secondary) 15%, transparent); }
.bg-secondary\/20 { background-color: color-mix(in srgb, var(--color-secondary) 20%, transparent); }
.bg-secondary\/30 { background-color: color-mix(in srgb, var(--color-secondary) 30%, transparent); }
.bg-secondary\/50 { background-color: color-mix(in srgb, var(--color-secondary) 50%, transparent); }
.bg-secondary\/80 { background-color: color-mix(in srgb, var(--color-secondary) 80%, transparent); }

/* Functional Status Tint (Dành cho badges, notification alert, tags) */
.bg-success\/10 { background-color: color-mix(in srgb, var(--color-success) 10%, transparent); }
.bg-success\/20 { background-color: color-mix(in srgb, var(--color-success) 20%, transparent); }

.bg-danger\/10 { background-color: color-mix(in srgb, var(--color-danger) 10%, transparent); }
.bg-danger\/20 { background-color: color-mix(in srgb, var(--color-danger) 20%, transparent); }

.bg-warning\/10 { background-color: color-mix(in srgb, var(--color-warning) 10%, transparent); }
.bg-warning\/20 { background-color: color-mix(in srgb, var(--color-warning) 20%, transparent); }

.bg-info\/10 { background-color: color-mix(in srgb, var(--color-info) 10%, transparent); }
.bg-info\/20 { background-color: color-mix(in srgb, var(--color-info) 20%, transparent); }

/* Dark Overlays & Modal Backdrop */
.bg-slate-900\/40 { background-color: color-mix(in srgb, var(--color-slate-900) 40%, transparent); }
.bg-slate-900\/60 { background-color: color-mix(in srgb, var(--color-slate-900) 60%, transparent); }
.bg-slate-900\/80 { background-color: color-mix(in srgb, var(--color-slate-900) 80%, transparent); }

/* White Glassmorphism & Translucent Backgrounds */
.bg-white\/10 { background-color: color-mix(in srgb, var(--color-white) 10%, transparent); }
.bg-white\/20 { background-color: color-mix(in srgb, var(--color-white) 20%, transparent); }
.bg-white\/30 { background-color: color-mix(in srgb, var(--color-white) 30%, transparent); }
.bg-white\/50 { background-color: color-mix(in srgb, var(--color-white) 50%, transparent); }
.bg-white\/80 { background-color: color-mix(in srgb, var(--color-white) 80%, transparent); }
.bg-white\/90 { background-color: color-mix(in srgb, var(--color-white) 90%, transparent); }

/* Black Translucent Backgrounds */
.bg-black\/10 { background-color: color-mix(in srgb, var(--color-black) 10%, transparent); }
.bg-black\/20 { background-color: color-mix(in srgb, var(--color-black) 20%, transparent); }
.bg-black\/50 { background-color: color-mix(in srgb, var(--color-black) 50%, transparent); }
.bg-black\/80 { background-color: color-mix(in srgb, var(--color-black) 80%, transparent); }

/* Border Color Tint */
.border-primary\/10 { border-color: color-mix(in srgb, var(--color-primary) 10%, transparent); }
.border-primary\/20 { border-color: color-mix(in srgb, var(--color-primary) 20%, transparent); }
.border-primary\/30 { border-color: color-mix(in srgb, var(--color-primary) 30%, transparent); }
.border-secondary\/10 { border-color: color-mix(in srgb, var(--color-secondary) 10%, transparent); }
.border-secondary\/20 { border-color: color-mix(in srgb, var(--color-secondary) 20%, transparent); }
.border-white\/20 { border-color: color-mix(in srgb, var(--color-white) 20%, transparent); }
.border-white\/40 { border-color: color-mix(in srgb, var(--color-white) 40%, transparent); }
.border-slate-200\/50 { border-color: color-mix(in srgb, var(--color-slate-200) 50%, transparent); }
.border-slate-200\/60 { border-color: color-mix(in srgb, var(--color-slate-200) 60%, transparent); }
.border-slate-200\/80 { border-color: color-mix(in srgb, var(--color-slate-200) 80%, transparent); }

/* Text Color Opacity */
.text-primary\/30 { color: color-mix(in srgb, var(--color-primary) 30%, transparent); }
.text-primary\/70 { color: color-mix(in srgb, var(--color-primary) 70%, transparent); }
.text-primary\/80 { color: color-mix(in srgb, var(--color-primary) 80%, transparent); }
.text-secondary\/70 { color: color-mix(in srgb, var(--color-secondary) 70%, transparent); }
.text-secondary\/80 { color: color-mix(in srgb, var(--color-secondary) 80%, transparent); }
.text-white\/80 { color: color-mix(in srgb, var(--color-white) 80%, transparent); }
.text-white\/90 { color: color-mix(in srgb, var(--color-white) 90%, transparent); }

/* Gradients */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops, transparent, transparent)); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops, transparent, transparent)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops, transparent, transparent)); }
.from-slate-950\/85 {
  --tw-gradient-from: color-mix(in srgb, var(--color-slate-950) 85%, transparent);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}
.via-slate-950\/60 {
  --tw-gradient-stops: var(--tw-gradient-from), color-mix(in srgb, var(--color-slate-950) 60%, transparent), var(--tw-gradient-to, transparent);
}
.to-transparent {
  --tw-gradient-to: transparent;
}

/* ==========================================================================
   10. BORDERS & RADIUS
   ========================================================================== */
.border { border-width: 1px; }
.border-0 { border-width: 0px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l { border-left-width: 1px; }
.border-r { border-right-width: 1px; }

.border-slate-50 { border-color: var(--color-slate-50); }
.border-slate-100 { border-color: var(--color-slate-100); }
.border-slate-200 { border-color: var(--color-slate-200); }
.border-slate-300 { border-color: var(--color-slate-300); }
.border-slate-400 { border-color: var(--color-slate-400); }
.border-slate-700 { border-color: var(--color-slate-700); }
.border-slate-800 { border-color: var(--color-slate-800); }
.border-red-200 { border-color: #fecaca; }
.border-white { border-color: var(--color-white); }
.border-transparent { border-color: transparent; }

.rounded-none { border-radius: var(--radius-none); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-md); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-3xl { border-radius: var(--radius-3xl); }
.rounded-full { border-radius: var(--radius-full); }
.rounded-t-lg { border-top-left-radius: var(--radius-lg); border-top-right-radius: var(--radius-lg); }
.rounded-b-lg { border-bottom-left-radius: var(--radius-lg); border-bottom-right-radius: var(--radius-lg); }

/* ==========================================================================
   11. SHADOWS & EFFECTS
   ========================================================================== */
.shadow-none { box-shadow: var(--shadow-none); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
.shadow-inner { box-shadow: var(--shadow-inner); }
.drop-shadow-sm { filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.3)); }
.drop-shadow { filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.4)); }
.drop-shadow-md { filter: drop-shadow(0 3px 6px rgb(0 0 0 / 0.5)); }
.drop-shadow-lg { filter: drop-shadow(0 6px 12px rgb(0 0 0 / 0.6)); }

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

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

.backdrop-blur-sm {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.backdrop-blur-md {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-default { cursor: default; }
.cursor-zoom-in { cursor: zoom-in; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

.transition-none { transition-property: none; }
.transition-all { transition-property: all; transition-timing-function: var(--ease-in-out); transition-duration: 300ms; }
.transition { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform; transition-timing-function: var(--ease-in-out); transition-duration: 300ms; }
.transition-transform { transition-property: transform; transition-timing-function: var(--ease-in-out); transition-duration: 300ms; }
.duration-75 { transition-duration: 75ms; }
.duration-100 { transition-duration: 100ms; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }

/* Group & Group Hover */
.group { position: relative; }
.group:hover .group-hover\:rotate-180 { transform: rotate(180deg); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:text-primary { color: var(--color-primary); }

/* Hover Utilities */
.hover\:bg-blue-500:hover { background-color: #3b82f6; }
.hover\:bg-primary:hover { background-color: var(--color-primary); }
.hover\:bg-white:hover { background-color: var(--color-white); }
.hover\:border-primary:hover { border-color: var(--color-primary); }
.hover\:border-primary\/40:hover { border-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-lg:hover { box-shadow: var(--shadow-lg); }
.hover\:shadow-xl:hover { box-shadow: var(--shadow-xl); }
.hover\:text-primary:hover { color: var(--color-primary); }
.hover\:text-slate-800:hover { color: var(--color-slate-800); }

/* Focus Utilities (Accessibility / Skip Link) */
.focus\:bg-primary:focus { background-color: var(--color-primary); }
.focus\:fixed:focus { position: fixed; }
.focus\:left-4:focus { left: 1rem; }
.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
.focus\:p-3:focus { padding: 0.75rem; }
.focus\:ring-primary:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.focus\:rounded-md:focus { border-radius: var(--radius-md); }
.focus\:shadow-xl:focus { box-shadow: var(--shadow-xl); }
.focus\:text-white:focus { color: var(--color-white); }
.focus\:top-4:focus { top: 1rem; }
.focus\:z-50:focus { z-index: 50; }

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS (sm: 640px, md: 768px, lg: 1024px, xl: 1280px)
   ========================================================================== */

/* ---------------- Small Devices (sm: min-width: 640px) ---------------- */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:inline-block { display: inline-block; }
  .sm\:flex { display: flex; }
  .sm\:\!flex { display: flex !important; }
  .sm\:grid { display: grid; }
  .sm\:hidden { display: none; }

  .sm\:flex-row { flex-direction: row; }
  .sm\:flex-col { flex-direction: column; }

  .sm\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .sm\:col-span-1 { grid-column: span 1 / span 1; }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }

  .sm\:gap-4 { gap: 1rem; }
  .sm\:gap-6 { gap: 1.5rem; }

  .sm\:h-\[700px\] { height: 700px; }
  .sm\:mb-16 { margin-bottom: 4rem; }

  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-7 { padding: 1.75rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
  .sm\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .sm\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .sm\:py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }

  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-9xl { font-size: 8rem; line-height: 1; }
}

/* ---------------- Medium Devices (md: min-width: 768px) ---------------- */
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:inline-block { display: inline-block; }
  .md\:flex { display: flex; }
  .md\:grid { display: grid; }
  .md\:hidden { display: none; }

  .md\:flex-row { flex-direction: row; }
  .md\:flex-col { flex-direction: column; }

  .md\:items-start { align-items: flex-start; }
  .md\:items-center { align-items: center; }
  .md\:justify-between { justify-content: space-between; }

  .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

  .md\:col-span-3 { grid-column: span 3 / span 3; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:col-span-9 { grid-column: span 9 / span 9; }

  .md\:gap-6 { gap: 1.5rem; }
  .md\:gap-8 { gap: 2rem; }

  .md\:p-8 { padding: 2rem; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }

  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }

  .md\:w-auto { width: auto; }
  .md\:w-1\/2 { width: 50%; }
  .md\:w-1\/3 { width: 33.333333%; }
  .md\:w-2\/3 { width: 66.666667%; }
}

/* ---------------- Large Devices (lg: min-width: 1024px) ---------------- */
@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:inline-block { display: inline-block; }
  .lg\:flex { display: flex; }
  .lg\:grid { display: grid; }
  .lg\:hidden { display: none; }

  .lg\:flex-row { flex-direction: row; }
  .lg\:flex-col { flex-direction: column; }

  .lg\:items-start { align-items: flex-start; }
  .lg\:items-center { align-items: center; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:justify-end { justify-content: flex-end; }

  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-6 { grid-column: span 6 / span 6; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:col-span-9 { grid-column: span 9 / span 9; }

  .lg\:gap-6 { gap: 1.5rem; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:gap-10 { gap: 2.5rem; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:gap-16 { gap: 4rem; }

  .lg\:h-\[800px\] { height: 800px; }

  .lg\:p-8 { padding: 2rem; }
  .lg\:p-10 { padding: 2.5rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }

  .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }

  .lg\:w-auto { width: auto; }
  .lg\:w-1\/3 { width: 33.333333%; }
  .lg\:w-2\/3 { width: 66.666667%; }
  .lg\:w-1\/4 { width: 25%; }
  .lg\:w-3\/4 { width: 75%; }
}

/* ---------------- Extra Large Devices (xl: min-width: 1280px) ---------------- */
@media (min-width: 1280px) {
  .xl\:block { display: block; }
  .xl\:flex { display: flex; }
  .xl\:grid { display: grid; }
  .xl\:hidden { display: none; }

  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .xl\:gap-8 { gap: 2rem; }
  .xl\:gap-12 { gap: 3rem; }

  .xl\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }

  .xl\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
}
