/* Store — catalog, cart and checkout (extends suite.css) */
.store-main { padding-top: 34px; padding-bottom: 60px; min-height: calc(100vh - 160px); }
.store-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.store-hero h1 { font-size: 32px; }
.store-hero p { margin: 8px 0 0; max-width: 560px; }
.store-trust { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.cart-link b { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 700 11px/1 var(--font-mono); }
.store-filters { display: grid; gap: 12px; margin-bottom: 20px; }
.store-filters .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.store-search { flex: 1; min-width: 220px; display: flex; gap: 8px; }
.store-search input { min-height: 40px; }
.store-search select { width: auto; min-width: 170px; min-height: 40px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg-raised); color: var(--text-2); font-size: 12.5px; font-weight: 600; }
.chip:hover { color: var(--text); border-color: var(--line-strong); text-decoration: none; }
.chip.selected { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.store-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease); }
.product:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -16px rgba(0, 0, 0, .8); }
.product-art { position: relative; height: 118px; display: grid; place-items: center; overflow: hidden; }
.product-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.art-combat { background: linear-gradient(135deg, #2a1230, #3a1f3f 60%, #1a0f22); }
.art-resources { background: linear-gradient(135deg, #0d2d2a, #114239 60%, #0a1f1c); }
.art-automation { background: linear-gradient(135deg, #13223f, #1a3360 60%, #0d1a2c); }
.art-world { background: linear-gradient(135deg, #2d2412, #45361a 60%, #1c160a); }
.art-other { background: linear-gradient(135deg, #1b2230, #263046 60%, #141a26); }
.art-suite { background: linear-gradient(135deg, #0b2f2b, #0f4a41 50%, #10263d); }
.monogram { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(7, 9, 14, .75); border: 1px solid rgba(255, 255, 255, .12); color: var(--accent); font: 700 18px var(--font-display); letter-spacing: .02em; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8); }
.art-suite .monogram { color: #8ff7df; }
.product-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.product-body h2 { font-size: 15px; }
.product-meta { margin-top: 4px; color: var(--muted); font-size: 12px; }
.product-desc { margin: 10px 0 12px; color: var(--text-2); font-size: 12.5px; line-height: 1.5; max-height: 76px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.product-desc p { margin: 0 0 4px; font-size: inherit; color: inherit; }
.product-desc ul { margin: 4px 0; padding-left: 18px; }
.product-desc h3, .product-desc h4 { font-size: 13px; margin: 0 0 4px; }
.product-links { margin-top: auto; font-size: 12.5px; }
.product-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.price { display: block; font: 700 19px/1.1 var(--font-display); letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.price small { display: block; margin-top: 4px; color: var(--muted); font: 500 11.5px var(--font-ui); }
.product-foot form { margin: 0; }
.product-foot .in-cart { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.product-foot button:disabled { opacity: .5; }
.store-empty { grid-column: 1 / -1; }
/* Cart */
.cart { position: sticky; top: calc(var(--topbar-h) + 16px); padding: 0; overflow: hidden; }
.cart-title { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.cart-title h2 { font-size: 15px; }
.cart-body { padding: 0 18px; }
.cart-empty { padding: 28px 18px; color: var(--muted); text-align: center; }
.cart-item { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.cart-item .body { flex: 1; min-width: 0; }
.cart-item strong { display: block; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item small { display: block; }
.cart-item .amount { font-family: var(--font-mono); font-size: 12.5px; color: var(--text); white-space: nowrap; }
.cart-item button { min-height: 26px; width: 26px; padding: 0; color: var(--muted); border-color: transparent; background: transparent; font-size: 16px; }
.cart-item button:hover { color: var(--red); background: var(--red-soft); }
.coupon-form { padding: 14px 0 4px; }
.coupon-form label { font-size: 12px; color: var(--muted); }
.coupon-active { display: flex; justify-content: space-between; align-items: center; padding: 8px 0 0; color: var(--accent); font-size: 12.5px; }
.coupon-active button { min-height: 24px; padding: 0 6px; background: transparent; border-color: transparent; color: var(--text-2); font-weight: 500; text-decoration: underline; }
.cart-totals { padding: 14px 0; border-top: 1px solid var(--line); margin-top: 12px; }
.cart-totals > div { display: flex; justify-content: space-between; margin: 6px 0; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cart-totals .discount-line { color: var(--accent); }
.cart-totals .cart-total { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--text); font-size: 15px; font-weight: 700; }
.cart-note { padding: 0 0 16px; color: var(--muted); font-size: 11.5px; line-height: 1.5; text-align: center; }
.checkout-form { padding: 2px 0 16px; }
.checkout-form .field label { font-size: 12px; }
.pay-options { display: grid; gap: 8px; margin: 4px 0 14px; }
.pay-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-xs); background: var(--bg-raised); cursor: pointer; margin: 0; font-weight: 500; color: var(--text); }
.pay-option:has(input:checked) { border-color: var(--accent-line); background: var(--accent-soft); }
.pay-option small { display: block; color: var(--muted); font-weight: 400; }
.pay-option .ico { color: var(--muted); display: grid; }
.cart .alert { margin: 14px 0 0; }
/* Product detail */
.product-detail { margin-bottom: 22px; }
.product-detail .detail-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.product-detail .rich-description { color: var(--text-2); font-size: 14px; line-height: 1.6; }
.product-detail .rich-description p { color: inherit; }
.product-detail iframe, .product-detail video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-sm); background: #000; }
.detail-price { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-raised); margin-top: 16px; }
.detail-price .price { font-size: 24px; }
.detail-price form { margin-left: auto; }
@media (max-width: 1200px) { .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 920px) { .store-layout { grid-template-columns: 1fr; } .cart { position: static; } .store-hero { flex-direction: column; align-items: flex-start; } .store-trust { justify-content: flex-start; } .product-detail .detail-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .store-grid { grid-template-columns: 1fr; } .store-search { flex-wrap: wrap; } .store-search select { flex: 1; } }
.product-detail .detail-title { font-size: 22px; }
.detail-art { height: 220px; border-radius: var(--radius-sm); }
