:root { --shop-paper: var(--color-surface); --shop-glass: var(--glass-strong); --shop-ink: var(--color-text); --shop-muted: var(--color-text-muted); --shop-edge: var(--color-border); --shop-lilac: var(--color-primary-soft); --shop-round: 23px; }
.shop-content { padding-bottom: 28px; }
.shop-content h3 { font-weight: 500; }
.shop-intro { padding: 23px 19px 18px; border: 1px solid var(--glass-edge); border-radius: 27px; background: radial-gradient(ellipse at top right,#e7ddcf77,transparent 75%),var(--shop-glass); box-shadow: var(--shadow-card); }
.shop-intro .tiny-label { font-size: 9px; letter-spacing: 1px; }.shop-intro h3 { font-size: 23px; margin: 17px 0 12px; line-height: 1.6; }.shop-intro p { color: var(--shop-muted); font-size: 11px; line-height: 1.8; }
.shop-balance { display: block; width: 100%; padding: 11px 12px; margin-top: 20px; border: 1px solid var(--shop-edge); border-radius: 14px; color: var(--shop-ink); background: var(--shop-paper); font: inherit; font-size: 11px; text-align: left; }.shop-balance strong { margin-left: 7px; font-variant-numeric: tabular-nums; font-size: 16px; }
.shop-disclaimer { font-size: 10px; line-height: 1.9; color: var(--shop-muted); overflow-wrap: anywhere; }.shop-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 22px; }.shop-section-heading h3,.shop-list-title { font-size: 15px; }.shop-section-heading span { font-family: Georgia,serif; font-size: 9px; color: var(--shop-muted); }
.shop-featured,.shop-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.shop-featured { padding-bottom: 11px; border-bottom: 1px solid var(--shop-edge); }
.shop-product { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; padding: 12px 11px; border: 1px solid var(--glass-edge); border-radius: var(--shop-round); background: var(--shop-glass); color: var(--shop-ink); text-align: left; font: inherit; box-shadow: 0 3px 12px rgb(91 75 95 / 4%); transition: border-color .2s,transform .2s; }
.shop-product:hover { border-color: var(--color-primary); }.shop-product:active { transform: scale(.98); }.shop-product strong { font-size: 13px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }.shop-product-category,.shop-product-rule { color: var(--shop-muted); font-size: 9px; }.shop-product-price { font-size: 11px; margin-top: 3px; }.shop-owned { color: var(--color-primary-ink); font-size: 9px; }
.shop-art { display: block; width: 100%; aspect-ratio: 1; border-radius: 17px; color: #877b80; background: radial-gradient(ellipse at center,#fffcf5,var(--shop-lilac)); }.shop-art svg { display: block; width: 100%; height: 100%; }
.shop-product[data-category=furniture] .shop-art { background: radial-gradient(ellipse at center,#fffaf0,#e9e1d3); }.shop-product[data-category=pet] .shop-art { background: radial-gradient(ellipse at center,#fffaf0,#e0e5d7); }.shop-product[data-category=gifts] .shop-art { background: radial-gradient(ellipse at center,#fffaf5,#eadbe0); }
.shop-categories { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0; }.shop-categories button { font: inherit; font-size: 10px; padding: 8px 11px; border: 1px solid var(--shop-edge); border-radius: 99px; background: var(--shop-glass); color: var(--shop-muted); }.shop-categories button[aria-pressed=true] { background: var(--shop-lilac); color: var(--color-primary-ink); border-color: var(--color-primary); }
.inventory-intro { padding: 16px 0 10px; border-bottom: 1px solid var(--shop-edge); }.inventory-intro h3 { font-size: 20px; line-height: 1.6; }.inventory-intro p { font-size: 11px; color: var(--shop-muted); }.shop-empty { grid-column: 1/-1; padding: 25px 12px; font-size: 12px; line-height: 1.9; color: var(--shop-muted); text-align: center; }
.gift-archive { margin-top: 25px; padding-top: 10px; border-top: 1px solid var(--shop-edge); }.gift-archive h3 { font-size: 16px; }.gift-archive label { font-size: 11px; }.gift-archive select { display: block; width: 100%; margin: 10px 0 15px; padding: 10px 12px; border: 1px solid var(--shop-edge); border-radius: 13px; background: var(--shop-paper); color: var(--shop-ink); font: inherit; font-size: 12px; }
.shop-archive-record { display: grid; gap: 7px; padding: 14px 0; border-bottom: 1px solid var(--shop-edge); overflow-wrap: anywhere; }.shop-archive-record strong { font-size: 12px; font-weight: 500; }.shop-archive-record span { font-size: 10px; color: var(--shop-muted); }.shop-archive-record small { font-size: 9px; color: var(--shop-muted); }
.shop-dialog-close { display: block; margin-left: auto; }.shop-detail-art { width: 150px; max-width: 100%; margin: 0 auto 14px; }.shop-detail h3 { font-size: 20px; font-weight: 500; line-height: 1.6; margin: 11px 0; }#shop-detail-description { font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }.shop-detail .primary-button,.shop-detail .secondary-button { width: 100%; margin-top: 11px; }.shop-detail .text-button { margin-top: 10px; }.shop-detail summary { font-size: 11px; color: var(--shop-muted); padding: 8px 0; cursor: pointer; }.shop-history-row { font-size: 9px; color: var(--shop-muted); overflow-wrap: anywhere; line-height: 1.8; white-space: pre-wrap; padding-bottom: 8px; border-bottom: 1px solid var(--shop-edge); }
.shop-gift-form { display: grid; gap: 14px; }.shop-gift-form h3 { margin: 0; font-weight: 500; font-size: 17px; }.shop-gift-form label { display: grid; gap: 8px; font-size: 12px; }.shop-gift-form select { min-width: 0; width: 100%; border-radius: 13px; padding: 11px; border: 1px solid var(--shop-edge); background: var(--shop-glass); font: inherit; color: var(--shop-ink); }#shop-gift-item { font-size: 13px; line-height: 1.9; }
.purchase-complete .shop-detail-art { animation: shop-keepsake .5s ease; }.purchase-complete #shop-detail-feedback::before { content: "✧ "; }.present-message { background: linear-gradient(145deg,var(--shop-paper),var(--shop-lilac)); padding: 12px; gap: 6px; font-size: 11px; }.present-message .wish-packet-note { line-height: 1.6; }
@keyframes shop-keepsake { 0% { opacity: .6; transform: translateY(6px) scale(.96); } 65% { transform: translateY(-2px) scale(1.02); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion:reduce) { .purchase-complete .shop-detail-art { animation: none; }.shop-product { transition: none; }.shop-product:active { transform: none; } }
:root[data-ambient-motion=paused] .purchase-complete .shop-detail-art { animation: none; }
