:root { --max: 1100px; }
* { box-sizing: border-box; }
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial; color: #111; background: #fff; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 24px; }
.nav { display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 18px 24px; border-bottom:1px solid #eee; position: sticky; top:0; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); z-index: 10;}
.nav a { padding: 10px 12px; border-radius: 10px; }
/*.nav a:hover { background:#f4f4f5; } */
.brand { font-weight: 800; letter-spacing: -0.02em; }
.hero { padding: 44px 0; }
.h1 { font-size: 44px; line-height: 1.05; margin: 0; letter-spacing:-0.03em; }
.sub {
  margin-top: 12px;
  color: #444;
  font-size: 16px;
  max-width: 65ch;
  
  /* THIS IS THE FIX: */
  margin-left: auto;
  margin-right: auto;
}
.grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px){ .grid { grid-template-columns: repeat(2, 1fr);} .h1 { font-size: 36px; } }
@media (max-width: 560px){ .grid { grid-template-columns: 1fr;} }
.card { border:1px solid #eee; border-radius: 18px; overflow:hidden; background:#fff; }
.card .pad { padding: 14px; }
.badge { display:inline-block; font-size:12px; padding:6px 10px; border-radius:999px; background:#f4f4f5; color:#333; }
.media-4x5{
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f4f4f5;
}

.media-4x5 > img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* matches your product page behavior */
  object-position: center;
  display: block;
}
.ratio-4x5 { aspect-ratio: 4 / 5; width: 100%; }
.thumbBtn.is-active img { outline: 2px solid rgba(0,0,0,0.35); outline-offset: 2px; }
.title { margin: 8px 0 4px; font-weight: 750; }
.small { color:#555; font-size: 13px; }
.row { display:flex; gap: 10px; flex-wrap: wrap; align-items:center; }
.btn { display:inline-block; padding: 10px 14px; border-radius: 12px; border:1px solid #111; background:#111; color:#fff; font-weight:650; cursor:pointer; }
.btn.secondary { background:#fff; color:#111; }
.btn:hover { opacity: 0.92; }
input, select { padding: 10px 12px; border-radius: 12px; border:1px solid #ddd; width: 100%; max-width: 420px;}
.form { display:flex; flex-direction:column; gap:12px; max-width: 420px; }
.notice { padding: 12px 14px; border:1px solid #eee; border-radius: 14px; background:#fafafa; }
.footer { border-top: 1px solid #eee; margin-top: 40px; padding: 28px 0; color:#555; font-size: 13px; }

/* Force the navbar brand to be properly bold */
.nav a.brand {
  font-weight: 900 !important;
  font-size: 18px;          /* optional: helps it feel "brand" */
  letter-spacing: -0.03em;  /* optional: tighter like your style */
}