/**
 * UTILITIES.CSS - Helper Classes and Utility Functions
 * Utility classes for spacing, colors, display, positioning, etc.
 * 
 * @package StileSalentino
 * @version 2.1.0
 */

/* =============================================================
   VISIBILITY UTILITIES
   ============================================================= */

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

.show { display: block !important; }
.hide { display: none !important; }

/* Responsive visibility */
@media (max-width: 767px) {
    .hidden-mobile { display: none !important; }
    .visible-mobile { display: block !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hidden-tablet { display: none !important; }
    .visible-tablet { display: block !important; }
}

@media (min-width: 1024px) {
    .hidden-desktop { display: none !important; }
    .visible-desktop { display: block !important; }
}

/* =============================================================
   WIDTH & HEIGHT UTILITIES
   ============================================================= */

.w-auto { width: auto; }
.w-full { width: 100%; }
.w-screen { width: 100vw; }
.w-min { width: min-content; }
.w-max { width: max-content; }
.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-1\/5 { width: 20%; }
.w-2\/5 { width: 40%; }
.w-3\/5 { width: 60%; }
.w-4\/5 { width: 80%; }

.h-auto { height: auto; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-min { height: min-content; }
.h-max { height: max-content; }
.h-fit { height: fit-content; }

/* Specific height values */
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }

/* =============================================================
   ASPECT RATIO UTILITIES
   ============================================================= */

.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-photo { aspect-ratio: 4 / 3; }
.aspect-golden { aspect-ratio: 1.618 / 1; }
.aspect-portrait { aspect-ratio: 3 / 4; }
.aspect-landscape { aspect-ratio: 21 / 9; }

/* =============================================================
   BORDER UTILITIES
   ============================================================= */

.border { border: 1px solid var(--color-border, #e5e7eb); }
.border-0 { border: 0; }
.border-2 { border: 2px solid var(--color-border, #e5e7eb); }

.border-t { border-top: 1px solid var(--color-border, #e5e7eb); }
.border-r { border-right: 1px solid var(--color-border, #e5e7eb); }
.border-b { border-bottom: 1px solid var(--color-border, #e5e7eb); }
.border-l { border-left: 1px solid var(--color-border, #e5e7eb); }

.border-t-0 { border-top: 0; }
.border-r-0 { border-right: 0; }
.border-b-0 { border-bottom: 0; }
.border-l-0 { border-left: 0; }

/* Border Colors */
.border-primary { border-color: var(--color-primary, #2563eb); }
.border-secondary { border-color: var(--color-secondary, #64748b); }
.border-success { border-color: var(--color-success, #16a34a); }
.border-warning { border-color: var(--color-warning, #d97706); }
.border-danger { border-color: var(--color-danger, #dc2626); }
.border-transparent { border-color: transparent; }

/* Border Radius */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: var(--radius-sm, 4px); }
.rounded { border-radius: var(--radius-md, 6px); }
.rounded-md { border-radius: var(--radius-md, 8px); }
.rounded-lg { border-radius: var(--radius-lg, 12px); }
.rounded-xl { border-radius: var(--radius-xl, 16px); }
.rounded-2xl { border-radius: var(--radius-2xl, 24px); }
.rounded-full { border-radius: 9999px; }

.rounded-t-none { border-top-left-radius: 0; border-top-right-radius: 0; }
.rounded-r-none { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.rounded-b-none { border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
.rounded-l-none { border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* =============================================================
   BACKGROUND UTILITIES
   ============================================================= */

.bg-transparent { background-color: transparent; }
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }

.bg-primary { background-color: var(--color-primary, #2563eb); }
.bg-secondary { background-color: var(--color-secondary, #64748b); }
.bg-success { background-color: var(--color-success, #16a34a); }
.bg-warning { background-color: var(--color-warning, #d97706); }
.bg-danger { background-color: var(--color-danger, #dc2626); }
.bg-info { background-color: var(--color-info, #0ea5e9); }

.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-300 { background-color: #d1d5db; }
.bg-gray-400 { background-color: #9ca3af; }
.bg-gray-500 { background-color: #6b7280; }

/* Background Gradients */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--color-primary, #2563eb) 0%, var(--color-primary-dark, #1d4ed8) 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--color-secondary, #64748b) 0%, var(--color-secondary-dark, #475569) 100%);
}

.bg-gradient-warm {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.bg-gradient-cool {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.bg-gradient-sunset {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* =============================================================
   SHADOW UTILITIES
   ============================================================= */

.shadow-none { box-shadow: none; }
.shadow-xs { box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.shadow-sm { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06); }
.shadow { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06); }
.shadow-md { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.04); }
.shadow-2xl { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15); }

/* Colored Shadows */
.shadow-primary { box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2); }
.shadow-secondary { box-shadow: 0 4px 14px rgba(100, 116, 139, 0.2); }
.shadow-success { box-shadow: 0 4px 14px rgba(22, 163, 74, 0.2); }
.shadow-warning { box-shadow: 0 4px 14px rgba(217, 119, 6, 0.2); }
.shadow-danger { box-shadow: 0 4px 14px rgba(220, 38, 38, 0.2); }

/* =============================================================
   OPACITY UTILITIES
   ============================================================= */

.opacity-0 { opacity: 0; }
.opacity-10 { opacity: 0.1; }
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.opacity-100 { opacity: 1; }

/* =============================================================
   CURSOR UTILITIES
   ============================================================= */

.cursor-auto { cursor: auto; }
.cursor-default { cursor: default; }
.cursor-pointer { cursor: pointer; }
.cursor-wait { cursor: wait; }
.cursor-text { cursor: text; }
.cursor-move { cursor: move; }
.cursor-help { cursor: help; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-grab { cursor: grab; }
.cursor-grabbing { cursor: grabbing; }

/* =============================================================
   USER SELECT UTILITIES
   ============================================================= */

.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }
.select-auto { user-select: auto; }

/* =============================================================
   POINTER EVENTS UTILITIES
   ============================================================= */

.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* =============================================================
   RESIZE UTILITIES
   ============================================================= */

.resize-none { resize: none; }
.resize-both { resize: both; }
.resize-x { resize: horizontal; }
.resize-y { resize: vertical; }

/* =============================================================
   OBJECT FIT UTILITIES
   ============================================================= */

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

.object-bottom { object-position: bottom; }
.object-center { object-position: center; }
.object-left { object-position: left; }
.object-left-bottom { object-position: left bottom; }
.object-left-top { object-position: left top; }
.object-right { object-position: right; }
.object-right-bottom { object-position: right bottom; }
.object-right-top { object-position: right top; }
.object-top { object-position: top; }

/* =============================================================
   ANIMATION UTILITIES
   ============================================================= */

.animate-none { animation: none; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-fade-in { animation: fadeIn 0.3s ease-in-out; }
.animate-slide-in-up { animation: slideInUp 0.3s ease-out; }
.animate-slide-in-down { animation: slideInDown 0.3s ease-out; }
.animate-zoom-in { animation: zoomIn 0.3s ease-out; }

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* =============================================================
   TRANSFORM UTILITIES
   ============================================================= */

.scale-0 { transform: scale(0); }
.scale-50 { transform: scale(.5); }
.scale-75 { transform: scale(.75); }
.scale-90 { transform: scale(.9); }
.scale-95 { transform: scale(.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }
.scale-125 { transform: scale(1.25); }
.scale-150 { transform: scale(1.5); }

.rotate-0 { transform: rotate(0deg); }
.rotate-1 { transform: rotate(1deg); }
.rotate-2 { transform: rotate(2deg); }
.rotate-3 { transform: rotate(3deg); }
.rotate-6 { transform: rotate(6deg); }
.rotate-12 { transform: rotate(12deg); }
.rotate-45 { transform: rotate(45deg); }
.rotate-90 { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }

.-rotate-1 { transform: rotate(-1deg); }
.-rotate-2 { transform: rotate(-2deg); }
.-rotate-3 { transform: rotate(-3deg); }
.-rotate-6 { transform: rotate(-6deg); }
.-rotate-12 { transform: rotate(-12deg); }
.-rotate-45 { transform: rotate(-45deg); }
.-rotate-90 { transform: rotate(-90deg); }
.-rotate-180 { transform: rotate(-180deg); }

.translate-x-0 { transform: translateX(0); }
.translate-x-1 { transform: translateX(0.25rem); }
.translate-x-2 { transform: translateX(0.5rem); }
.translate-x-4 { transform: translateX(1rem); }
.-translate-x-1 { transform: translateX(-0.25rem); }
.-translate-x-2 { transform: translateX(-0.5rem); }
.-translate-x-4 { transform: translateX(-1rem); }

.translate-y-0 { transform: translateY(0); }
.translate-y-1 { transform: translateY(0.25rem); }
.translate-y-2 { transform: translateY(0.5rem); }
.translate-y-4 { transform: translateY(1rem); }
.-translate-y-1 { transform: translateY(-0.25rem); }
.-translate-y-2 { transform: translateY(-0.5rem); }
.-translate-y-4 { transform: translateY(-1rem); }

/* =============================================================
   TRANSITION UTILITIES
   ============================================================= */

.transition-none { transition: none; }
.transition-all { transition: all 150ms ease-in-out; }
.transition-colors { transition: color, background-color, border-color 150ms ease-in-out; }
.transition-opacity { transition: opacity 150ms ease-in-out; }
.transition-shadow { transition: box-shadow 150ms ease-in-out; }
.transition-transform { transition: transform 150ms ease-in-out; }

.transition-fast { transition-duration: 75ms; }
.transition-normal { transition-duration: 150ms; }
.transition-slow { transition-duration: 300ms; }
.transition-slower { transition-duration: 500ms; }

.ease-linear { transition-timing-function: linear; }
.ease-in { transition-timing-function: ease-in; }
.ease-out { transition-timing-function: ease-out; }
.ease-in-out { transition-timing-function: ease-in-out; }

/* =============================================================
   FILTER UTILITIES
   ============================================================= */

.blur-none { filter: blur(0); }
.blur-sm { filter: blur(4px); }
.blur { filter: blur(8px); }
.blur-md { filter: blur(12px); }
.blur-lg { filter: blur(16px); }
.blur-xl { filter: blur(24px); }
.blur-2xl { filter: blur(40px); }
.blur-3xl { filter: blur(64px); }

.brightness-0 { filter: brightness(0); }
.brightness-50 { filter: brightness(.5); }
.brightness-75 { filter: brightness(.75); }
.brightness-90 { filter: brightness(.9); }
.brightness-95 { filter: brightness(.95); }
.brightness-100 { filter: brightness(1); }
.brightness-105 { filter: brightness(1.05); }
.brightness-110 { filter: brightness(1.1); }
.brightness-125 { filter: brightness(1.25); }
.brightness-150 { filter: brightness(1.5); }
.brightness-200 { filter: brightness(2); }

.contrast-0 { filter: contrast(0); }
.contrast-50 { filter: contrast(.5); }
.contrast-75 { filter: contrast(.75); }
.contrast-100 { filter: contrast(1); }
.contrast-125 { filter: contrast(1.25); }
.contrast-150 { filter: contrast(1.5); }
.contrast-200 { filter: contrast(2); }

.grayscale-0 { filter: grayscale(0); }
.grayscale { filter: grayscale(100%); }

.sepia-0 { filter: sepia(0); }
.sepia { filter: sepia(100%); }

/* =============================================================
   BACKDROP FILTER UTILITIES
   ============================================================= */

.backdrop-blur-none { backdrop-filter: blur(0); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-lg { backdrop-filter: blur(16px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }

/* =============================================================
   INTERACTIVE UTILITIES
   ============================================================= */

.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }

.hover\:shadow-md:hover { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.04); }

.focus\:scale-105:focus { transform: scale(1.05); }
.focus\:outline-none:focus { outline: none; }

.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:opacity-75 { opacity: 0.75; }
.group:hover .group-hover\:opacity-50 { opacity: 0.5; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }

/* =============================================================
   TYPOGRAPHY UTILITIES
   ============================================================= */

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-ellipsis { text-overflow: ellipsis; }
.text-clip { text-overflow: clip; }

.whitespace-normal { white-space: normal; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre { white-space: pre; }
.whitespace-pre-line { white-space: pre-line; }
.whitespace-pre-wrap { white-space: pre-wrap; }

.break-normal { overflow-wrap: normal; word-break: normal; }
.break-words { overflow-wrap: break-word; }
.break-all { word-break: break-all; }

/* =============================================================
   FLEXBOX UTILITIES
   ============================================================= */

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

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

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

.order-1 { order: 1; }
.order-2 { order: 2; }
.order-3 { order: 3; }
.order-4 { order: 4; }
.order-5 { order: 5; }
.order-first { order: -9999; }
.order-last { order: 9999; }
.order-none { order: 0; }

/* =============================================================
   RESPONSIVE UTILITIES
   ============================================================= */

/* Mobile First Responsive Utilities */
@media (min-width: 640px) {
    .sm\:block { display: block; }
    .sm\:flex { display: flex; }
    .sm\:grid { display: grid; }
    .sm\:hidden { display: none; }
    
    .sm\:w-auto { width: auto; }
    .sm\:w-full { width: 100%; }
    .sm\:w-1\/2 { width: 50%; }
    .sm\:w-1\/3 { width: 33.333333%; }
}

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:flex { display: flex; }
    .md\:grid { display: grid; }
    .md\:hidden { display: none; }
    
    .md\:w-auto { width: auto; }
    .md\:w-full { width: 100%; }
    .md\:w-1\/2 { width: 50%; }
    .md\:w-1\/3 { width: 33.333333%; }
    .md\:w-2\/3 { width: 66.666667%; }
    
    .md\:text-left { text-align: left; }
    .md\:text-center { text-align: center; }
    .md\:text-right { text-align: right; }
}

@media (min-width: 1024px) {
    .lg\:block { display: block; }
    .lg\:flex { display: flex; }
    .lg\:grid { display: grid; }
    .lg\:hidden { display: none; }
    
    .lg\:w-auto { width: auto; }
    .lg\:w-full { width: 100%; }
    .lg\:w-1\/2 { width: 50%; }
    .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%; }
}

/* =============================================================
   PRINT UTILITIES
   ============================================================= */

@media print {
    .print\:hidden { display: none !important; }
    .print\:block { display: block !important; }
    .print\:inline { display: inline !important; }
    .print\:flex { display: flex !important; }
    .print\:grid { display: grid !important; }
    
    .print\:text-black { color: #000000 !important; }
    .print\:bg-white { background-color: #ffffff !important; }
    .print\:bg-transparent { background-color: transparent !important; }
    
    .print\:shadow-none { box-shadow: none !important; }
    .print\:border { border: 1px solid #000000 !important; }
}

/* =============================================================
   DARK MODE UTILITIES
   ============================================================= */

@media (prefers-color-scheme: dark) {
    .dark\:bg-gray-900 { background-color: #111827; }
    .dark\:bg-gray-800 { background-color: #1f2937; }
    .dark\:bg-gray-700 { background-color: #374151; }
    
    .dark\:text-white { color: #ffffff; }
    .dark\:text-gray-100 { color: #f9fafb; }
    .dark\:text-gray-200 { color: #e5e7eb; }
    .dark\:text-gray-300 { color: #d1d5db; }
    
    .dark\:border-gray-700 { border-color: #374151; }
    .dark\:border-gray-600 { border-color: #4b5563; }
    
    .dark\:shadow-gray-900 { box-shadow: 0 4px 14px rgba(17, 24, 39, 0.2); }
}

/* =============================================================
   REDUCED MOTION UTILITIES
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
    .motion-reduce\:animate-none { animation: none !important; }
    .motion-reduce\:transition-none { transition: none !important; }
    .motion-reduce\:transform-none { transform: none !important; }
}

/* =============================================================
   CUSTOM FASHION DIRECTORY UTILITIES
   ============================================================= */

.fd-card-hover {
    transition: all 0.3s ease;
}

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

.fd-text-gradient {
    background: linear-gradient(135deg, var(--color-primary, #2563eb), var(--color-secondary, #7c3aed));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fd-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fd-scroll-smooth {
    scroll-behavior: smooth;
}

.fd-focus-ring:focus-visible {
    outline: 2px solid var(--focus-color, #2563eb);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Store-specific utilities */
.store-featured {
    position: relative;
}

.store-featured::before {
    content: '⭐';
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-warning, #f59e0b);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    z-index: 10;
}

.rating-stars {
    color: var(--color-warning, #f59e0b);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.category-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs, 4px) var(--space-sm, 8px);
    background: var(--color-primary, #2563eb);
    color: white;
    border-radius: var(--radius-pill, 12px);
    font-size: var(--font-size-xs, 0.75rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Performance optimization utilities */
.will-change-transform { will-change: transform; }
.will-change-opacity { will-change: opacity; }
.will-change-contents { will-change: contents; }
.will-change-scroll { will-change: scroll-position; }
.will-change-auto { will-change: auto; }

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* =============================================================
   DEBUG UTILITIES (Remove in Production)
   ============================================================= */

.debug-grid {
    background-image: 
        linear-gradient(rgba(255, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.debug-border { border: 1px solid red !important; }
.debug-border-blue { border: 1px solid blue !important; }
.debug-border-green { border: 1px solid green !important; }

.debug-bg-red { background: rgba(255, 0, 0, 0.1) !important; }
.debug-bg-blue { background: rgba(0, 0, 255, 0.1) !important; }
.debug-bg-green { background: rgba(0, 255, 0, 0.1) !important; }
