:root {
  color-scheme: dark;
  --bg: #0b101d;
  --surf: #131b2e;
  --ink: #f1f4ff;
  --mute: #a9b6d0;
  --line: #2a354f;
  --acc: #a7baff;
  --accsoft: #202e50;
  --display: 'Unbounded', system-ui, sans-serif;
}

html { scroll-padding-top: calc(88px + env(safe-area-inset-top, 0px)); }
body { font-family: 'DM Sans', system-ui, sans-serif; }
h1, h2, h3, .logo, .pr, .price-hero { font-family: var(--display); }
h1, h2, h3 { letter-spacing: -.045em; }
.wrap { max-width: 1360px; padding-inline: clamp(18px, 4.2vw, 64px); }
header { background: rgb(11 16 29 / .93); }
.bar { height: 76px; gap: clamp(12px, 2.2vw, 34px); }
.shop-brand { gap: 11px; flex: none; }
.shop-brand .brand-image { width: 42px; height: 42px; }
.shop-brand-name { font-size: .77rem; max-width: 16ch; line-height: 1.4; }
nav { margin-left: 0; }
nav a { color: var(--mute); font-size: .88rem; white-space: nowrap; }
.search { margin-left: auto; min-width: 0; position: relative; }
.search::before {
  content: ''; position: absolute; inset: 50% auto auto 15px;
  width: 10px; height: 10px; border: 1.5px solid var(--mute);
  border-radius: 50%; transform: translateY(-63%); pointer-events: none;
}
.search::after {
  content: ''; position: absolute; left: 25px; top: calc(50% + 4px);
  width: 5px; height: 1.5px; background: var(--mute); transform: rotate(46deg);
  pointer-events: none;
}
.search input { padding: 10px 12px 10px 40px; font-size: .9rem; border-radius: 11px; }
.search input::placeholder { color: var(--mute); }
.cartbtn {
  background: var(--surf); color: var(--ink); border: 1px solid var(--line);
  border-radius: 11px; min-height: 44px; padding: 8px 12px; font-size: .88rem;
}
.cartbtn b { background: var(--acc); color: var(--bg); }

.hero { padding-top: clamp(16px, 2.8vw, 40px); padding-bottom: 0; }
.stage {
  min-height: clamp(460px, 41vw, 565px); isolation: isolate;
  grid-template-columns: 1.12fr 1fr; gap: 0; border: 1px solid var(--line);
  padding: 0; border-radius: 25px; background: #0c1222; transition: none;
}
.stage::before { display: none; }
.stage::after {
  inset: 0; width: auto; height: auto; border-radius: 0; z-index: -1;
  background: radial-gradient(ellipse at 82% 56%, color-mix(in srgb, var(--feature) 29%, #0d1323), #0d1323 61%);
}
.stage.has-portrait::after { display: none; }
.hero-copy { padding: clamp(26px, 5vw, 73px); padding-right: 0; }
.hero h1 {
  font-size: clamp(2.2rem, 4.35vw, 4.4rem); line-height: 1.08;
  font-weight: 700; max-width: 13ch; text-wrap: balance;
}
.hero p { color: #c6d1e8; opacity: 1; font-size: clamp(.95rem, 1.3vw, 1.08rem); margin: 21px 0 30px; }
.hero .cta { gap: 12px 20px; }
.btn, .go { border-radius: 10px; }
.stage .btn, .go, .tot .btn { background: var(--acc); color: #0b1020; }
.stage .btn:hover, .go:hover, .tot .btn:hover { background: #c2cfff; }
.price-hero { font-size: .77rem; color: #dbe4fb; }
.art-hero {
  animation: none; filter: none; z-index: -1; width: 100%; max-width: none;
  align-self: stretch; display: grid; place-items: center; position: relative;
}
.art-hero > :is(img,svg) { width: min(82%, 420px); max-height: 390px; object-fit: contain; }
.art-hero > svg { filter: drop-shadow(0 28px 22px #050916b3); }
.has-portrait .art-hero { position: absolute; inset: 0; }
.has-portrait .art-hero img {
  display: block; width: auto; height: 100%; max-height: none; max-width: 100%;
  object-fit: cover; object-position: right; position: absolute; right: 0;
}
.has-portrait .art-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #090e1a 7%, #090e1af7 23%, #090e1a94 43%, transparent 69%);
}

.tabs {
  margin: 0 0 26px; gap: 0; z-index: auto; border-bottom: 1px solid var(--line);
}
.tabs button {
  border-radius: 0; background: transparent; color: var(--mute); font-size: .85rem;
  padding: 10px 15px 12px; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs button:hover, .tabs button[aria-pressed=true] { color: var(--ink); background: transparent; }
.tabs button[aria-pressed=true] { border-bottom-color: var(--acc); }
.perks { gap: 0; margin: 0; border-bottom: 1px solid var(--line); }
.perks div {
  border: 0; border-radius: 0; background: transparent;
  padding: 20px clamp(9px, 2vw, 23px); font-size: .83rem;
}
.perks div + div { border-left: 1px solid var(--line); }
.perks b { font-weight: 700; font-size: .89rem; }
section.shop { padding: clamp(40px, 5vw, 70px) 0 52px; }
.head { align-items: center; margin-bottom: 21px; }
.head h2 { font-size: clamp(1.43rem, 3vw, 2.3rem); }
.chips button { font-size: .84rem; background: transparent; }
.chips button[aria-pressed=true] { background: var(--acc); border-color: var(--acc); color: var(--bg); }
.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.card { padding: 0; overflow: hidden; border-radius: 17px; transition: border-color .18s; }
.card:hover { transform: none; border-color: var(--acc); }
.thumb {
  background: radial-gradient(ellipse at 52% 43%, color-mix(in srgb, var(--c) 28%, #182440), #11192d 72%);
  border-radius: 0; border-bottom: 1px solid var(--line); overflow: hidden;
}
.thumb svg { width: 77%; filter: drop-shadow(0 8px 10px #0008); }
.thumb img { width: 78%; max-height: 95%; }
.tag { background: #253351; color: #f2f5ff; border-radius: 5px; left: 11px; top: 11px; font-size: .7rem; z-index: 1; }
.card h3 { font-size: clamp(.75rem, 1.08vw, .98rem); line-height: 1.5; margin: 14px 14px 3px; }
.card .sub { font-size: .77rem; margin: 0 14px 13px; }
.row { padding: 0 13px 13px; gap: 4px; }
.pr { font-size: clamp(.78rem, 1.2vw, 1.08rem); }
.pr s { font-family: 'DM Sans', sans-serif; }
.add { width: 34px; height: 34px; border-radius: 8px; background: var(--accsoft); color: var(--acc); flex: none; }
.add:hover { background: var(--acc); color: var(--bg); transform: none; }
.visit { background: #121c31; border-radius: 17px; margin-bottom: 42px; }
.visit h2 { font-size: clamp(1rem, 2.8vw, 1.45rem); }
footer { background: #0d1323; font-size: .82rem; }
.drawer { visibility: hidden; border-left: 1px solid var(--line); }
body.open .drawer { visibility: visible; }
.toast { max-width: calc(100% - 24px); width: max-content; visibility: hidden; text-align: center; }
.toast.on { visibility: visible; }
.dt .big { background: radial-gradient(ellipse, color-mix(in srgb, var(--c) 28%, #182440), #11192d 72%); }
.dt .brand { color: var(--acc); }
.co, .ped { max-width: 640px; background: var(--surf); border: 1px solid var(--line); border-radius: 17px; padding: clamp(18px, 3vw, 32px); }
.co .cf h1, .ah { font-size: clamp(1.3rem, 4vw, 2rem); }
.cf :is(input, select, textarea) { background: var(--bg); min-width: 0; }
#logout { background: var(--surf); color: var(--ink); border: 1px solid var(--line); margin-bottom: 15px; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .art-hero { max-width: none; margin: 0; }
  .bar { gap: 14px; }
  nav a { padding-inline: 7px; }
}
@media (max-width: 860px) {
  .stage { min-height: 400px; grid-template-columns: 1.23fr 1fr; }
  .bar nav { display: none; }
  .search { max-width: 380px; }
  .perks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  html { scroll-padding-top: calc(122px + env(safe-area-inset-top, 0px)); }
  .bar { height: auto; padding-block: 9px; display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; }
  .bar .search { grid-row: 2; grid-column: 1 / -1; width: 100%; max-width: none; margin: 0; }
  .cartbtn { grid-column: 2; grid-row: 1; }
  .shop-brand-name { max-width: none; }
  .search input { padding-block: 8px; }
  .stage { grid-template-columns: minmax(0, 1fr); border-radius: 17px; }
  .art-hero, .has-portrait .art-hero {
    position: relative; inset: auto; grid-row: 1; height: clamp(180px, 53vw, 280px); overflow: hidden;
  }
  .art-hero > :is(img,svg) { height: 91%; width: 85%; }
  .has-portrait .art-hero img { width: 100%; height: 100%; object-position: right top; }
  .has-portrait .art-hero::after { background: linear-gradient(0deg, #0c1222, transparent 35%); }
  .hero-copy { padding: 0 18px 23px; min-width: 0; }
  .hero h1 { font-size: clamp(1.83rem, 7.5vw, 2.6rem); }
  .hero p { margin: 13px 0 18px; }
  .tabs { margin-bottom: 18px; }
  .tabs button { padding: 8px 10px; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks div:nth-child(3) { border-left: 0; }
  .perks div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .perks div { padding: 11px 8px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .card h3 { margin-inline: 9px; }
  .card .sub { margin-inline: 9px; }
  .row { padding: 0 8px 8px; }
  .pr s { display: block; margin-left: 0; font-size: .68rem; }
  .tag { left: 6px; top: 6px; padding-inline: 6px; font-size: .63rem; }
  .visit { padding: 20px; }
}
@media print {
  :root { color-scheme: light; --mute: #444; }
  #logout { display: none !important; }
}
