:root {
  color-scheme: light;
  --bg: #090704;
  --surface: rgba(255, 252, 244, 0.94);
  --surface-solid: #fffdf8;
  --surface-soft: rgba(255, 248, 230, 0.82);
  --ink: #202124;
  --muted: #66615a;
  --line: rgba(144, 105, 45, 0.24);
  --line-strong: rgba(137, 96, 37, 0.42);
  --accent: #9a6423;
  --accent-strong: #6b4217;
  --accent-soft: rgba(245, 209, 129, 0.36);
  --rose: #cf4f62;
  --gold: #d99a38;
  --blue: #2d6f9f;
  --shadow: 0 22px 55px rgba(13, 8, 3, 0.22);
  --shadow-soft: 0 12px 30px rgba(16, 10, 4, 0.16);
  --header-height: 64px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 154, 56, 0.2), transparent 36rem),
    var(--bg);
  color: var(--ink);
}

.silk-background {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}

.silk-background::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 248, 221, 0.18) 0%, rgba(0, 0, 0, 0.08) 32%, rgba(0, 0, 0, 0.56) 100%),
    radial-gradient(circle at 16% 12%, rgba(255, 226, 149, 0.22), transparent 24rem),
    radial-gradient(circle at 86% 8%, rgba(186, 113, 31, 0.18), transparent 30rem);
}

.silk-background__canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.12) contrast(1.08);
}

.site-header,
main,
.site-footer {
  position: relative;
}

main,
.site-footer {
  z-index: 1;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 22px;
  border-bottom: 1px solid rgba(245, 209, 129, 0.28);
  background: rgba(255, 251, 240, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-soft);
  color: var(--accent-strong);
}

.brand--panel {
  justify-self: start;
}

.brand-mark {
  display: grid;
  overflow: hidden;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #fff8df;
  border: 1px solid var(--line);
}

.brand-mark img {
  width: 145%;
  height: 145%;
  object-fit: contain;
  object-position: center;
}

.icon-button,
.saved-pill,
.heart-button,
.text-button,
.primary-link,
.secondary-link,
.choice-pill,
.filter-trigger {
  min-height: 40px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--surface-soft);
  border-color: var(--line);
}

.icon-button--small {
  width: 32px;
  height: 32px;
  min-height: 32px;
}

.saved-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 800;
}

.saved-pill:hover,
.saved-pill:focus-visible {
  border-color: var(--rose);
  color: var(--rose);
}

.hero-section {
  position: relative;
  padding: 56px 20px 46px;
  background: transparent;
  border-bottom: 0;
}

.hero-inner {
  width: min(920px, 100%);
  margin: 0 auto 30px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #76501c;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-inner h1 {
  max-width: 780px;
  margin: 0 auto;
  font-size: 5rem;
  line-height: 0.98;
  letter-spacing: 0;
  color: #fff8e2;
  text-shadow:
    0 2px 22px rgba(0, 0, 0, 0.34),
    0 0 52px rgba(230, 170, 63, 0.2);
}

.hero-copy {
  max-width: 620px;
  margin: 18px auto 0;
  color: rgba(255, 247, 225, 0.82);
  font-size: 1.3rem;
  line-height: 1.35;
}

.filter-stack {
  position: sticky;
  top: 76px;
  z-index: 40;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.search-row {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(520px, 100%);
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 238, 0.9);
  box-shadow: var(--shadow-soft);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 238, 0.92);
  box-shadow: var(--shadow);
}

.filter-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 14px 22px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.filter-trigger:last-child {
  border-right: 0;
}

.filter-trigger:hover,
.filter-trigger.is-active,
.filter-trigger:focus-visible {
  background: var(--surface-soft);
}

.filter-trigger strong,
.filter-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-trigger strong {
  color: var(--muted);
  font-weight: 800;
}

.filter-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.popover-zone {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: min(760px, calc(100vw - 32px));
  transform: translateX(-50%);
}

.popover-card {
  width: 100%;
  max-height: min(520px, calc(100vh - 190px));
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 244, 0.98);
  box-shadow: var(--shadow);
}

.popover-card--occasion,
.popover-card--price {
  width: min(560px, 100%);
  margin: 0 auto;
}

.choice-section + .choice-section {
  margin-top: 18px;
}

.choice-section--bordered {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.choice-section h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-grid--compact {
  gap: 8px;
}

.choice-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
}

.choice-pill:hover,
.choice-pill:focus-visible,
.choice-pill.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.results-section {
  padding: 0 20px 72px;
  background: transparent;
}

.affiliate-disclosure {
  max-width: 980px;
  margin: 0 auto 18px;
  color: rgba(255, 247, 225, 0.76);
  text-align: center;
  font-size: 0.95rem;
}

.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, 100%);
  margin: 0 auto 18px;
}

.results-toolbar p {
  margin: 0;
  color: rgba(255, 247, 225, 0.82);
  font-weight: 750;
}

.text-button {
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-strong);
  cursor: pointer;
  font-weight: 800;
}

.text-button:hover,
.text-button:focus-visible {
  border-color: var(--accent);
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.gift-card {
  display: flex;
  flex-direction: column;
  min-height: 510px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.gift-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px 0;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 7px;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.price-chip small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.heart-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  border: 1px solid rgba(207, 79, 98, 0.5);
  border-radius: 999px;
  background: #fff;
  color: var(--rose);
  cursor: pointer;
  font-size: 1.3rem;
}

.heart-button:hover,
.heart-button:focus-visible,
.heart-button.is-saved {
  background: #fff0f2;
  border-color: var(--rose);
}

.gift-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin: 14px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--visual-a) 80%, white), var(--visual-b)),
    var(--visual-a);
  text-decoration: none;
}

.gift-visual--image {
  overflow: hidden;
  background: rgba(255, 249, 232, 0.82);
}

.gift-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  mix-blend-mode: multiply;
}

.gift-visual-icon {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  font-size: 4.1rem;
}

.gift-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 0 18px 18px;
}

.gift-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.gift-card h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.gift-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6a5c2d;
  font-size: 0.88rem;
  font-weight: 750;
}

.gift-rating span {
  color: #d9901a;
}

.gift-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f0eee7;
  color: #575348;
  font-size: 0.82rem;
  font-weight: 750;
}

.gift-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 0 18px 18px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
}

button.primary-link {
  min-height: 40px;
  cursor: pointer;
}

.primary-link {
  border: 1px solid var(--accent-strong);
  background: var(--accent);
  color: #fff;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: var(--accent-strong);
}

.secondary-link {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.secondary-link:hover,
.secondary-link:focus-visible {
  border-color: var(--rose);
  color: var(--rose);
}

.empty-state {
  width: min(680px, 100%);
  margin: 30px auto 0;
  padding: 36px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  text-align: center;
}

.empty-state h2,
.empty-state p {
  margin: 0;
}

.empty-state p {
  margin-top: 8px;
  color: var(--muted);
}

.editorial-section {
  padding: 62px 20px 72px;
  border-top: 0;
  background: transparent;
}

.editorial-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) 1.18fr;
  gap: 36px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.editorial-inner h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
  color: #fff8e2;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.34);
}

.editorial-grid {
  display: grid;
  gap: 14px;
}

.editorial-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.editorial-grid h3,
.editorial-grid p {
  margin: 0;
}

.editorial-grid h3 {
  font-size: 1.1rem;
}

.editorial-grid p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.side-panel {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(440px, 94vw);
  background: var(--surface);
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform 180ms ease;
}

.side-panel.is-open {
  transform: translateX(0);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.panel-section {
  flex: 1;
  overflow: auto;
  padding: 18px 16px;
}

.panel-section h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.panel-empty {
  color: var(--muted);
}

.saved-list {
  display: grid;
  gap: 8px;
}

.saved-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  min-height: 76px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.saved-link {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.saved-link:hover strong,
.saved-link:focus-visible strong {
  color: var(--accent-strong);
  text-decoration: none;
}

.saved-link:focus-visible {
  outline: 3px solid rgba(47, 120, 98, 0.28);
  outline-offset: 4px;
}

.saved-link--static:hover strong {
  color: inherit;
  text-decoration: none;
}

.saved-icon {
  overflow: hidden;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--visual-a), var(--visual-b));
  font-size: 1.55rem;
}

.saved-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  background: var(--surface);
}

.saved-copy {
  min-width: 0;
}

.saved-copy strong,
.saved-copy span {
  display: block;
}

.saved-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.18;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.saved-copy span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.saved-item .icon-button--small {
  width: 32px;
  height: 32px;
}

.panel-footer {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.panel-footer a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.panel-footer a:hover,
.panel-footer a:focus-visible {
  text-decoration: underline;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(32, 33, 36, 0.42);
  backdrop-filter: blur(3px);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  pointer-events: none;
}

.toast.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-footer {
  padding: 26px 20px;
  border-top: 1px solid rgba(245, 209, 129, 0.18);
  background: rgba(255, 251, 240, 0.8);
  backdrop-filter: blur(18px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
  font-weight: 750;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-inner a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  text-decoration: underline;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
  color: rgba(255, 247, 225, 0.86);
}

.page-kicker {
  margin: 0 0 10px;
  color: #f0c573;
  font-size: 0.85rem;
  font-weight: 850;
  text-transform: uppercase;
}

.page-shell h1 {
  margin: 0;
  color: #fff8e2;
  font-size: 3.2rem;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.34);
}

.page-intro {
  margin: 18px 0 0;
  color: rgba(255, 247, 225, 0.78);
  font-size: 1.25rem;
  line-height: 1.45;
}

.page-section {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.page-section h2 {
  margin: 0 0 12px;
  color: #fff8e2;
  font-size: 1.45rem;
}

.page-section p,
.page-section li {
  color: rgba(255, 247, 225, 0.76);
  line-height: 1.62;
}

.page-section p {
  margin: 0 0 14px;
}

.page-section ul {
  margin: 0;
  padding-left: 20px;
}

.page-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.page-card strong {
  color: var(--ink);
}

.page-card p,
.page-card li,
.guide-list article p,
.guide-list article li {
  color: var(--muted);
}

.guide-list {
  display: grid;
  gap: 16px;
}

.guide-list article {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.guide-list article h2 {
  margin-bottom: 8px;
  color: var(--ink);
}

.guide-list article a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 4px;
  color: var(--accent-strong);
  font-weight: 850;
  text-decoration: none;
}

.guide-list article a:hover,
.guide-list article a:focus-visible {
  text-decoration: underline;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.admin-body {
  background:
    linear-gradient(180deg, #fbfaf7 0%, #eff6f2 100%);
}

.admin-shell {
  display: grid;
  min-height: calc(100vh - 64px);
  place-items: start center;
  padding: 48px 20px;
}

.admin-panel {
  width: min(880px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.admin-heading {
  margin-bottom: 22px;
}

.admin-heading h1 {
  margin: 0;
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: 0;
}

.admin-copy {
  max-width: 56ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.admin-workspace {
  display: grid;
  gap: 18px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--accent-strong);
  font-weight: 850;
}

.admin-signout {
  border: 1px solid var(--line);
  cursor: pointer;
}

.admin-form {
  display: grid;
  gap: 10px;
}

.admin-form label {
  color: var(--muted);
  font-weight: 850;
}

.admin-input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.admin-input-row input {
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  outline: 0;
}

.admin-input-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.admin-submit {
  min-width: 104px;
  border: 1px solid var(--accent-strong);
  cursor: pointer;
}

.admin-submit:disabled {
  cursor: wait;
  opacity: 0.66;
}

.admin-status {
  min-height: 28px;
  margin-top: 18px;
  color: var(--accent-strong);
  font-weight: 850;
}

.admin-status[data-tone="error"] {
  color: var(--rose);
}

.admin-preview {
  margin-top: 18px;
}

.admin-result {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.admin-result img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 14px;
  border-radius: 8px;
  background: var(--surface);
}

.admin-result h2,
.admin-result p {
  margin: 0;
}

.admin-result h2 {
  margin-bottom: 8px;
  font-size: 1.65rem;
  line-height: 1.1;
}

.admin-result p {
  color: var(--muted);
}

.admin-result-meta {
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-result-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-weight: 850;
}

@media (max-width: 960px) {
  .hero-inner h1 {
    font-size: 3.9rem;
  }

  .gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-bar {
    border-radius: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-trigger:nth-child(2) {
    border-right: 0;
  }

  .filter-trigger:nth-child(1),
  .filter-trigger:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .editorial-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 8px 12px;
  }

  .side-panel {
    width: 100vw;
  }

  .panel-header {
    min-height: 62px;
    padding: 10px 14px;
  }

  .panel-section {
    padding: 16px 14px;
  }

  .panel-footer {
    gap: 6px;
    padding: 12px 14px;
  }

  .site-nav {
    display: none;
  }

  .brand {
    font-size: 1rem;
  }

  .hero-section {
    padding: 36px 14px 34px;
  }

  .hero-inner {
    margin-bottom: 22px;
  }

  .hero-inner h1 {
    font-size: 2.7rem;
    line-height: 1.02;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .filter-stack {
    top: 64px;
  }

  .filter-trigger {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
  }

  .popover-zone {
    top: calc(100% + 8px);
    width: calc(100vw - 20px);
  }

  .popover-card {
    max-height: calc(100vh - 230px);
    padding: 14px;
  }

  .results-section {
    padding: 24px 14px 52px;
  }

  .results-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .gift-grid {
    grid-template-columns: 1fr;
  }

  .gift-card {
    min-height: auto;
  }

  .editorial-section {
    padding: 44px 14px 52px;
  }

  .editorial-inner h2 {
    font-size: 1.9rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-shell {
    width: min(100% - 28px, 860px);
    padding: 40px 0 56px;
  }

  .page-shell h1 {
    font-size: 2.35rem;
  }

  .admin-shell {
    padding: 28px 14px;
  }

  .admin-panel {
    padding: 18px;
  }

  .admin-heading h1 {
    font-size: 2.25rem;
  }

  .admin-input-row,
  .admin-result {
    grid-template-columns: 1fr;
  }

  .admin-result-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
