:root { --shimmerBg: #e8eaed; --shimmerLine: linear-gradient(90deg, #e8eaed 25%, #f4f5f7 50%, #e8eaed 75%); --neumoShadow: 5px 5px 12px rgba(0,0,0,0.06), -5px -5px 12px #ffffff; --neumoInner: inset 2px 2px 6px rgba(0,0,0,0.04), inset -2px -2px 6px #ffffff; }
[data-theme='dark'] { --shimmerBg: #1e1e22; --shimmerLine: linear-gradient(90deg, #1e1e22 25%, #2a2a2e 50%, #1e1e22 75%); --neumoShadow: 6px 6px 14px #08080a, -3px -3px 10px #222226; --neumoInner: inset 3px 3px 8px #040405, inset -1px -1px 5px #2d2d33; }
.ppobContainer { width: 100%; max-width: 1200px; margin: 0 auto; padding: 10px 16px 120px; box-sizing: border-box; }
.dynamicHeader { position: sticky; top: 0; z-index: 1000; background: var(--bgColor); padding: 10px 0 20px; }
.brandTitle { font-size: 1.8rem; font-weight: 900; margin: 0; color: var(--textColor); }
.brandSubtitle { font-size: 0.75rem; opacity: 0.6; margin: 5px 0 15px; }
.inputGroup { display: flex; align-items: center; background: var(--cardBg); border: 1px solid var(--borderColor); border-radius: 16px; height: 50px; padding: 0 16px; cursor: pointer; gap: 12px; box-shadow: var(--neumoShadow); }
.mainSearchInput { flex: 1; background: transparent; border: none; outline: none; color: var(--textColor); font-weight: 700; pointer-events: none; }
.fullSearchOverlay { position: fixed; inset: 0; background: var(--bgColor); z-index: 4000; display: flex; flex-direction: column; animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.overlayHeader { display: flex; align-items: center; padding: 12px 16px; background: var(--cardBg); border-bottom: 1px solid var(--borderColor); gap: 12px; }
.exitSearch { background: var(--bgColor); border: none; color: var(--textColor); width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--neumoShadow); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.overlayInputWrapper { flex: 1; background: var(--bgColor); border-radius: 12px; padding: 0 12px; display: flex; align-items: center; height: 44px; box-shadow: var(--neumoInner); position: relative; }
.overlaySearchInput { width: 100%; background: none; border: none; color: var(--textColor); font-weight: 700; outline: none; padding-right: 30px; }
.clearBtn { position: absolute; right: 10px; background: none; border: none; color: var(--accentColor); font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.overlayContent { flex: 1; overflow-y: auto; padding-bottom: 40px; }
.searchFilters { display: flex; gap: 8px; padding: 15px 16px; background: var(--bgColor); border-bottom: 1px solid var(--borderColor); overflow-x: auto; scrollbar-width: none; }
.filterBtn { padding: 8px 18px; border-radius: 12px; border: 1px solid var(--borderColor); background: var(--cardBg); color: var(--textColor); font-size: 0.75rem; font-weight: 800; box-shadow: var(--neumoShadow); white-space: nowrap; cursor: pointer; }
.filterBtn.active { background: var(--accentColor); color: #000; border-color: var(--accentColor); box-shadow: inset 1px 1px 3px rgba(0,0,0,0.1); }
.searchSection, .matchSection { padding: 20px 16px 0; }
.sectionLabel { font-size: 0.85rem; font-weight: 900; color: var(--textColor); text-transform: uppercase; letter-spacing: 0.5px; position: relative; padding-left: 12px; }
.sectionLabel::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 16px; background: var(--accentColor); border-radius: 10px; }
.shimmerEffect { background: var(--shimmerBg) !important; position: relative; overflow: hidden; }
.shimmerEffect::after { content: ""; position: absolute; inset: 0; background: var(--shimmerLine); background-size: 200% 100%; animation: shimmerAnim 1.5s infinite linear; }
@keyframes shimmerAnim { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.imgSmooth { opacity: 0; transition: opacity 0.4s ease-out; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.imgVisible { opacity: 1 !important; z-index: 3; }
img[src=""], img:not([src]) { visibility: hidden !important; opacity: 0 !important; }
.skeletonRow { display: flex; align-items: center; gap: 14px; padding: 14px; margin: 0 16px 12px; background: var(--cardBg); border-radius: 16px; box-shadow: var(--neumoShadow); }
.skeletonThumb { width: 52px; height: 52px; border-radius: 12px; background: var(--shimmerBg); flex-shrink: 0; position: relative; overflow: hidden; }
.skeletonTextWrapper { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.skeletonTitle { width: 65%; height: 14px; border-radius: 4px; background: var(--shimmerBg); position: relative; overflow: hidden; }
.skeletonSub { width: 35%; height: 10px; border-radius: 4px; background: var(--shimmerBg); position: relative; overflow: hidden; }
.tagCloud { display: flex; flex-wrap: wrap; gap: 8px; }
.historyBadge { background: var(--cardBg); padding: 8px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; border: 1px solid var(--borderColor); box-shadow: var(--neumoShadow); cursor: pointer; }
.searchMatchRow { display: flex; align-items: center; gap: 14px; padding: 12px; background: var(--cardBg); border-radius: 16px; margin-bottom: 12px; box-shadow: var(--neumoShadow); cursor: pointer; border: 1px solid var(--borderColor); }
.matchThumb { width: 48px; height: 48px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--shimmerBg); position: relative; }
.matchTitle { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; color: var(--textColor); }
.matchSub { font-size: 0.7rem; font-weight: 700; color: var(--accentColor); opacity: 0.8; }
.trendGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.trendCard { display: flex; align-items: center; gap: 10px; background: var(--cardBg); padding: 10px; border-radius: 14px; box-shadow: var(--neumoShadow); cursor: pointer; border: 1px solid var(--borderColor); }
.trendThumbWrapper { width: 38px; height: 38px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--shimmerBg); position: relative; }
.trendName { font-size: 0.75rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quickSection { margin-bottom: 30px; }
.sectionTitle { font-size: 0.95rem; font-weight: 900; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; color: var(--textColor); }
.quickTrack { display: flex; gap: 14px; overflow-x: auto; padding: 5px 5px 15px; scrollbar-width: none; }
.quickMedia { width: 72px; height: 72px; border-radius: 20px; box-shadow: var(--neumoShadow); overflow: hidden; margin-bottom: 8px; background: var(--shimmerBg); border: 1px solid var(--borderColor); position: relative; }
.quickLabel { font-size: 0.65rem; font-weight: 800; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--textColor); }
.categoryHeader { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.viewControls { display: flex; gap: 8px; background: var(--cardBg); padding: 4px; border-radius: 12px; box-shadow: var(--neumoInner); }
.viewBtn { background: transparent; border: none; color: var(--textColor); width: 32px; height: 32px; border-radius: 8px; opacity: 0.4; cursor: pointer; }
.viewBtn.active { background: var(--bgColor); color: var(--accentColor); opacity: 1; box-shadow: var(--neumoShadow); }
.ultraGrid { display: grid; gap: 14px; }
.ultraGrid.gridMode { grid-template-columns: repeat(6, 1fr); }
.mediaFrame { width: 100%; aspect-ratio: 1/1; border-radius: 20px; box-shadow: var(--neumoShadow); overflow: hidden; background: var(--shimmerBg); border: 1px solid var(--borderColor); position: relative; }
.productInfo { padding: 8px 0; text-align: center; }
.productName { font-size: 0.68rem; font-weight: 800; line-height: 1.2; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--textColor); }
.ultraGrid.compactMode .productCard { display: flex; align-items: center; gap: 12px; background: var(--cardBg); padding: 12px; border-radius: 18px; box-shadow: var(--neumoShadow); }
.ultraGrid.compactMode .mediaFrame { width: 50px; height: 50px; border-radius: 12px; box-shadow: none; flex-shrink: 0; }
.ultraGrid.compactMode .productInfo { text-align: left; padding: 0; }
.loadMoreBtn { background: var(--cardBg); border: 1px solid var(--borderColor); padding: 14px 30px; border-radius: 100px; box-shadow: var(--neumoShadow); cursor: pointer; display: flex; gap: 12px; align-items: center; font-weight: 800; color: var(--textColor); }
.btnPill { background: var(--accentColor); color: #000; padding: 2px 8px; border-radius: 20px; font-size: 0.7rem; }
.ultraLoader { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 9999; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
@media (max-width: 900px) { .ultraGrid.gridMode { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 600px) { .ultraGrid.gridMode { grid-template-columns: repeat(4, 1fr); gap: 10px; } .mediaFrame, .quickMedia { border-radius: 16px; } .brandTitle { font-size: 1.5rem; } }
@media (max-width: 400px) { .ultraGrid.gridMode { grid-template-columns: repeat(3, 1fr); } }
