/* Global Styles */ /* PrimeNG and PrimeIcons */ @import 'primeicons/primeicons.css'; /* Google Fonts loaded via in index.html for non-blocking rendering */ /* Default CSS Variables - will be overridden by theme files */ :root { --primary-color: #497671; --primary-hover: #3d635f; --secondary-color: #a1b4b5; --secondary-hover: #8da3a4; --accent-color: #a7ceca; --accent-hover: #91b9b5; --gradient-primary: linear-gradient(360deg, #497671 0%, #a7ceca 100%); --gradient-secondary: linear-gradient(135deg, #a1b4b5 0%, #677b78 100%); --gradient-hero: linear-gradient(360deg, #497671 0%, #a7ceca 100%); --text-primary: #1e3c38; --text-secondary: #667a77; --text-light: #828e8d; --bg-primary: #ffffff; --bg-secondary: #f5f5f5; --bg-tertiary: #f0f0f0; --success-color: #10b981; --warning-color: #f59e0b; --error-color: #ef4444; --info-color: #3b82f6; --border-color: #d3dad9; --border-dark: #677b78; --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1); --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15); --shadow-lg: 0 12px 32px rgba(73, 118, 113, 0.2); --radius-sm: 8px; --radius-md: 12px; --radius-lg: 13px; --radius-xl: 22px; } * { box-sizing: border-box; margin: 0; padding: 0; } html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: var(--text-primary); background: #f5f5f5; min-height: 100vh; overflow-x: hidden; &.dexar-menu-open { overflow: hidden; } } /* Smooth Transitions */ a, button, input, textarea, select { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } /* Responsive Typography */ @media (max-width: 768px) { html { font-size: 14px; } } /* Scrollbar Styling */ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; } ::-webkit-scrollbar-thumb { background: var(--gradient-primary); border-radius: 10px; transition: background 0.3s ease; } ::-webkit-scrollbar-thumb:hover { background: var(--gradient-secondary); } /* Focus Styles */ *:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; } /* Utility Classes */ .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .text-center { text-align: center; } .mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; } .p-1 { padding: 0.5rem; } .p-2 { padding: 1rem; } .p-3 { padding: 1.5rem; } .p-4 { padding: 2rem; } // ─── Shared Badge & Tag Styles (from backOffice integration) ─── .item-badges-overlay { position: absolute; top: 8px; left: 8px; display: flex; flex-wrap: wrap; gap: 4px; z-index: 2; } .item-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px; color: #fff; line-height: 1.4; &.badge-new { background: #4caf50; } &.badge-sale { background: #f44336; } &.badge-exclusive { background: #9c27b0; } &.badge-hot { background: #ff5722; } &.badge-limited { background: #ff9800; } &.badge-bestseller { background: #2196f3; } &.badge-featured { background: #607d8b; } &.badge-custom { background: #78909c; } } .item-tag { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 0.72rem; color: var(--primary-color); background: rgba(73, 118, 113, 0.08); border: 1px solid rgba(73, 118, 113, 0.15); } .item-simple-desc { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.4; margin: 2px 0 4px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }