:root {
  --red: #CE1126;
  --red-deep: #9a0c1c;
  --gold: #F4C430;
  --gold-soft: #ffe9a3;
  --black: #1A1A1A;
  --ink: #1A1A1A;
  --paper: #FFF8F2;
  --white: #FFFFFF;
  --muted: #6b5e55;
  --card: #FFFFFF;
  --line: #ead9cf;
  --shadow: 0 10px 30px rgba(26, 26, 26, 0.08);
  --font: "Segoe UI", "Helvetica Neue", sans-serif;
  --serif: "Palatino Linotype", Palatino, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  min-height: 100%;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, .brand span { font-family: var(--serif); font-weight: 600; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,248,242,.94);
  border-bottom: 3px solid var(--red);
  backdrop-filter: blur(10px);
}
.bar {
  display: flex; align-items: center; gap: 24px; min-height: 68px;
  width: min(1120px, calc(100% - 32px)); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; background: #000; }
.nav { display: flex; gap: 14px; flex: 1; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--red); }
.bar-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.who { color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.cart-link strong { color: var(--red); }
.btn, button.btn {
  background: var(--red); color: #fff; border: 0; border-radius: 999px;
  padding: 10px 16px; cursor: pointer; font: inherit; font-weight: 600;
}
.btn:hover { background: var(--red-deep); }
.btn-sm { padding: 7px 12px; font-size: 14px; }
.btn-ghost {
  background: transparent; border: 2px solid var(--black); color: var(--black);
  border-radius: 999px; padding: 8px 14px; cursor: pointer; font: inherit;
}
.btn-gold { background: var(--gold); color: var(--black); }
.hero {
  padding: 48px 0 28px;
  display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: center;
}
.hero-banner {
  background: linear-gradient(135deg, var(--red) 0 38%, #fff 38% 62%, var(--black) 62% 100%);
  border-radius: 20px; padding: 28px; color: #fff; margin: 20px 0 8px;
  box-shadow: var(--shadow);
}
.hero-copy {
  display: inline-block; max-width: 56ch;
  background: rgba(26,26,26,.55);
  border-radius: 16px; padding: 16px 18px;
  backdrop-filter: blur(4px);
}
.hero-banner h1, .hero-banner p, .hero-banner .kicker {
  text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 0 8px rgba(0,0,0,.25);
}
.hero-banner h1 { margin: 0 0 8px; color: #fff; }
.hero-banner p { color: #fff8f2; max-width: 52ch; }
.hero-banner .kicker { color: var(--gold-soft); }
.tabs { display:flex; gap:8px; flex-wrap:wrap; margin: 12px 0 20px; }
.tabs button { border:2px solid var(--line); background:#fff; border-radius:999px; padding:8px 14px; cursor:pointer; font:inherit; }
.tabs button.on { background:var(--red); color:#fff; border-color:var(--red); }
.low { color:var(--red); font-weight:700; }
.picker { border:1px solid var(--line); border-radius:12px; background:#fff; max-height:220px; overflow:auto; }
.picker button { display:block; width:100%; text-align:left; background:none; border:0; padding:8px 10px; cursor:pointer; }
.picker button:hover { background:#fff4ea; }
.ing-row { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }

.kicker { color: var(--red); letter-spacing: .16em; text-transform: uppercase; font-size: 12px; margin: 0 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; padding: 8px 0 48px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-2px); }
.card .ph { aspect-ratio: 1; background: #fff center/cover no-repeat; display: grid; place-items: center; }
.card .ph img { width: 70%; height: 70%; object-fit: contain; }
.card .body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 16px; }
.price { color: var(--red); font-weight: 700; }
.muted { color: var(--muted); font-size: 13px; }
.badge { display: inline-block; background: var(--gold); color: var(--black); border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.site-footer { background: var(--black); color: #f4f0ea; padding: 28px 0 40px; }
.foot { width: min(1120px, calc(100% - 32px)); margin: 0 auto; display: flex; align-items: center; gap: 10px; }
form.stack, .stack { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
label { font-size: 13px; color: var(--muted); }
input, textarea, select {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; font: inherit; width: 100%;
}
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.notice { border: 1px dashed var(--red); padding: 16px; border-radius: 12px; color: var(--muted); background: #fff; }
.page { padding: 28px 0 64px; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.widget {
  background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow);
  border-left: 6px solid var(--gold); margin: 12px 0 32px;
}
.role-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.role-chips a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
@media (max-width: 720px) {
  .hero, .hero-banner { grid-template-columns: 1fr; }
}

.profile-card { background:#fff; border:1px solid var(--line); border-radius:16px; padding:20px; box-shadow:var(--shadow); max-width:640px; }
.avatar-row { display:flex; gap:16px; align-items:center; margin-bottom:16px; }
.avatar { width:88px; height:88px; border-radius:50%; object-fit:cover; background:#CE1126; border:3px solid var(--gold); }
.map-box { height:220px; border-radius:12px; border:1px solid var(--line); margin:8px 0 16px; }
.stack { display:flex; flex-direction:column; gap:12px; max-width:640px; }
.stack label { display:flex; flex-direction:column; gap:6px; font-weight:600; font-size:14px; }
.stack input, .stack textarea, .stack select {
  font:inherit; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:#fff;
}
.notice { background:#fff; border-left:4px solid var(--gold); padding:10px 12px; border-radius:8px; }
.muted { color:var(--muted); }
.table { width:100%; border-collapse:collapse; }
.table th, .table td { text-align:left; padding:8px; border-bottom:1px solid var(--line); }

.install-bar {
  position: sticky; bottom: 0; z-index: 30;
  background: var(--black); color: #fff; padding: 12px 16px;
  display: flex; gap: 12px; align-items: flex-start; justify-content: space-between;
}
.install-bar p { margin: 0; font-size: 13px; max-width: 70ch; }
.thumbs { display:flex; gap:8px; flex-wrap:wrap; }
.thumbs .thumb { position:relative; width:72px; height:72px; }
.thumbs .thumb img { width:72px; height:72px; object-fit:cover; border-radius:8px; }
.thumbs .thumb button { position:absolute; top:-6px; right:-6px; border:0; background:var(--red); color:#fff; border-radius:50%; width:20px; height:20px; cursor:pointer; }
.searchbar { display:flex; gap:8px; margin: 8px 0 16px; }
.searchbar input { flex:1; padding:10px 12px; border:1px solid var(--line); border-radius:12px; font:inherit; }
.shop-tile { display:flex; gap:10px; align-items:center; padding:10px; background:#fff; border:1px solid var(--line); border-radius:14px; }
.shop-tile img { width:48px; height:48px; border-radius:50%; object-fit:cover; }

.cal-week { display:grid; grid-template-columns:repeat(7,minmax(120px,1fr)); gap:8px; overflow:auto; }
.cal-day { background:#fff; border:1px solid var(--line); border-radius:12px; padding:8px; min-width:140px; }
.cal-day h3 { margin:0 0 8px; font-size:14px; }
.slot { margin-bottom:8px; font-size:13px; }
.cal-month { display:grid; grid-template-columns:repeat(7,1fr); gap:6px; }
.cal-cell { background:#fff; border:1px solid var(--line); border-radius:10px; padding:8px; text-align:left; cursor:pointer; min-height:72px; font:inherit; }

.nav-avatar { width:36px; height:36px; border-radius:50%; object-fit:cover; border:2px solid var(--red); background:var(--red); }
.who-link { display:flex; align-items:center; gap:8px; }
@media (max-width: 720px) {
  .bar { flex-wrap: wrap; min-height: auto; padding: 8px 0; }
  .nav { width: 100%; order: 3; }
  .bar-right { margin-left: auto; }
  .who { display:none; }
}
