/* WEBSTORE-001 inside the public site (WEB-001): the shop's own pieces; the rest is /site/site.css. */
.note { color: var(--text-2); margin: 0 0 12px; }
.filter { display: flex; gap: 10px; align-items: center; margin: 0 0 12px; font-weight: 600; }
.search select { min-width: 150px; }
.grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.card { cursor: pointer; text-align: left; padding: 0; font: inherit; color: var(--text); }
.card .cover { aspect-ratio: 1 / 1; }
.cover { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--raised); display: block; }
.cover.empty { display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 13px; }
.card .body { padding: 12px 14px 14px; display: grid; gap: 4px; }
.name { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.price { font-weight: 600; color: #c3b6ff; }
.detail { margin-top: 8px; }
.detail p { overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.tag { color: #c3b6ff; border: 1px solid rgba(124, 92, 255, 0.3); background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
button { font: inherit; }
button:not(.card):not(.menu-button) { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--accent); background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }
button.secondary:not(.card):not(.menu-button) { background: var(--raised); border-color: var(--line-strong); color: var(--text); }
button.secondary:not(.card):not(.menu-button):hover { background: var(--raised-hover); }
button:not(.card):not(.menu-button):disabled { opacity: 0.6; cursor: default; }

/* WEB-012: an item's own page. */
.link-back:not(.card):not(.menu-button) { background: none; border: 0; color: var(--text-2); padding: 0; min-height: 32px; margin-bottom: 12px; font-weight: 500; }
.link-back:not(.card):not(.menu-button):hover { color: var(--text); }
.item-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; margin-bottom: 40px; }
.item-picture { border-radius: 20px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px -40px rgba(124, 92, 255, 0.55); }
.item-picture .cover { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; }
.item-info h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; margin: 0 0 8px; overflow-wrap: anywhere; }
.item-info .kicker { display: inline-block; color: #c3b6ff; font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.item-info .by { color: var(--text-2); margin: 0 0 18px; }
.item-info .by a { color: var(--text); text-decoration: underline; }
.price.big { font-size: 26px; font-family: "Inter Display", sans-serif; margin-bottom: 6px; }
.item-info .description { color: var(--text); line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; margin: 22px 0 12px; }
a.tag { text-decoration: none; }
.item-section { margin: 0 0 44px; }
.item-section h2 { margin: 0 0 16px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0; padding: 20px 24px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); }
.facts dt { color: var(--text-2); }
.facts dd { margin: 0; }
.permissions { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border-radius: 999px; padding: 2px 10px; font-size: 13px; border: 1px solid var(--line-strong); }
.chip.yes { color: var(--good); border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.chip.no { color: var(--text-3); }
.row.review { align-items: flex-start; }
.row.review .name a { color: var(--text); }
.review-form { max-width: 560px; margin-top: 16px; display: grid; gap: 12px; }
.review-form h3 { margin: 0; }
.review-form textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 14px; resize: vertical; }
.stars-choice { display: flex; gap: 4px; }
.stars-choice .star:not(.card):not(.menu-button) { min-height: 40px; padding: 0 8px; background: none; border: 0; color: var(--text-3); font-size: 26px; }
.stars-choice .star.on:not(.card):not(.menu-button) { color: #fbbf24; }
.grid.small { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
@media (max-width: 820px) { .item-top { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; gap: 4px; } .facts dd { margin-bottom: 8px; } }
