.shop-wrapper { max-width: 1200px; } .shop-hero { background: linear-gradient(160deg, rgba(232, 176, 32, .14) 0%, rgba(96, 165, 250, .07) 50%, transparent 100%); padding: 28px 0 20px; margin-bottom: 0; } .shop-breadcrumb { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; } .shop-breadcrumb-link { color: var(--muted); text-decoration: none; } .shop-hero-title { font-family: var(--display); font-size: clamp(26px, 5vw, 48px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; } .shop-hero-subtitle { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); } .shop-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; min-height: 32px; } .shop-hero-tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 20px; font-size: 11px; font-weight: 500; background: rgba(232, 176, 32, .12); border: 1px solid rgba(232, 176, 32, .3); color: var(--accent); cursor: pointer; min-height: 32px; transition: background .15s; } .shop-hero-tag:hover { background: rgba(232, 176, 32, .2); } .shop-hero-tag-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; } .shop-hero-tag-remove { font-size: 12px; opacity: 0.6; margin-left: 2px; } .shop-hero-tag-add { background: transparent; border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .45); } .shop-hero-tag-add:hover { background: rgba(255, 255, 255, .05); color: var(--text); } .shop-hero-palette { display: flex; align-items: center; gap: 5px; margin-top: 12px; flex-wrap: wrap; min-height: 0; } .shop-hero-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .15); flex-shrink: 0; } .shop-hero-harmony-label { font-family: var(--mono); font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-left: 4px; } .shop-layout { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; padding: 24px 0 60px; } .shop-layout-main { min-width: 0; } .panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r2); overflow: hidden; position: sticky; top: 80px; } .panel-header { padding: 16px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; } .panel-title { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); } .selected-count { font-family: var(--mono); font-size: 11px; color: var(--accent); } .army-search { width: 100%; padding: 10px 16px; background: var(--card); border: none; border-bottom: 1px solid var(--border); color: var(--text); font-size: 16px; } .army-search:focus { outline: none; background: var(--surface); } .army-search::placeholder { color: var(--muted); } .army-list { max-height: 360px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; } .army-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; cursor: pointer; transition: background 0.1s; border-bottom: 1px solid rgba(255, 255, 255, 0.03); min-height: 44px; } .army-item:hover { background: var(--card); } .army-item.selected { background: rgba(232, 176, 32, 0.06); } .army-item.hidden { display: none; } .army-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; } .army-item-main { flex: 1; min-width: 0; } .army-item-name { font-size: 13px; font-weight: 500; } .army-item-sub { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); } .army-item-check { width: 18px; height: 18px; border-radius: 3px; flex-shrink: 0; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 11px; color: transparent; transition: all 0.1s; } .army-item.selected .army-item-check { background: var(--accent); border-color: var(--accent); color: #000; } .selected-armies { padding: 12px 16px; border-top: 1px solid var(--border); min-height: 52px; } .selected-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 20px; margin: 3px; font-size: 11px; font-weight: 500; background: rgba(232, 176, 32, 0.12); border: 1px solid rgba(232, 176, 32, 0.3); color: var(--text); cursor: pointer; transition: all 0.15s; } .selected-tag:hover { background: rgba(232, 176, 32, 0.2); } .selected-tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tag-color, var(--accent)); display: inline-block; } .tag-remove { color: var(--muted); font-size: 13px; } .empty-hint { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); text-align: center; padding: 8px 0; } .shop-stats-bar { display: flex; border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); margin-bottom: 16px; background: transparent; } .stats-col { flex: 1; padding: 12px 14px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .06); } .stats-col:last-child { border-right: none; } .stats-val { display: block; font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--accent); line-height: 1; } .stats-val.to-buy { color: #60a5fa; } .stats-val.owned-val { color: #4aaa68; } .stats-lab { display: block; font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-top: 3px; } .harmony-strip { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 11px 16px; border-left: 3px solid rgba(232, 176, 32, .5); background: rgba(232, 176, 32, .04); } .harmony-strip[data-scheme="complementary"] { border-left-color: rgba(96, 165, 250, .6); background: rgba(96, 165, 250, .04); } .harmony-strip[data-scheme="triadic"] { border-left-color: rgba(192, 132, 252, .55); background: rgba(192, 132, 252, .04); } .harmony-strip[data-scheme="monochrome"] { border-left-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .025); } .hs-palette { display: flex; gap: 3px; flex-shrink: 0; } .hs-dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .15); flex-shrink: 0; } .hs-info { flex: 1; min-width: 0; } .hs-title { font-size: 12px; font-weight: 700; color: var(--text); } .hs-sub { font-family: var(--mono); font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; } .hs-score { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--accent); flex-shrink: 0; } .harmony-strip[data-scheme="complementary"] .hs-score { color: #60a5fa; } .harmony-strip[data-scheme="triadic"] .hs-score { color: #c084fc; } .action-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; } .filter-tabs { display: flex; gap: 4px; } .filter-tab { padding: 7px 16px; border-radius: 20px; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; transition: all 0.15s; min-height: 36px; display: flex; align-items: center; } .filter-tab.active { border-color: var(--accent); color: var(--accent); background: rgba(232, 176, 32, 0.1); } .filter-tab:hover:not(.active) { color: var(--text); border-color: var(--border2); } .spacer { flex: 1; } .action-bar-actions { display: contents; } .action-btn { padding: 8px 16px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; transition: all 0.15s; display: flex; align-items: center; gap: 6px; } .action-btn:hover { color: var(--text); border-color: var(--border2); } .action-btn.primary { background: var(--accent); color: #000; border-color: var(--accent); } .action-btn.primary:hover { background: #f5c840; } .mobile-filter-bar { display: flex; gap: 6px; padding: 10px 0 14px; } .mobile-filter-bar .filter-tab { justify-content: center; min-height: 40px; } .shop-content { position: relative; transition: min-height .18s ease; } .shop-content.is-pending { pointer-events: none; } .shop-content.is-pending::after { content: attr(data-loading-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 10, 10, .34); color: var(--text); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; backdrop-filter: blur(2px); } .shop-content.is-pending .paint-group, .shop-content.is-pending .dedup-note { opacity: .28; } .paint-group { margin-bottom: 20px; } .group-label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--border); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; } .group-count { background: var(--card); border-radius: 10px; padding: 1px 7px; font-size: 10px; color: var(--muted); } .dedup-note { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-bottom: 12px; text-align: right; } .brand-switcher { display: flex; gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; background: var(--card); border: 1px solid var(--border); border-radius: var(--r2); padding: 4px; margin-bottom: 16px; } .brand-switcher::-webkit-scrollbar { display: none; } .brand-switcher.is-loading { opacity: .6; pointer-events: none; } .brand-tab { flex-shrink: 0; padding: 7px 14px; border-radius: var(--r); border: none; background: transparent; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; } .brand-tab:hover:not(.active) { color: var(--text); background: rgba(255,255,255,.04); } .brand-tab.active { background: rgba(232,176,32,.12); color: var(--accent); font-weight: 700; } .brand-tab-separator { width: 1px; background: var(--border); flex-shrink: 0; margin: 4px 2px; } .paint-row { display: grid; grid-template-columns: 28px 1fr 32px; gap: 8px; align-items: center; padding: 10px 4px; border-bottom: 1px solid rgba(255, 255, 255, .04); cursor: pointer; transition: background 0.1s; border-radius: var(--r); } .paint-row:hover { background: var(--card); } .paint-row.owned { opacity: 0.4; } .paint-row.hidden { display: none; } .paint-swatch { width: 28px; height: 28px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, 0.08); flex-shrink: 0; background: var(--swatch-color, var(--card)); } .paint-info { min-width: 0; } .paint-name { font-size: 13px; font-weight: 600; color: var(--text); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .paint-link { color: inherit; text-decoration: none; } .paint-link:hover { color: var(--accent); } .paint-meta { font-family: var(--mono); font-size: 9px; color: var(--muted); display: block; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cheaper { color: #4aaa68; cursor: pointer; text-decoration: underline dotted; margin-left: 6px; } .owned-checkbox { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .2s, box-shadow .2s; font-size: 0; cursor: pointer; flex-shrink: 0; justify-self: center; } .owned-checkbox:hover { background: rgba(74,170,104,.3); } .owned-checkbox.checked { background: #4aaa68; box-shadow: 0 0 0 3px rgba(74,170,104,.18), 0 0 14px rgba(74,170,104,.4); } .empty-state { text-align: center; padding: 48px 0; color: var(--muted); } .empty-icon { font-size: 40px; margin-bottom: 12px; } .loading-state { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px 0; color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; } .is-hidden { display: none !important; } .shopping-print { display: none; } .print-sheet { display: flex; flex-direction: column; gap: 16px; color: #171717; background: #fff; } .print-header { padding: 0 0 8px; border-bottom: 2px solid #171717; } .print-kicker { font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; color: #6f6f6f; margin-bottom: 6px; } .print-title { font-family: var(--display); font-size: 28px; letter-spacing: 0.03em; margin: 0; } .print-subtitle { margin: 8px 0 0; max-width: 72ch; color: #4a4a4a; font-size: 11px; line-height: 1.45; } .print-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .print-summary-item { padding: 10px 12px; border: 1px solid #d8d8d8; border-radius: 10px; background: #fafafa; break-inside: avoid; page-break-inside: avoid; } .print-summary-label { display: block; font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: 0.1em; color: #6f6f6f; margin-bottom: 6px; } .print-summary-value { display: block; font-size: 18px; font-weight: 700; color: #171717; } .print-summary-detail { display: block; margin-top: 4px; font-size: 10px; line-height: 1.4; color: #4a4a4a; } .print-empty-state { padding: 18px 16px; border: 1px dashed #c6c6c6; border-radius: 12px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: #575757; text-align: center; } .print-brand { padding-top: 8px; break-inside: avoid; page-break-inside: avoid; } .print-brand-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid #d8d8d8; margin-bottom: 8px; break-inside: avoid; page-break-inside: avoid; } .print-brand-title { margin: 0; font-size: 15px; font-weight: 700; color: #171717; } .print-brand-count { min-width: 24px; padding: 2px 8px; border-radius: 999px; background: #171717; color: #fff; font-family: var(--mono); font-size: 9px; text-align: center; } .print-brand-list { display: flex; flex-direction: column; gap: 4px; } .print-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid #ececec; break-inside: avoid; page-break-inside: avoid; } .print-row:last-child { border-bottom: none; } .print-swatch { width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14); background: var(--swatch-color, #70757d); flex-shrink: 0; } .print-paint-name { font-size: 12px; font-weight: 600; color: #171717; } .print-paint-brand { font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: 0.08em; color: #6f6f6f; white-space: nowrap; } .print-paint-price { font-family: var(--mono); font-size: 10px; color: #171717; white-space: nowrap; } .print-paint-price-empty { visibility: hidden; } .army-drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 150; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility .25s ease; } .army-drawer-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; } .army-drawer-header { display: none; } .bnav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(10, 10, 10, .98); border-top: 1px solid rgba(255, 255, 255, .08); z-index: 100; padding-bottom: env(safe-area-inset-bottom, 0px); } .bnav-btn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 4px; background: transparent; border: none; color: rgba(255, 255, 255, .35); cursor: pointer; font-family: var(--mono); font-size: 7px; text-transform: uppercase; letter-spacing: 0.05em; min-height: 52px; transition: color .15s; } .bnav-btn.active, .bnav-btn:hover { color: var(--accent); } .bnav-btn-icon { font-size: 18px; line-height: 1; } .bnav-sheet { display: none; } .bnav-sheet-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 200; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; } .bnav-sheet-backdrop.is-open { opacity: 1; visibility: visible; } .bnav-sheet-panel { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); border-radius: 16px 16px 0 0; z-index: 201; padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(100%); transition: transform .28s cubic-bezier(.4, 0, .2, 1); } .bnav-sheet-panel.is-open { transform: translateY(0); } .bnav-sheet-handle { width: 36px; height: 4px; background: var(--border2); border-radius: 2px; margin: 12px auto 8px; } .bnav-sheet-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 20px; background: transparent; border: none; border-bottom: 1px solid var(--border); color: var(--text); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; min-height: 52px; transition: background .1s; text-align: left; } .bnav-sheet-item:last-child { border-bottom: none; } .bnav-sheet-item:hover { background: var(--card); } @media (max-width: 860px) { .shop-layout { grid-template-columns: 1fr; } .shop-layout-left-placeholder { display: none; } .panel { position: static; } .army-drawer-panel { position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 92vw); z-index: 200; background: var(--surface); border-right: 1px solid var(--border); transform: translateX(-100%); transition: transform .28s cubic-bezier(.4, 0, .2, 1); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: env(safe-area-inset-bottom, 0px); } .army-drawer-panel.is-open { transform: translateX(0); visibility: visible; } .army-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 1; } .army-drawer-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: transparent; border: none; color: var(--muted); font-size: 16px; cursor: pointer; border-radius: var(--r); } .army-drawer-close:hover { color: var(--text); background: var(--card); } .harmony-strip { display: none !important; } .action-bar { display: none !important; } .bnav { display: flex; } .bnav-sheet { display: block; } .shop-wrapper { padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)); } } @media (max-width: 640px) { .army-item { min-height: 44px; } .filter-tab { min-height: 40px; } .army-list { max-height: 100%; } .group-label { flex-wrap: wrap; gap: 4px; } .paint-name { font-size: 12px; } .brand-switcher { border-radius: var(--r); } .brand-tab { padding: 6px 10px; font-size: 8px; } } @media (min-width: 861px) { .shop-wrapper { display: grid; grid-template-columns: 340px 1fr; column-gap: 24px; } .shop-hero { grid-column: 1 / -1; } .army-drawer-panel { grid-column: 1; grid-row: 2; padding: 24px 0 60px; } .shop-layout { grid-column: 2; grid-row: 2; display: block; padding: 24px 0 60px; } .shop-layout-left-placeholder { display: none; } .shopping-print { grid-column: 1 / -1; } .shop-stats-bar { border-radius: var(--r2); border: 1px solid var(--border); overflow: hidden; margin-bottom: 20px; } .mobile-filter-bar { display: none !important; } } @media print { @page { margin: 12mm; } body { background: #fff !important; color: #171717 !important; } body::before { display: none !important; } body > *:not(.shop-wrapper) { display: none !important; } .shop-wrapper { max-width: none; margin: 0; padding: 0; } .shop-wrapper > *:not(#shopping-print) { display: none !important; } .shopping-print { display: block !important; } .bnav, .bnav-sheet { display: none !important; } .print-sheet { gap: 14px; } .print-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); } .print-summary-item, .print-brand, .print-brand-header, .print-row, .print-empty-state { break-inside: avoid; page-break-inside: avoid; } .print-row { border-bottom-color: #d7d7d7; } }