:root {
  --bg: #fbf8f4;
  --surface: #ffffff;
  --ink: #241914;
  --muted: #6c5b52;
  --border: #e6dcd2;
  --accent: #b04a2f;
  --accent-ink: #ffffff;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'DM Sans', system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.5; }
.g-topbar { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.g-topbar-inner { max-width: 1200px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.g-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 18px; }
.g-nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 14px; }
.g-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.g-nav a[aria-current="page"], .g-nav a:hover { color: var(--ink); }

.g-shell { max-width: 1200px; margin: 0 auto; padding: 20px 16px 48px; }
.g-hero { background: linear-gradient(135deg, #fff6ec, #f7ebe0); border: 1px solid var(--border); border-radius: 20px; padding: 24px 20px; margin-bottom: 20px; }
.g-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.g-hero h1 { font-family: 'Playfair Display', Georgia, serif; margin: 0 0 8px; font-size: clamp(26px, 4vw, 38px); line-height: 1.15; }
.g-hero-sub { margin: 0 0 16px; color: var(--muted); max-width: 62ch; }
.g-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; border: 1px solid transparent; }
.g-btn-primary { background: var(--accent); color: var(--accent-ink); }
.g-btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border); }
.g-btn-ghost[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.g-collections { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 14px; }
.g-col-pill { white-space: nowrap; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; }
.g-col-pill.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.g-filter-bar { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px; margin-bottom: 20px; }
.g-search-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 720px) { .g-search-row { grid-template-columns: repeat(4, 1fr); } .g-field-grow { grid-column: span 1; } }
.g-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.g-field input, .g-field select { width: 100%; padding: 9px 10px; border: 1px solid var(--border); border-radius: 10px; font: inherit; font-size: 14px; color: var(--ink); background: #fff; }
.g-more-filters { margin-top: 12px; font-size: 13px; }
.g-more-filters summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.g-status-row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.g-link-btn { background: none; border: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }

.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.g-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.g-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(36, 25, 20, .08); }
.g-thumb-wrap { position: relative; aspect-ratio: 4/5; background: #f2e8de; overflow: hidden; }
.g-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-fav-btn { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); background: rgba(255,255,255,.92); cursor: pointer; font-size: 16px; display: grid; place-items: center; }
.g-fav-btn[aria-pressed="true"] { color: #c92a42; }
.g-price-tag { position: absolute; bottom: 10px; left: 10px; background: rgba(24, 18, 15, .86); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.g-price-tag.is-free { background: #1e6b52; }
.g-card-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.g-card-title { margin: 0; font-size: 16px; font-weight: 700; }
.g-card-meta { margin: 0; font-size: 12px; color: var(--muted); }
.g-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 14px; }
.g-card-actions a { text-align: center; padding: 8px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; text-decoration: none; }
.g-act-preview { border: 1px solid var(--border); color: var(--ink); background: #fff; }
.g-act-edit { background: var(--accent); color: #fff; }
.g-empty { text-align: center; padding: 40px 16px; color: var(--muted); }

.g-footer { max-width: 1200px; margin: 0 auto; padding: 20px 16px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.g-footer a { color: var(--muted); text-decoration: none; margin-right: 12px; }
