@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600&display=swap'); :root { /* Fonts */ --font-heading: 'Instrument Serif', serif; --font-ui: 'Inter', sans-serif; /* Color Palette */ --mb-bg: #F9F9F9; --mb-card-bg: #FFFFFF; --mb-text-dark: #1A1A1A; --mb-text-muted: #666666; --mb-accent-red: #E63946; --mb-radius: 12px; /* High-Visibility Machined White Metal Core Surface Definition */ /* Sharp linear reflection channels paired with micro-milled density grids */ --brushed-metal-bg: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(240, 241, 245, 0.95) 25%, rgba(255, 255, 255, 1) 50%, rgba(238, 240, 244, 0.95) 75%, rgba(255, 255, 255, 1) 100% ), repeating-linear-gradient( 0deg, rgba(0, 0, 0, 0.012) 0px, rgba(0, 0, 0, 0.012) 1px, transparent 1px, transparent 2px ), repeating-linear-gradient( 90deg, rgba(255, 255, 255, 0.9) 0px, rgba(255, 255, 255, 0.9) 1px, transparent 1px, transparent 3px ), #EDEFF4; /* Definitive satin platinum breakout base fallback */ } /* Global Reset & Core Variables Mapping */ body { background-color: var(--mb-bg); color: var(--mb-text-dark); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; } h1, h2, h3, .display-font { font-family: var(--font-heading); font-weight: 400; } /* Custom Navigation Pill Styling */ .nav-pill-wrapper { background-color: #FFFFFF; border: 1px solid rgba(0, 0, 0, 0.06); padding: 6px; border-radius: 50px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); } .nav-pill-link { font-size: 0.9rem; font-weight: 500; color: var(--mb-text-muted); padding: 8px 20px; border-radius: 50px; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; } .nav-pill-link i { width: 16px; height: 16px; stroke-width: 1.5; } /* Navigation Pill States */ .nav-pill-link:hover { color: var(--mb-text-dark); background-color: #F1F1F1; } .nav-pill-link.active { color: #FFFFFF !important; background-color: var(--mb-text-dark); } .nav-pill-link.active svg { stroke: #FFFFFF; } /* Utilities & Component Support Layouts */ .cart-badge { position: absolute; top: -5px; right: -5px; background-color: var(--mb-text-dark); color: #FFFFFF; font-size: 0.7rem; font-weight: 600; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--mb-bg); } .transition-smooth { transition: color 0.2s ease; } .transition-smooth:hover { color: var(--mb-text-dark) !important; } .py-1-5 { padding-top: 0.35rem !important; padding-bottom: 0.35rem !important; } /* Global Focus Ring Corrections */ h1:focus, h2:focus, h3:focus, h4:focus, p:focus, div:focus, span:focus { outline: none !important; box-shadow: none !important; } [tabindex="-1"]:focus { outline: none !important; } /* ========================================================================== Global Toast Notification Framework Extensions ========================================================================== */ .blazored-toast-container { position: fixed; /* 🛠️ Shift anchors from top-right to bottom-left */ bottom: 24px; left: 24px; top: auto; right: auto; z-index: 2000 !important; display: flex; flex-direction: column-reverse; /* 💡 Newest toasts will now stack cleanly on top of old ones */ gap: 12px; max-width: 400px; width: 100%; pointer-events: none; } .blazored-toast { display: flex; align-items: center; padding: 16px 20px; border-radius: var(--mb-radius); background-color: var(--mb-card-bg); color: var(--mb-text-dark); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.04); border: 1px solid rgba(0, 0, 0, 0.05); font-family: var(--font-ui); font-size: 0.9rem; font-weight: 500; animation: toastFadeIn 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.125) forwards; } /* Success Toast Core Variants */ .blazored-toast-success { border-left: 4px solid var(--mb-text-dark); } /* Error Toast Core Variants */ .blazored-toast-error { border-left: 4px solid var(--mb-accent-red); color: var(--mb-accent-red); } .blazored-toast-icon { display: inline-flex; align-items: center; justify-content: center; margin-right: 12px; flex-shrink: 0; } /* Entry Transition Keyframes */ @keyframes toastFadeIn { from { opacity: 0; transform: translateY(-12px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } } .book-shadow { filter: drop-shadow(5px 10px 15px rgba(0, 0, 0, 0.15)) drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.1)); } .sm-icon { width: 14px; height: 14px; vertical-align: middle; } /* 🛠️ Micro-interactions for the header icon placement */ .btn-cart-icon:hover { transform: scale(1.08); background-color: var(--mb-text-dark) !important; } .btn-cart-icon:hover svg { stroke: #FFFFFF !important; } @keyframes toastFadeIn { from { opacity: 0; transform: translateX(-24px) scale(0.95); /* Slide rightward into view */ } to { opacity: 1; transform: translateX(0) scale(1); } } .blazored-toast button.blazored-toast-close, .blazored-toast-close-icon { display: none !important; visibility: hidden !important; opacity: 0 !important; width: 0 !important; height: 0 !important; padding: 0 !important; margin: 0 !important; }