@import "_bootstrap"; // ---------------------- // Container // ---------------------- .container { max-width: 100vw; @media (min-width: 768px) { max-width: 95vw; } } // ---------------------- // Typography // ---------------------- .copy-small { font-size: 0.75rem; opacity: 0.87; @media (min-width: 768px) { font-size: 0.85rem; } @media (min-width: 1400px) { font-size: 1rem; } } // ---------------------- // Card // ---------------------- .card-image { aspect-ratio: 23/32; object-fit: cover; z-index: 998; } .rarity-icon svg { width: 100%; max-height: 16px; margin-top: -0.25rem; } // ---------------------- // Pricing // ---------------------- .price-row { position: relative; z-index: 999; margin-top: -1.25rem; border-radius: 0.33rem; background: linear-gradient( 90deg, rgba(156, 204, 102, 1) 21%, rgba(211, 225, 86, 1) 42%, rgba(255, 238, 87, 1) 63%, rgba(255, 201, 41, 1) 74%, rgba(255, 167, 36, 1) 85% ); } // Base label style .price-label { font-size: 0.75rem; font-weight: 600; color: rgba(0, 0, 0, 0.87); background-color: hsl(88, 50%, 60%); box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 10px; border-top-left-radius: 0.33rem; border-bottom-left-radius: 0.33rem; @media (min-width: 768px) { font-size: 0.8rem; } @media (min-width: 996px) { font-size: 0.85rem; } @media (min-width: 1200px) { font-size: 0.9rem; } @media (min-width: 1600px) { font-size: 1rem; } } // Your palette tiers .price-label:nth-of-type(n + 2) { background-color: hsl(66, 70%, 61%); } .price-label:nth-of-type(n + 3) { background-color: hsl(54, 100%, 67%); } .price-label:nth-of-type(n + 4) { background-color: hsl(45, 100%, 58%); } .price-label:last-of-type { background-color: hsl(36, 100%, 57%); border-radius: 0.33rem; } // ---------------------- // Search Elements // ---------------------- @media (max-width: 768px) { .search-box, .search-button { min-height: 48px; } } // ---------------------- // Sticky Bar // ---------------------- .sticky { background-color: hsl(195, 4%, 22%); position: fixed; bottom: 0; width: 100%; z-index: 1000; @media (min-width: 768px) { position: sticky; top: 0; } }