.store-page { color-scheme: dark; background: #080604; color: #fffaf0; overflow-x: clip; }
.store-page, .store-page *, .store-page *::before, .store-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html:has(.store-page) { scroll-behavior: auto; }
.store-page [hidden] { display: none !important; }
.store-page main { max-width: 70rem; }
.store-page p, .store-page li, .store-page h1, .store-page h2, .store-page h3, .store-page a { overflow-wrap: anywhere; }
.store-intro { max-width: 56rem; }
.store-intro .lede { color: #eee2cf; }
.store-jump-links, .store-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.store-jump-links { margin-top: 1.5rem; }
.store-jump-links a { min-height: 44px; display: inline-flex; align-items: center; }
.store-section { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #62461f; scroll-margin-top: 1rem; }
.store-section h2 { margin-top: .3rem; color: #f1c46e; font-size: clamp(1.45rem, 4vw, 1.85rem); }
.store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin: 1.25rem 0; }
.resource-card, .store-product, .store-order { min-width: 0; padding: clamp(1rem, 3vw, 1.5rem); border: 1px solid #765527; border-radius: 16px; background: #17110a; display: flex; flex-direction: column; align-items: flex-start; }
.resource-card h3, .store-product h3, .store-order h3 { color: #fffaf0; margin: .6rem 0; font-size: 1.2rem; line-height: 1.4; }
.resource-card ol { padding-left: 1.35rem; }
.resource-card li + li { margin-top: .4rem; }
.resource-card .store-button { margin-top: auto; }
.resource-kind, .store-seller, .store-file-type { color: #f1c46e; font-size: .9rem; }
.resource-kind { font-weight: 700; }
.store-button { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; max-width: 100%; padding: .7rem 1rem; border: 1px solid #c99640; border-radius: 10px; background: #241a0e; color: #fffaf0; font: 650 1rem/1.45 system-ui, sans-serif; text-align: center; text-decoration: none; cursor: pointer; white-space: normal; overflow-wrap: anywhere; }
.store-button:hover { border-color: #f1c46e; background: #372611; color: #fffaf0; }
.store-button:focus-visible, .store-page a:focus-visible { outline: 3px solid #ffd67f; outline-offset: 4px; }
.store-button:disabled { cursor: not-allowed; border-color: #8e7d62; color: #d3c7b5; background: #221e18; }
.store-button-primary { background: #e7ad43; color: #120c04; border-color: #e7ad43; }
.store-button-primary:hover { background: #f4c56c; color: #120c04; }
.store-note, .store-status { color: #e1d2bd; }
.store-note { font-size: .94rem; }
.store-status { min-height: 1.6em; white-space: pre-wrap; }
.store-status[data-state="error"] { color: #ffd1c9; }
.store-notice { margin: 1.2rem 0; padding: 1rem 1.2rem; border: 1px solid #a67c35; border-radius: 12px; background: #241a0e; color: #fff1d5; }
.store-notice strong { color: #ffda8a; }
.store-price { color: #ffda8a; font-size: 1.4rem; font-weight: 750; margin: .5rem 0; }
.store-description { white-space: pre-wrap; }
.store-card-status { min-height: 1.5em; margin: .6rem 0; }
.store-card-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; }
.store-order-reference { font-size: .82rem; color: #cdbda5; }
@media (max-width: 40rem) { .store-grid { grid-template-columns: minmax(0, 1fr); } .store-button { width: 100%; } .store-card-actions { width: 100%; } .store-page main { width: min(100% - 1.5rem, 70rem); } }
@media print { .store-page { background: #fff; color: #111; } .store-page *, .store-page h1, .store-page h2, .store-page h3 { color: #111; } .resource-card, .store-product, .store-order, .store-notice { background: #fff; border-color: #777; break-inside: avoid; } .store-actions, .store-card-actions, .store-jump-links { display: none; } }
