:root {
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#17191c;
  background:#f2f3f5;
  --accent:#01a8ff;
  --ink:#1a1c20;
  --muted:#565d67;
  --line:#e1e4e8;
}
*,*::before,*::after {
  box-sizing:border-box;
}
[hidden] {
  display:none!important;
}
body {
  margin:0;
}
button,input,select {
  font:inherit;
}
button,a,input,select {
  touch-action:manipulation;
}
button {
  cursor:pointer;
  border:1px solid transparent;
  border-radius:10px;
  min-height:46px;
  font-weight:700;
  padding:8px 14px;
}
button:disabled {
  opacity:.48;
  cursor:default;
}
a {
  color:inherit;
}
:focus-visible {
  outline:3px solid #1565c0;
  outline-offset:3px;
}
.top {
  height:76px;
  padding:0 max(24px,calc((100vw - 1380px)/2));
  display:flex;
  align-items:center;
  gap:18px;
  color:#fff;
  background:#080a0c;
}
.brand {
  display:block;
  width:auto;
  max-width:42vw;
  height:49px;
  object-fit:contain;
}
.hero h1 span {
  color:var(--accent);
}
.divider {
  height:29px;
  border-left:1px solid #5a5d63;
}
.shop-label,.location {
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.13em;
}
.staff {
  margin-left:auto;
  display:grid;
  place-items:center;
  min-height:44px;
  font-size:.875rem;
  color:#e0e2e5;
}
.layout {
  max-width:1428px;
  margin:auto;
  padding:25px 24px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(285px,31%);
  gap:22px;
  align-items:start;
}
.hero {
  position:relative;
  overflow:hidden;
  background:linear-gradient(115deg,#1c1f24 20%,#292c32 74%,#143e58);
  color:#fff;
  border-radius:16px;
  padding:27px clamp(20px,4vw,46px);
  min-height:187px;
  display:grid;
  align-content:center;
}
.hero .location {
  color:#bfe7ff;
}
.hero h1 {
  margin:5px 0 4px;
  font-size:clamp(2.6rem,6vw,5rem);
  font-weight:900;
  letter-spacing:-.055em;
  line-height:1;
  text-transform:uppercase;
}
.hero p {
  margin:8px 0 0;
  color:#eceef0;
}
.tabs {
  display:flex;
  gap:8px;
  overflow:auto;
  padding:15px 3px 6px;
}
.tabs button {
  white-space:nowrap;
  background:#fff;
  border-color:var(--line);
  border-radius:999px;
  color:var(--ink);
}
.tabs button[aria-pressed=true] {
  background:var(--ink);
  color:#fff;
}
.catalog-title,.cart-heading,.product-bottom,.amounts div,.line-item {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
}
.catalog-title {
  margin:11px 0;
}
.catalog-title span,.quiet,.test-note span {
  color:var(--muted);
}
h2 {
  font-size:1.35rem;
  margin:0;
  letter-spacing:-.035em;
}
.products {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.product {
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  min-width:0;
}
.product-media {
  position: relative;
  display:grid;
  place-items:center;
  aspect-ratio:1.42;
  background:#e9edf0;
  color:#5b616b;
  font-weight:700;
  text-align:center;
  overflow:hidden;
}
.product-media img {
  position: absolute;
  inset: 0;
  width:100%;
  height:100%;
  object-fit:contain;
}
.product-info {
  padding:12px;
}
.product-info h3 {
  font-size:1rem;
  margin:3px 0 10px;
  overflow-wrap:anywhere;
}
.product-info small {
  font-size:.84rem;
  color:var(--muted);
}
.product-bottom button {
  background:#dff3ff;
  color:#164d70;
  padding:5px 9px;
  min-width:50px;
}
.product-bottom span {
  font-size:.8rem;
  color:var(--muted);
}
.cart {
  position:sticky;
  top:16px;
  background:white;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  scroll-margin-top:16px;
}
.pill {
  font-size:.82rem;
  font-weight:750;
  background:#eeeef1;
  border-radius:999px;
  padding:5px 9px;
  white-space:nowrap;
}
.quiet {
  background:transparent;
  padding-inline:0;
  text-decoration:underline;
}
.cart-items {
  min-height:88px;
  max-height:36vh;
  overflow:auto;
}
.empty {
  padding:18px 0;
  color:var(--muted);
}
.line-item {
  padding:10px 0;
  border-bottom:1px solid var(--line);
  overflow-wrap:anywhere;
}
.line-item small {
  display:block;
  color:var(--muted);
  margin-top:3px;
}
.stepper {
  display:flex;
  align-items:center;
  gap:5px;
}
.stepper button {
  min-width:44px;
  padding:0;
  background:#eff0f2;
  font-size:1.22rem;
}
.amounts div {
  padding:5px 0;
}
.amounts dd {
  margin:0;
  font-variant-numeric:tabular-nums;
}
.amounts .total {
  border-top:1px solid var(--line);
  margin-top:7px;
  padding-top:10px;
  font-size:1.25rem;
  font-weight:850;
}
.primary {
  background:#01a8ff;
  color:#07141d;
  width:100%;
  min-height:50px;
}
.test-note {
  margin-top:13px;
  background:#fff3e6;
  padding:10px;
  border-radius:9px;
  font-size:.85rem;
}
.test-note span {
  display:block;
  margin-top:2px;
}
#cart-status:empty,#catalog-status:empty {
  display:none;
}
.jump {
  display:none;
}
dialog {
  border:0;
  border-radius:16px;
  padding:26px;
  max-width:min(460px,92vw);
}
dialog::backdrop {
  background:#15171ccc;
}
@media(max-width:960px) {
  .products {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:700px) {
  .layout {
    grid-template-columns:1fr;
    padding:14px 14px 85px;
  }
  .top {
    padding:0 14px;
    height:64px;
  }
  .hero {
    min-height:152px;
  }
  .cart {
    position:static;
  }
  .cart-items {
    max-height:none;
  }
  .jump {
    display:block;
    position:fixed;
    bottom:max(12px,env(safe-area-inset-bottom));
    right:14px;
    padding:12px 20px;
    background:#1a1c20;
    color:#fff;
    border-radius:999px;
    text-decoration:none;
    font-weight:750;
    box-shadow:0 3px 15px #0004;
  }
}
@media(max-width:350px) {
  .products {
    grid-template-columns:1fr;
  }
  .shop-label,.divider {
    display:none;
  }
}
