/* Costumio — soft ivory + deep rose, Cormorant Garamond headings, Jost body. */
:root {
  --bg: #FBF7F4; --surface: #FFFFFF; --text: #1C1917; --muted: #57534E; --line: #E7DED8;
  --brand: #5E1040; --brand-dark: #470A30; --rose: #C46F86; --blush: #F6E3EA; --gold: #B08D57;   /* plum + rose from the logo */
  --danger: #B42318; --ok: #067647; --warn-bg: #FFF7E6; --warn-line: #F5D9A8;
  --radius: 14px; --radius-sm: 10px; --shadow: 0 1px 2px rgba(28,25,23,.05), 0 8px 24px rgba(28,25,23,.06);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif; --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px; --z-nav: 30; --z-pop: 50;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* class display rules (.stack, .field) must not resurrect hidden elements */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: 1.75rem; }
h3, .h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 16px; }
.icon { width: 22px; height: 22px; flex: none; }
.muted { color: var(--muted); } .small { font-size: .875rem; } .center { text-align: center; } .danger { color: var(--danger); } .ok { color: var(--ok); }
.container { max-width: var(--max); margin: 0 auto; padding: 24px 20px 64px; }
.narrow { max-width: 640px; margin-left: auto; margin-right: auto; }
.pad-xl { padding: 64px 0; }

/* Nav */
.nav { position: sticky; top: 12px; z-index: var(--z-nav); margin: 12px 12px 0; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.nav-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 10px 16px; }
.logo { display: inline-flex; align-items: center; flex: none; border-radius: 8px; }
.logo img { height: 44px; width: auto; }
.foot-logo { height: 44px; width: auto; margin-bottom: 12px; }
.nav-search { flex: 1; position: relative; max-width: 560px; }
.nav-search input { width: 100%; padding: 11px 14px 11px 42px; border-radius: 999px; background: var(--bg); }
.nav-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > a:not(.nav-icon):not(.btn) { padding: 10px 12px; color: var(--text); text-decoration: none; font-weight: 500; border-radius: 10px; transition: background-color .2s; }
.nav-links > a:hover { background: var(--blush); }
.nav-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; color: var(--text); cursor: pointer; transition: background-color .2s; list-style: none; }
.nav-icon:hover { background: var(--blush); color: var(--brand); }
.nav-icon::-webkit-details-marker { display: none; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: #fff; font-size: .7rem; line-height: 18px; text-align: center; font-weight: 600; }
.menu { position: relative; }
.menu summary { list-style: none; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; z-index: var(--z-pop); display: grid; }
.menu-pop a, .menu-pop .linklike { padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; text-align: left; width: 100%; }
.menu-pop a:hover, .menu-pop .linklike:hover { background: var(--blush); }
.menu-who { padding: 8px 12px; font-weight: 600; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.cat-strip { max-width: var(--max); margin: 0 auto; display: flex; gap: 4px; overflow-x: auto; padding: 0 12px 8px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip a { white-space: nowrap; padding: 6px 12px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .9rem; transition: background-color .2s, color .2s; }
.cat-strip a:hover { background: var(--blush); color: var(--brand); }

/* Forms */
input, select, textarea { font: inherit; color: var(--text); background: #fff; border: 1px solid #D6CCC5; border-radius: var(--radius-sm); padding: 11px 13px; width: 100%; min-height: 44px; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(94,16,64,.15); }
textarea { resize: vertical; }
label { font-weight: 500; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; accent-color: var(--brand); }
.stack { display: grid; gap: 10px; }
.stack > label { margin-top: 6px; }
.field { display: grid; gap: 6px; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 400; cursor: pointer; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 500; margin-bottom: 8px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-weight: 400; transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: var(--brand); }
.choice:has(input:checked) { border-color: var(--brand); background: var(--blush); }
.choice input { margin-top: 2px; }
.conds { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.parcels { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.money-in { display: flex; align-items: center; border: 1px solid #D6CCC5; border-radius: var(--radius-sm); background: #fff; }
.money-in span { padding-left: 13px; color: var(--muted); }
.money-in input { border: 0; box-shadow: none !important; }
.money-in:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(94,16,64,.15); }
.narrow-field { max-width: 320px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--brand); background: var(--brand); color: #fff; font: 500 1rem var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn:disabled, .btn[aria-busy=true] { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--blush); color: var(--brand-dark); }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .9rem; }
.btn-lg { min-height: 52px; padding: 12px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linklike.danger { color: var(--danger); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.icon-btn:hover { background: var(--blush); color: var(--danger); }
form.inline { display: inline; }

/* Messages */
.flash { background: var(--blush); border: 1px solid #EBC7D5; color: var(--brand-dark); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.error { background: #FEF3F2; border: 1px solid #FDA29B; color: #912018; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.error ul, .notice ul { margin: 6px 0 0; padding-left: 20px; }
.notice { background: var(--warn-bg); border: 1px solid var(--warn-line); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.invite-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: var(--blush); border: 1px solid var(--rose); border-radius: var(--radius-sm); padding: 12px 16px; margin-bottom: 20px; }
.invite-banner p { margin: 0; flex: 1 1 280px; }
.invite-banner .icon { color: var(--brand); }
.empty { text-align: center; padding: 48px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

/* Hero / home */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 40px 0 32px; }
.hero.small { grid-template-columns: 1fr; max-width: 820px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--brand); font-weight: 600; margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 65ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-search { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.hero-search label { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.search-row { display: flex; gap: 8px; }
.search-row input { flex: 1; }
.big-search { max-width: 720px; margin: 8px 0 4px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 24px 0 40px; }
.trust > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.trust .icon { color: var(--brand); width: 28px; height: 28px; margin-bottom: 10px; }
.trust h2 { font-size: 1.35rem; }
.trust p { color: var(--muted); margin: 0; }
.section { margin: 48px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.steps { padding-left: 20px; display: grid; gap: 10px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.panel > details > summary, details.panel > summary { cursor: pointer; font-weight: 500; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
/* Exactly two rows: fixed columns per breakpoint, extra cards hidden (server sends 10 = 2 x 5). */
.grid.grid-2r { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid.grid-2r > :nth-child(n+11) { display: none; }
@media (max-width: 1100px) { .grid.grid-2r { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid.grid-2r > :nth-child(n+9) { display: none; } }
@media (max-width: 860px)  { .grid.grid-2r { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid.grid-2r > :nth-child(n+7) { display: none; } }
@media (max-width: 640px)  { .grid.grid-2r { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.grid-2r > :nth-child(n+5) { display: none; } }
.tag-featured { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.94); color: var(--brand); border: 1px solid var(--rose); }
.featured-opt { border-color: var(--rose); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); border-color: #D9CCC4; }
.card-media { display: block; aspect-ratio: 4 / 5; background: #F3ECE7; position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.ph-empty { display: grid; place-items: center; height: 100%; color: #BFB3AB; aspect-ratio: 4/5; }
.card-body { display: block; padding: 12px 14px 14px; color: var(--text); text-decoration: none; }
.card-title { font-family: var(--sans); font-size: .98rem; font-weight: 500; line-height: 1.35; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { color: var(--muted); font-size: .85rem; margin: 0 0 6px; }
.card-price { font-weight: 600; margin: 0; }
.fav { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: color .2s, background-color .2s; }
.fav:hover { color: var(--brand); }
.fav.is-saved, .fav-wide.is-saved { color: var(--brand); }
.fav.is-saved svg, .fav-wide.is-saved svg { fill: currentColor; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.tag-sold { position: absolute; left: 10px; top: 10px; background: var(--text); color: #fff; }
.tag-sold.big { position: static; font-size: 1rem; padding: 8px 16px; margin-bottom: 10px; }

/* Shop */
.shop-head { margin-bottom: 20px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 140px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.filters summary { font-weight: 600; cursor: pointer; margin-bottom: 8px; }
.price { display: flex; gap: 8px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 32px 0; }
.related { margin-top: 32px; }
.related h2 { font-size: 1.3rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; font-size: .9rem; margin: 0 6px 6px 0; transition: border-color .2s, background-color .2s; }
.chip:hover, .chip.on { border-color: var(--brand); background: var(--blush); color: var(--brand-dark); }

/* Item */
.item { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; }
.gallery-main { background: #F3ECE7; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; flex: none; width: 72px; }
.thumb.on { border-color: var(--brand); }
.thumb img { width: 72px; height: 90px; object-fit: cover; }
.item-price { font-size: 1.9rem; font-weight: 600; margin: 0 0 4px; }
.buy { display: grid; gap: 10px; margin: 18px 0; }
.assure { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.assure li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.assure .icon { color: var(--brand); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); margin: 0 0 20px; }
.specs div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }
.desc { max-width: 65ch; white-space: normal; }
.seller-card { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--blush); color: var(--brand); display: grid; place-items: center; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.studio-badge { display: flex; gap: 6px; align-items: center; margin: 4px 0 0; font-size: .9rem; }
.studio-badge .icon { width: 18px; height: 18px; color: var(--brand); }

/* Cart / checkout */
.cart { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 72px; flex: none; border-radius: 10px; overflow: hidden; background: #F3ECE7; }
.cart-thumb img { aspect-ratio: 4/5; object-fit: cover; }
.grow { flex: 1; min-width: 0; }
.cart-price { font-weight: 600; }
.summary { position: sticky; top: 140px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 600; font-size: 1.1rem; }
ul.plain { list-style: none; margin: 0; padding: 0; }

/* Auth */
.auth { max-width: 460px; margin: 24px auto; }

/* Dashboards */
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 12px 14px; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500; transition: color .2s, border-color .2s; }
.tabs a:hover { color: var(--brand); }
.tabs a.on { color: var(--brand); border-bottom-color: var(--brand); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat-v { font-size: 1.6rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat-l { color: var(--muted); font-size: .9rem; }
.stat-s { font-size: .8rem; margin-top: 2px; }
.chart { margin: 0; }
.chart figcaption { font-weight: 500; margin-bottom: 8px; }
.chart svg { width: 100%; height: 180px; display: block; }
.chart rect { fill: var(--brand); opacity: .85; }
.chart rect:hover { opacity: 1; }
.chart-axis { display: flex; justify-content: space-between; font-size: .8rem; margin-top: 4px; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #FDFBFA; }
.table tr:last-child td { border-bottom: 0; }
.td-thumb { width: 64px; }
.td-thumb img, .td-thumb .ph-empty { width: 56px; height: 70px; object-fit: cover; border-radius: 8px; }
.actions { white-space: nowrap; }
.actions > * + * { margin-left: 12px; }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #F2EEEA; color: var(--muted); text-transform: capitalize; }
.s-active, .s-delivered, .s-released, .s-paid_out { background: #ECFDF3; color: var(--ok); }
.s-paid, .s-label_created, .s-draft, .s-reserved { background: var(--warn-bg); color: #93370D; }
.s-in_transit { background: #EFF8FF; color: #175CD3; }
.s-disputed, .s-cancelled, .s-refunded, .s-removed { background: #FEF3F2; color: var(--danger); }
.s-sold { background: var(--blush); color: var(--brand-dark); }
.ship-box { border-color: var(--brand); background: linear-gradient(180deg, #fff, var(--blush)); }
.copy-row { display: flex; gap: 8px; }
.invite .icon { vertical-align: -4px; color: var(--brand); }

/* Editor */
.editor { display: grid; gap: 0; max-width: 900px; }
.photos { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.ph { position: relative; border-radius: 10px; overflow: hidden; background: #F3ECE7; aspect-ratio: 4 / 5; cursor: grab; border: 2px solid transparent; }
.ph:first-child { border-color: var(--brand); }
.ph:first-child::after { content: "Cover"; position: absolute; left: 6px; bottom: 6px; background: var(--brand); color: #fff; font-size: .7rem; padding: 2px 8px; border-radius: 999px; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.dragging { opacity: .4; }
.ph.uploading { display: grid; place-items: center; color: var(--muted); font-size: .85rem; cursor: default; }
.ph-del { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--danger); display: grid; place-items: center; cursor: pointer; }
.ph-grip { position: absolute; top: 6px; left: 6px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.ph-grip .icon { width: 18px; height: 18px; }
.dropzone { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 28px; border: 2px dashed #D6CCC5; border-radius: var(--radius); background: var(--bg); cursor: pointer; color: var(--muted); font-weight: 400; transition: border-color .2s, background-color .2s; }
.dropzone:hover, .dropzone.over { border-color: var(--brand); background: var(--blush); color: var(--brand-dark); }
.dropzone:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.suggest summary { cursor: pointer; color: var(--brand); font-size: .95rem; }
.suggest[open] { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.suggest[open] summary { margin-bottom: 8px; }
.cat-table input, .cat-table select { min-height: 38px; padding: 6px 10px; }
.cat-table .num { width: 72px; }
.earn { font-size: 1.05rem; font-weight: 500; color: var(--ok); min-height: 1.6em; margin: 0; }
.editor-actions { position: sticky; bottom: 12px; display: flex; gap: 12px; justify-content: flex-end; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--shadow); }
.ebay-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.ebay-list li { display: flex; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.ebay-list img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }

/* Prose / FAQ */
.prose { max-width: 72ch; margin: 0 auto; }
.prose h2 { margin-top: 1.4em; }
.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 500; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: #fff; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 24px; }
.foot h2 { font-family: var(--sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.foot a { display: block; color: var(--text); text-decoration: none; padding: 4px 0; }
.foot a:hover { color: var(--brand); }
.foot-base { padding-top: 0; padding-bottom: 24px; font-size: .85rem; }

@media (max-width: 1024px) {
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters details:not([open]) { }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero, .split, .item, .cart { grid-template-columns: 1fr; }
  .summary { position: static; }
  .trust { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-inner { flex-wrap: wrap; gap: 8px; }
  .nav-search { order: 3; flex-basis: 100%; max-width: none; }
  .nav-links > a:not(.nav-icon):not(.btn) { padding: 10px 8px; }
  .cols2, .cols3 { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .specs { grid-template-columns: 1fr; }
  .editor-actions { justify-content: stretch; } .editor-actions .btn { flex: 1; }
}
@media (max-width: 420px) {
  .nav-links > a[href="/studios"] { display: none; }
  .stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
