:root {
  --ink: #0c1730;
  --muted: #5a6b86;
  --paper: #e8eefb;
  --card: #f6f8ff;
  --line: #c5d2ee;
  --accent: #1a4cff;
  --accent-2: #6eb4ff;
  --gold: #1a4cff;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --serif: "IBM Plex Serif", Georgia, serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); min-height: 100dvh; }
[hidden] { display: none !important; }
.top {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line);
  background: var(--card);
}
.brand { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 0.65rem; }
.brand-txt { display: flex; flex-direction: column; }
.brand span { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.brand strong { font-family: var(--serif); font-size: 1.6rem; }
.top-logo { height: 2.6rem; width: auto; max-width: 8rem; object-fit: contain; }
.tag { color: var(--muted); flex: 1; font-style: italic; font-family: var(--serif); }
.cart-btn {
  appearance: none; font: inherit; cursor: pointer;
  border: 1px solid var(--accent); background: var(--accent); color: #fff;
  border-radius: 999px; padding: 0.45rem 0.9rem;
}
.cart-btn b { margin-left: 0.25rem; }
main { padding: 1.2rem 1.4rem 4rem; max-width: 72rem; margin: 0 auto; }
.lead { color: var(--danger, #c81e3a); margin-bottom: 1rem; }
.cats { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1rem; }
.cats button {
  appearance: none; font: inherit; cursor: pointer; border-radius: 99px;
  border: 1px solid var(--line); background: var(--card); padding: 0.35rem 0.75rem;
}
.cats button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.8rem; }
.item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem; display: flex; flex-direction: column; gap: 0.35rem;
}
.item .ic { font-size: 2rem; }
.item .pic { width: 100%; height: 10rem; object-fit: cover; border-radius: 8px; background: #dce6f7; }
.pic-btn {
  appearance: none; border: 0; padding: 0; background: transparent;
  cursor: pointer; position: relative; display: block; width: 100%;
  font: inherit; color: inherit; text-align: left;
}
.pic-btn .pic { display: block; }
.pic-btn .more {
  position: absolute; right: 0.45rem; bottom: 0.45rem;
  background: rgba(5, 13, 34, 0.72); color: #fff;
  font-size: 0.72rem; padding: 0.12rem 0.4rem; border-radius: 99px;
}
.lightbox {
  border: 0; padding: 0.8rem 0.9rem 1rem;
  width: min(52rem, 96vw); background: #050d22; color: #e8f0ff;
  border-radius: 12px;
}
.lightbox::backdrop { background: rgba(5, 13, 34, 0.72); }
.lb-x { float: right; color: #e8f0ff; border-color: #1a4cff; }
.lb-row { display: flex; align-items: center; gap: 0.5rem; clear: both; }
.lb-nav {
  flex: 0 0 auto; width: 2.4rem; height: 2.4rem; font-size: 1.6rem; line-height: 1;
  color: #e8f0ff; border-color: #1a4cff;
}
#lb-stage { flex: 1; min-height: 14rem; display: flex; align-items: center; justify-content: center; }
#lb-stage img, #lb-stage video { max-width: 100%; max-height: 72dvh; border-radius: 8px; background: #050d22; }
#lb-cap { margin-top: 0.55rem; color: #9db6ff; font-size: 0.9rem; text-align: center; }
.item h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.item p { color: var(--muted); font-size: 0.9rem; min-height: 2.4em; }
.al-chips { display: flex; flex-wrap: wrap; gap: 0.22rem; }
.al-chips span {
  font-size: 0.7rem; font-weight: 600;
  background: #dce6f7; color: #1a4cff; border-radius: 99px;
  padding: 0.1rem 0.4rem;
}
.al-chips .al-note { background: #e8eefb; color: var(--muted); font-weight: 500; }
.cline .al-chips { margin-top: 0.2rem; }
.item .pr { font-weight: 600; margin-top: auto; }
.item .warr { min-height: 0; font-size: 0.72rem; color: var(--muted); }
.item button {
  appearance: none; font: inherit; cursor: pointer; margin-top: 0.4rem;
  background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 0.5rem;
}
.item button:disabled { background: #c5d2ee; cursor: not-allowed; }
.drawer {
  position: fixed; inset: 0; background: rgba(5, 13, 34, 0.4);
  display: flex; justify-content: flex-end; z-index: 10;
}
.drawer-in {
  width: min(30rem, 100%); background: var(--card); height: 100%;
  padding: 1.1rem; overflow: auto; box-shadow: -12px 0 40px rgba(12, 28, 72, 0.12);
}
.drawer-in header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
.drawer-in h2 { font-family: var(--serif); }
.ghost { appearance: none; font: inherit; background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 0.3rem 0.55rem; cursor: pointer; }
.cline { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.tot { font-family: var(--serif); font-size: 1.25rem; margin: 0.8rem 0; }
.ship-box {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.65rem 0.75rem 0.55rem; margin: 0.7rem 0 0.2rem;
}
.ship-box legend { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 0 0.25rem; }
.ship-opt { display: flex; align-items: center; gap: 0.45rem; padding: 0.28rem 0; font-size: 0.92rem; cursor: pointer; }
.ship-opt b { margin-left: auto; font-size: 0.88rem; }
.ship-hint { font-size: 0.78rem; color: var(--muted); margin-top: 0.25rem; min-height: 1.1em; }
.break { margin: 0.7rem 0 0.9rem; }
.break p { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.9rem; padding: 0.18rem 0; }
.break .tot { font-size: 1.2rem; margin: 0.35rem 0 0; border-top: 1px solid var(--line); padding-top: 0.4rem; }
#addr-fields.need { outline: 1px solid #9db6ff; border-radius: 8px; padding: 0.45rem 0.5rem 0.15rem; margin: 0.1rem 0; }
.legal {
  max-width: 72rem; margin: 0 auto; padding: 0 1.4rem 2rem;
  font-size: 0.75rem; color: var(--muted); line-height: 1.45;
}
#form-order { display: flex; flex-direction: column; gap: 0.45rem; }
#form-order label { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.8rem; color: var(--muted); }
#form-order input { font: inherit; padding: 0.45rem 0.5rem; border: 1px solid var(--line); border-radius: 6px; }
#form-order .row2 { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.45rem; }
.primary { appearance: none; font: inherit; cursor: pointer; background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 0.7rem; font-weight: 600; }
.fine { font-size: 0.78rem; color: var(--muted); margin-top: 0.7rem; line-height: 1.4; }
.toast { position: fixed; bottom: 1rem; right: 1rem; background: #050d22; color: #fff; padding: 0.65rem 0.9rem; border-radius: 8px; z-index: 20; }
