:root {
  color-scheme: dark;
  --bg: #11110e;
  --surface: #1b1b16;
  --surface-raised: #24241d;
  --yellow: #f3ca35;
  --yellow-bright: #ffdf52;
  --ink: #fff7d8;
  --muted: #b8b29b;
  --line: #39382c;
  --black: #090907;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { min-width: 320px; margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--yellow-bright); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; z-index: 5; top: 0; border-bottom: 1px solid rgb(243 202 53 / 18%); background: rgb(17 17 14 / 94%); backdrop-filter: blur(14px); }
.header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--yellow); font-size: .82rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; background: var(--yellow); color: var(--black); }
.home-link { color: var(--yellow); font-size: .82rem; font-weight: 750; }
.home-link:hover, .category-nav a:hover { color: var(--yellow-bright); }

.page-shell { padding: 22px 0 70px; }
.category-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-bottom: 35px; }
.category-nav a { color: var(--yellow); font-size: .8rem; font-weight: 750; }
.category-nav a:last-child { text-align: right; }
.category-nav .all-categories { justify-self: center; padding: 7px 11px; border: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.category-nav .all-categories:hover { border-color: var(--yellow); color: var(--yellow); }

.category-hero { position: relative; overflow: hidden; margin-bottom: 24px; padding: clamp(25px, 5vw, 48px); border: 1px solid rgb(243 202 53 / 28%); background: radial-gradient(ellipse at 100% 0, rgb(243 202 53 / 12%), transparent 52%), var(--surface); }
.category-hero::after { position: absolute; top: -130px; right: -40px; width: 330px; height: 330px; border: 1px solid rgb(243 202 53 / 22%); border-radius: 50%; box-shadow: 0 0 0 30px rgb(243 202 53 / 4%), 0 0 0 70px rgb(243 202 53 / 3%); content: ""; pointer-events: none; }
.eyebrow { position: relative; z-index: 1; margin: 0 0 10px; color: var(--yellow); font-size: .68rem; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
h1 { position: relative; z-index: 1; max-width: 760px; margin: 0 0 12px; color: var(--yellow); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -.055em; line-height: 1; }
.hero-description { position: relative; z-index: 1; max-width: 650px; margin: 0; color: var(--muted); font-size: .94rem; }
.product-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 24px 0 17px; }
.product-count { margin: 0; color: var(--yellow); font-size: .77rem; font-weight: 750; }
.search-box { width: min(100%, 300px); padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--ink); font-size: .82rem; }
.search-box:focus { border-color: var(--yellow); outline: none; }
.disclosure { margin: 0 0 22px; padding: 12px 15px; border-left: 2px solid var(--yellow); background: var(--surface); color: var(--muted); font-size: .75rem; }
.disclosure strong { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .2s, border-color .2s; }
.product-card:hover { transform: translateY(-3px); border-color: var(--yellow); }
.product-image-container { position: relative; min-width: 0; }
.image-slot { display: grid; min-height: 220px; aspect-ratio: 4 / 3; place-items: center; background: radial-gradient(ellipse at 50% 40%, rgb(243 202 53 / 11%), transparent 65%), var(--surface-raised); color: var(--muted); text-align: center; }
.product-photo { display: block; width: 100%; min-height: 220px; aspect-ratio: 4 / 3; background: var(--surface-raised); object-fit: cover; }
.photo-controls { position: absolute; right: 9px; bottom: 9px; left: 9px; display: flex; justify-content: flex-end; pointer-events: none; }
.photo-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.photo-button { min-height: 36px; padding: 7px 10px; border: 1px solid var(--yellow); background: rgb(9 9 7 / 92%); color: var(--yellow); cursor: pointer; font-size: .69rem; font-weight: 850; pointer-events: auto; }
.photo-button:hover:not(:disabled) { background: var(--yellow); color: var(--black); }
.photo-button:disabled { cursor: not-allowed; opacity: .55; }
.photo-status { min-height: 1.4em; margin: -10px 0 14px; color: var(--yellow); font-size: .74rem; }
.image-slot-inner { display: grid; justify-items: center; gap: 9px; }
.image-slot-icon { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid rgb(243 202 53 / 50%); border-radius: 50%; color: var(--yellow); font-size: 1.35rem; }
.image-slot-label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.product-info { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 15px; }
.product-number { margin: 0 0 5px; color: var(--yellow); font-size: .66rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.product-name { margin: 0 0 14px; color: var(--ink); font-size: .93rem; font-weight: 750; }
.product-description { margin: 0 0 16px; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.amazon-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 9px 13px; background: var(--yellow); color: var(--black); font-size: .76rem; font-weight: 900; transition: background .2s, transform .2s; }
.amazon-button:hover { transform: translateY(-1px); background: var(--yellow-bright); }
.empty-state { padding: 35px 18px; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.bottom-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.bottom-nav a { color: var(--yellow); font-size: .81rem; font-weight: 750; }
.site-footer { padding: 22px 0; background: var(--black); color: #96917c; font-size: .72rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 14px; }
.footer-brand { color: var(--yellow); font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.footer-inner p { margin: 0; }

@media (max-width: 850px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .shell { width: calc(100% - 30px); }
  .brand { font-size: .72rem; letter-spacing: .065em; }
  .category-nav { gap: 7px; }
  .category-nav a { font-size: .69rem; }
  .category-nav .all-categories { padding: 6px 8px; font-size: .65rem; }
  .category-hero { padding: 25px 19px; }
  .product-toolbar { align-items: stretch; flex-direction: column-reverse; }
  .search-box { width: 100%; }
  .product-grid { grid-template-columns: 1fr; gap: 12px; }
  .product-card { display: grid; grid-template-columns: 38% 1fr; }
  .image-slot { min-height: 160px; aspect-ratio: auto; }
  .product-photo { min-height: 160px; height: 100%; aspect-ratio: auto; }
  .product-info { min-height: 160px; padding: 13px; }
  .amazon-button { align-self: stretch; padding-inline: 7px; font-size: .7rem; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
