/**
 * OnlyWorlds Base Style
 * Version: 1.0.0
 * Created: 2025-10-08
 * By: Kael
 *
 * The definitive OnlyWorlds visual identity.
 * Dark void + cyan glow + lowercase + purposeful.
 */

/* ===================================================================
   CSS CUSTOM PROPERTIES
   =================================================================== */

:root {
    /* ============= COLOR PALETTE ============= */

    /* Background Layers */
    --ow-black: #000000;
    --ow-bg-primary: #000000;
    --ow-bg-secondary: #0a0a0a;
    --ow-bg-tertiary: #1a1a1a;
    --ow-bg-translucent: rgba(30, 41, 59, 0.3);

    /* Text Colors */
    --ow-text-primary: #e2e8f0;
    --ow-text-secondary: #94a3b8;
    --ow-text-tertiary: #64748b;
    --ow-text-white: #ffffff;

    /* Accent Colors (THE OnlyWorlds color) */
    --ow-cyan-primary: #22d3ee;
    --ow-cyan-light: #67e8f9;
    --ow-cyan-dark: #06b6d4;
    --ow-cyan-glow: rgba(34, 211, 238, 0.4);
    --ow-cyan-glow-strong: rgba(34, 211, 238, 0.6);

    /* UI Structure Colors */
    --ow-gray-800: #1f2937;
    --ow-gray-900: #111827;
    --ow-border: rgba(34, 211, 238, 0.3);
    --ow-border-hover: rgba(34, 211, 238, 0.5);
    --ow-border-subtle: rgba(255, 255, 255, 0.05);

    /* Semantic Colors */
    --ow-success: #10b981;
    --ow-error: #ef4444;
    --ow-warning: #f59e0b;
    --ow-info: #22d3ee;

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

    /* Font Stack */
    --ow-font-sans: system-ui, -apple-system, BlinkMacSystemFont,
                    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif,
                    'Apple Color Emoji', 'Segoe UI Emoji';

    /* Font Sizes (Modular Scale - 1.25 ratio) */
    --ow-text-xs: 0.75rem;      /* 12px */
    --ow-text-sm: 0.875rem;     /* 14px */
    --ow-text-base: 1rem;       /* 16px */
    --ow-text-lg: 1.125rem;     /* 18px */
    --ow-text-xl: 1.25rem;      /* 20px */
    --ow-text-2xl: 1.5rem;      /* 24px */
    --ow-text-3xl: 1.875rem;    /* 30px */
    --ow-text-4xl: 2.25rem;     /* 36px */

    /* Line Heights */
    --ow-leading-tight: 1.25;
    --ow-leading-normal: 1.5;
    --ow-leading-relaxed: 1.6;

    /* Font Weights */
    --ow-font-normal: 400;
    --ow-font-medium: 500;
    --ow-font-semibold: 600;
    --ow-font-bold: 700;

    /* ============= SPACING (8px grid) ============= */
    --ow-space-1: 8px;
    --ow-space-2: 16px;
    --ow-space-3: 24px;
    --ow-space-4: 32px;
    --ow-space-5: 40px;
    --ow-space-6: 48px;
    --ow-space-8: 64px;
    --ow-space-12: 96px;
    --ow-space-16: 128px;

    /* ============= BORDER RADIUS ============= */
    --ow-radius-sm: 4px;
    --ow-radius-md: 8px;
    --ow-radius-lg: 12px;
    --ow-radius-xl: 16px;
    --ow-radius-full: 9999px;

    /* ============= SHADOWS & GLOWS ============= */

    /* Box Shadows (Depth) */
    --ow-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --ow-shadow-md: 0 2px 4px rgba(0, 0, 0, 0.5);
    --ow-shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.5);
    --ow-shadow-xl: 0 8px 16px rgba(0, 0, 0, 0.5);

    /* Text Glows */
    --ow-text-glow-subtle: 0 0 10px rgba(34, 211, 238, 0.2);
    --ow-text-glow-medium: 0 0 20px rgba(34, 211, 238, 0.4);
    --ow-text-glow-strong: 0 0 30px rgba(34, 211, 238, 0.6);

    /* Element Glows (Interactive Highlight) - Reduced for subtlety */
    --ow-glow-subtle: 0 0 8px rgba(34, 211, 238, 0.15);
    --ow-glow-medium: 0 0 12px rgba(34, 211, 238, 0.25);
    --ow-glow-strong: 0 0 20px rgba(34, 211, 238, 0.4);

    /* Inset Glows (Internal Highlight) */
    --ow-glow-inset: inset 0 0 10px rgba(34, 211, 238, 0.1);
    --ow-glow-inset-strong: inset 0 0 15px rgba(34, 211, 238, 0.2);

    /* ============= TRANSITIONS ============= */
    --ow-transition-quick: 150ms ease-out;
    --ow-transition-standard: 250ms ease-out;
    --ow-transition-complex: 350ms ease-out;
}

/* ===================================================================
   LIGHT THEME OVERRIDE (Optional)
   =================================================================== */

[data-theme="light"] {
    --ow-bg-primary: #ffffff;
    --ow-bg-secondary: #f8fafc;
    --ow-bg-tertiary: #f1f5f9;
    --ow-text-primary: #1e293b;
    --ow-text-secondary: #475569;
    --ow-text-tertiary: #64748b;
    --ow-cyan-primary: #0891b2;
    --ow-border-subtle: rgba(0, 0, 0, 0.1);
}

/* ===================================================================
   BASE STYLES
   =================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--ow-font-sans);
    font-size: var(--ow-text-base);
    line-height: var(--ow-leading-normal);
    color: var(--ow-text-primary);
    background: var(--ow-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--ow-font-semibold);
    line-height: var(--ow-leading-tight);
    color: var(--ow-text-white);
}

h1 { font-size: var(--ow-text-4xl); }
h2 { font-size: var(--ow-text-3xl); }
h3 { font-size: var(--ow-text-2xl); }
h4 { font-size: var(--ow-text-xl); }
h5 { font-size: var(--ow-text-lg); }
h6 { font-size: var(--ow-text-base); }

a {
    color: var(--ow-cyan-primary);
    text-decoration: none;
    transition: color var(--ow-transition-quick);
}

a:hover {
    color: var(--ow-cyan-light);
}

/* ===================================================================
   BUTTON COMPONENTS
   =================================================================== */

/* Base Button */
button,
.ow-btn {
    font-family: var(--ow-font-sans);
    font-size: var(--ow-text-base);
    font-weight: var(--ow-font-medium);
    text-transform: lowercase; /* CRITICAL: OnlyWorlds identity */
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

button:disabled,
.ow-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Primary Button (Filled, Cyan) */
.ow-btn-primary {
    background: transparent;
    color: var(--ow-cyan-primary);
    border: 1px solid var(--ow-cyan-primary);
    padding: 12px 24px;
    border-radius: var(--ow-radius-lg);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ow-space-2);
    transition: all var(--ow-transition-quick);
    box-shadow: var(--ow-glow-subtle);
}

.ow-btn-primary:hover:not(:disabled) {
    background: rgba(34, 211, 238, 0.1);
    border-color: var(--ow-cyan-light);
    color: var(--ow-cyan-light);
    box-shadow: var(--ow-glow-medium);
}

.ow-btn-primary:active:not(:disabled) {
    transform: scale(0.98);
    box-shadow: var(--ow-glow-subtle);
}

.ow-btn-primary:focus-visible {
    outline: none;
    box-shadow: var(--ow-glow-medium), 0 0 0 3px rgba(34, 211, 238, 0.2);
}

/* Secondary Button (Outlined, Gray) */
.ow-btn-secondary {
    background: transparent;
    color: var(--ow-text-primary);
    border: 1px solid var(--ow-text-secondary);
    padding: 12px 24px;
    border-radius: var(--ow-radius-lg);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ow-space-2);
    transition: all var(--ow-transition-quick);
}

.ow-btn-secondary:hover:not(:disabled) {
    border-color: var(--ow-text-primary);
    color: var(--ow-text-white);
}

.ow-btn-secondary:active:not(:disabled) {
    transform: scale(0.98);
}

.ow-btn-secondary:focus-visible {
    outline: none;
    border-color: var(--ow-cyan-primary);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

/* Text Button (Borderless, Tertiary) */
.ow-btn-text {
    background: transparent;
    color: var(--ow-cyan-primary);
    border: none;
    padding: 8px 16px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ow-space-1);
    transition: color var(--ow-transition-quick);
}

.ow-btn-text:hover:not(:disabled) {
    color: var(--ow-cyan-light);
}

.ow-btn-text:active:not(:disabled) {
    transform: scale(0.98);
}

.ow-btn-text:focus-visible {
    outline: none;
    color: var(--ow-cyan-light);
    text-decoration: underline;
}

/* Danger Button (Error State) */
.ow-btn-danger {
    background: transparent;
    color: var(--ow-error);
    border: 1px solid var(--ow-error);
    padding: 12px 24px;
    border-radius: var(--ow-radius-lg);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--ow-space-2);
    transition: all var(--ow-transition-quick);
}

.ow-btn-danger:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.1);
}

.ow-btn-danger:active:not(:disabled) {
    transform: scale(0.98);
}

/* Button Sizes */
.ow-btn-sm {
    padding: 8px 16px;
    min-height: 40px;
    font-size: var(--ow-text-sm);
}

.ow-btn-lg {
    padding: 16px 32px;
    min-height: 56px;
    font-size: var(--ow-text-lg);
}

/* ===================================================================
   CARD COMPONENTS
   =================================================================== */

.ow-card {
    background: var(--ow-bg-tertiary);
    border: 1px solid var(--ow-border-subtle);
    border-radius: var(--ow-radius-md);
    padding: var(--ow-space-3);
    box-shadow: var(--ow-shadow-sm);
    transition: box-shadow var(--ow-transition-quick),
                border-color var(--ow-transition-quick);
}

.ow-card:hover {
    border-color: rgba(34, 211, 238, 0.2);
    box-shadow: var(--ow-shadow-md);
}

.ow-card-interactive {
    cursor: pointer;
}

.ow-card-interactive:active {
    transform: scale(0.99);
}

/* Emphasis Card (Highlighted with Cyan) */
.ow-card-emphasis {
    background: var(--ow-bg-translucent);
    border: 1px solid var(--ow-border);
    box-shadow: var(--ow-glow-subtle), var(--ow-glow-inset);
}

.ow-card-emphasis:hover {
    border-color: var(--ow-border-hover);
    box-shadow: var(--ow-glow-medium), var(--ow-glow-inset-strong);
}

/* ===================================================================
   INPUT COMPONENTS
   =================================================================== */

input,
textarea,
select,
.ow-input {
    font-family: var(--ow-font-sans);
    font-size: var(--ow-text-base);
    color: var(--ow-text-primary);
    background: var(--ow-bg-secondary);
    border: 1px solid var(--ow-text-tertiary);
    border-radius: var(--ow-radius-md);
    padding: 12px 16px;
    min-height: 48px;
    width: 100%;
    transition: border-color var(--ow-transition-quick),
                box-shadow var(--ow-transition-quick);
}

input:focus,
textarea:focus,
select:focus,
.ow-input:focus {
    outline: none;
    border-color: var(--ow-cyan-primary);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

input::placeholder,
textarea::placeholder,
.ow-input::placeholder {
    color: var(--ow-text-tertiary);
}

input:disabled,
textarea:disabled,
select:disabled,
.ow-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===================================================================
   NAVIGATION (TOP TABS - MOBILE DEFAULT)
   =================================================================== */

.ow-nav-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--ow-gray-800);
    border-bottom: 1px solid rgba(34, 211, 238, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: stretch; /* Let tabs fill height */
    padding: env(safe-area-inset-top, 0) var(--ow-space-2) 0;
    z-index: 100;
    height: calc(64px + env(safe-area-inset-top, 0px));
}

.ow-nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: var(--ow-space-1) var(--ow-space-2); /* Reduce vertical padding for balance */
    color: var(--ow-text-secondary);
    font-size: var(--ow-text-sm);
    text-transform: lowercase;
    text-decoration: none;
    transition: color var(--ow-transition-quick);
    min-width: 48px;
    min-height: 48px;
    position: relative;
    cursor: pointer;
    border: none;
    background: transparent;
}

.ow-nav-tab:active {
    transform: scale(0.95);
}

.ow-nav-tab.active {
    color: var(--ow-cyan-primary);
    font-weight: var(--ow-font-semibold);
}

.ow-nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -var(--ow-space-2);
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: var(--ow-cyan-primary);
}

.ow-nav-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Content padding when top nav is fixed */
.ow-content-with-top-nav {
    padding-top: calc(64px + env(safe-area-inset-top, 0px) + var(--ow-space-4));
}

/* ===================================================================
   ICON COMPONENTS
   =================================================================== */

/* Material Icons Global Defaults */
.material-icons {
    color: var(--ow-cyan-primary);
    user-select: none;
    vertical-align: middle;
    font-size: 20px; /* Default smaller than library default (24px) */
}

/* Material Icons inherit color in buttons */
button .material-icons,
.ow-btn .material-icons,
.ow-btn-primary .material-icons,
.ow-btn-secondary .material-icons,
.ow-btn-text .material-icons,
.ow-btn-danger .material-icons {
    color: inherit;
}

/* Semantic icon colors */
.ow-icon-error {
    color: var(--ow-error);
}

.ow-icon-success {
    color: var(--ow-success);
}

.ow-icon-warning {
    color: var(--ow-warning);
}

.ow-icon-neutral {
    color: var(--ow-text-secondary);
}

/* Generic icon wrapper */
.ow-icon {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.ow-icon-sm { font-size: 18px; }
.ow-icon-md { font-size: 24px; }
.ow-icon-lg { font-size: 32px; }
.ow-icon-xl { font-size: 48px; }

.ow-icon-interactive {
    color: var(--ow-cyan-primary);
    transition: color var(--ow-transition-quick);
}

.ow-icon-interactive:hover {
    color: var(--ow-cyan-light);
}

/* ===================================================================
   CATEGORY GRID (ELEMENT TYPES)
   =================================================================== */

.ow-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Fixed 3 columns */
    gap: var(--ow-space-3);
    padding: var(--ow-space-4);
}

.ow-category-card {
    background: var(--ow-bg-translucent);
    border: 1px solid var(--ow-border-subtle);
    border-radius: var(--ow-radius-md);
    padding: var(--ow-space-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--ow-space-1);
    min-height: 80px;
    cursor: pointer;
    transition: all var(--ow-transition-quick);
}

.ow-category-card:hover {
    background: rgba(30, 41, 59, 0.5);
    border-color: var(--ow-border);
    box-shadow: var(--ow-glow-subtle);
}

.ow-category-card:active {
    transform: scale(0.98);
}

.ow-category-icon {
    color: var(--ow-cyan-primary);
    font-size: 32px;
}

.ow-category-label {
    color: var(--ow-text-primary);
    font-size: var(--ow-text-base);
    font-weight: var(--ow-font-medium);
    text-transform: capitalize;
    text-align: center;
}

.ow-category-count {
    color: var(--ow-text-tertiary);
    font-size: var(--ow-text-sm);
}

/* ===================================================================
   TOAST / NOTIFICATION COMPONENTS
   =================================================================== */

.ow-toast {
    background: var(--ow-bg-tertiary);
    border: 1px solid var(--ow-border);
    border-radius: var(--ow-radius-lg);
    padding: var(--ow-space-3) var(--ow-space-4);
    box-shadow: var(--ow-shadow-lg), var(--ow-glow-subtle);
    color: var(--ow-text-primary);
    display: flex;
    align-items: center;
    gap: var(--ow-space-2);
    min-width: 300px;
    max-width: 500px;
}

.ow-toast-success { border-color: var(--ow-success); }
.ow-toast-error { border-color: var(--ow-error); }
.ow-toast-warning { border-color: var(--ow-warning); }
.ow-toast-info { border-color: var(--ow-cyan-primary); }

.ow-toast-close {
    background: transparent;
    border: none;
    color: var(--ow-text-secondary);
    font-size: var(--ow-text-xl);
    cursor: pointer;
    padding: 4px;
    min-width: 32px;
    min-height: 32px;
    border-radius: var(--ow-radius-sm);
    transition: all var(--ow-transition-quick);
}

.ow-toast-close:hover {
    color: var(--ow-text-white);
    background: rgba(255, 255, 255, 0.1);
}

.ow-toast-close:active {
    transform: scale(0.95);
}

/* ===================================================================
   MODAL COMPONENTS
   =================================================================== */

.ow-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: var(--ow-space-4);
}

.ow-modal {
    background: var(--ow-bg-tertiary);
    border: 1px solid var(--ow-border);
    border-radius: var(--ow-radius-xl);
    box-shadow: var(--ow-shadow-xl), var(--ow-glow-medium);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--ow-space-6);
}

.ow-modal-header {
    border-bottom: 1px solid var(--ow-border-subtle);
    padding-bottom: var(--ow-space-3);
    margin-bottom: var(--ow-space-4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ow-modal-title {
    font-size: var(--ow-text-2xl);
    font-weight: var(--ow-font-semibold);
    color: var(--ow-text-white);
    text-transform: lowercase;
}

.ow-modal-close {
    background: transparent;
    border: none;
    color: var(--ow-text-secondary);
    font-size: var(--ow-text-2xl);
    cursor: pointer;
    padding: var(--ow-space-1);
    min-width: 32px;
    min-height: 32px;
    transition: color var(--ow-transition-quick);
}

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

.ow-modal-body {
    margin-bottom: var(--ow-space-4);
}

.ow-modal-footer {
    border-top: 1px solid var(--ow-border-subtle);
    padding-top: var(--ow-space-3);
    display: flex;
    gap: var(--ow-space-2);
    justify-content: flex-end;
}

/* ===================================================================
   FOOTER
   =================================================================== */

.ow-footer {
    background: var(--ow-gray-900);
    border-top: 1px solid rgba(34, 211, 238, 0.2);
    padding: var(--ow-space-6) var(--ow-space-4);
    margin-top: auto;
}

.ow-footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--ow-space-4);
    align-items: center;
}

@media (min-width: 768px) {
    .ow-footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.ow-footer-brand {
    color: var(--ow-text-primary);
    font-weight: var(--ow-font-semibold);
    text-transform: lowercase;
    font-size: var(--ow-text-lg);
}

.ow-footer-brand:hover {
    color: var(--ow-cyan-primary);
}

.ow-footer-links {
    display: flex;
    gap: var(--ow-space-4);
}

.ow-footer-links a {
    color: var(--ow-text-secondary);
    font-size: var(--ow-text-sm);
    text-transform: lowercase;
    transition: color var(--ow-transition-quick);
}

.ow-footer-links a:hover {
    color: var(--ow-cyan-primary);
}

/* ===================================================================
   UTILITY CLASSES
   =================================================================== */

/* Safe Area Handling */
.ow-safe-top {
    padding-top: max(var(--ow-space-2), env(safe-area-inset-top));
}

.ow-safe-bottom {
    padding-bottom: max(var(--ow-space-2), env(safe-area-inset-bottom));
}

.ow-safe-left {
    padding-left: max(var(--ow-space-2), env(safe-area-inset-left));
}

.ow-safe-right {
    padding-right: max(var(--ow-space-2), env(safe-area-inset-right));
}

/* Touch Target */
.ow-touch-target {
    min-width: 48px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Text Utilities */
.ow-text-lowercase { text-transform: lowercase; }
.ow-text-center { text-align: center; }
.ow-text-right { text-align: right; }

/* Spacing Utilities */
.ow-mt-1 { margin-top: var(--ow-space-1); }
.ow-mt-2 { margin-top: var(--ow-space-2); }
.ow-mt-3 { margin-top: var(--ow-space-3); }
.ow-mt-4 { margin-top: var(--ow-space-4); }

.ow-mb-1 { margin-bottom: var(--ow-space-1); }
.ow-mb-2 { margin-bottom: var(--ow-space-2); }
.ow-mb-3 { margin-bottom: var(--ow-space-3); }
.ow-mb-4 { margin-bottom: var(--ow-space-4); }

.ow-p-2 { padding: var(--ow-space-2); }
.ow-p-3 { padding: var(--ow-space-3); }
.ow-p-4 { padding: var(--ow-space-4); }

/* Layout Utilities */
.ow-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--ow-space-4);
}

.ow-flex {
    display: flex;
}

.ow-flex-col {
    flex-direction: column;
}

.ow-gap-2 { gap: var(--ow-space-2); }
.ow-gap-3 { gap: var(--ow-space-3); }
.ow-gap-4 { gap: var(--ow-space-4); }

/* ===================================================================
   ACCESSIBILITY
   =================================================================== */

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--ow-cyan-primary);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================================================
   RESPONSIVE BREAKPOINTS
   =================================================================== */

/* Mobile-first approach - these are just helpers */

/* Extra small mobile devices (iPhone SE, small Android phones) */
@media (max-width: 480px) {
    .ow-category-grid {
        gap: var(--ow-space-1); /* Reduce gap from 24px to 8px */
        padding: 12px; /* Reduce padding from 32px to 12px */
    }

    .ow-category-card {
        padding: var(--ow-space-1); /* Reduce padding from 16px to 8px */
        min-height: 72px; /* Reduce from 80px to 72px */
        gap: 4px; /* Tighter spacing */
    }

    .ow-category-icon {
        font-size: 24px; /* Reduce from 32px to 24px */
    }

    .ow-category-label {
        font-size: var(--ow-text-xs); /* Reduce from 16px to 12px */
        word-break: break-word; /* Prevent overflow */
        max-width: 100%;
    }
}

@media (min-width: 640px) {
    /* SM breakpoint */
}

@media (min-width: 768px) {
    /* MD breakpoint */
    .ow-nav-top {
        /* Could switch to side nav on desktop if needed */
    }
}

@media (min-width: 1024px) {
    /* LG breakpoint */
}

@media (min-width: 1280px) {
    /* XL breakpoint */
}
