/* Faustin store and docs. Graphite, bone and amber: the same palette as the pause menu.
   Colours live in :root below. The --g6-* overrides keep the docs (docs.css) on the same theme. */
:root {
  --ink: #1a191d;          /* page */
  --surface: #222126;      /* panels, cards */
  --raised: #2b2a30;       /* hover, inputs, bars */
  --line: rgba(242, 239, 230, .08);
  --line-2: rgba(242, 239, 230, .15);
  --bone: #f2efe6;         /* headings, active */
  --text: #d5d1c7;         /* body */
  --muted: #98948a;        /* labels, meta */
  --accent: #ffb020;       /* amber, used sparingly */
  --accent-ink: #1d1606;   /* text on amber */
  --accent-soft: rgba(255, 176, 32, .12);
  --danger: #e2705f;
  --r: 10px;               /* panels */
  --r-sm: 7px;             /* buttons, inputs */
  --cond: var(--g6-font-cond);
  --sans: var(--g6-font);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --g6-pink: var(--accent);
  --g6-price: var(--bone);
  --g6-panel: var(--surface);
  --g6-panel-deep: var(--surface);
  --g6-panel-bar: var(--raised);
  --g6-border: var(--line-2);
  --g6-border-soft: var(--line);
  --g6-glass: rgba(242, 239, 230, .05);
  --g6-glass-soft: rgba(242, 239, 230, .04);
  --g6-glass-selected: rgba(242, 239, 230, .1);
  --g6-glass-border: var(--line);
  --g6-text-soft: var(--text);
  --g6-text-muted: var(--muted);
  --g6-text-location: var(--muted);
  --g6-danger: var(--danger);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 130px; scrollbar-color: #3a383f var(--ink); scrollbar-width: thin; }
html, body { overflow-x: hidden; }
body { background: var(--ink); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; }
.bg { display: none; }
a { color: inherit; text-decoration: none; text-underline-offset: 3px; }
a, button { touch-action: manipulation; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { text-wrap: balance; font-weight: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: var(--ink); } ::-webkit-scrollbar-thumb { background: #3a383f; border-radius: 5px; border: 2px solid var(--ink); }
code { font-family: ui-monospace, Consolas, monospace; font-size: .88em; background: var(--raised); color: var(--bone); padding: 1px 6px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 860px; }
.hide-sm { display: inline; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 70; padding: 10px 14px; background: var(--bone); color: var(--ink); font-weight: 500; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- type ---------- */
.display, .h1, .h2, .h3, .p-name { font-family: var(--cond); font-weight: 700; text-transform: uppercase; color: var(--bone); letter-spacing: .2px; }
.display { font-size: clamp(54px, 6.2vw, 92px); line-height: .9; }
.h1 { font-size: clamp(44px, 5vw, 64px); line-height: .95; }
.h2 { font-size: clamp(34px, 3.6vw, 44px); line-height: 1; }
.h3 { font-size: 28px; line-height: 1.05; }
.h1 .n { font-size: .4em; color: var(--muted); vertical-align: top; margin-left: 4px; }
.lead { font-size: 19px; color: var(--text); max-width: 34em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-family: var(--sans); font-weight: 500; font-size: 15.5px; white-space: nowrap; transition: background 140ms ease, border-color 140ms ease, color 140ms ease; }
.btn:active { transform: translateY(1px); }
.btn.sm { height: 38px; padding: 0 14px; font-size: 14.5px; gap: 8px; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #ffc04d; }
.btn.ghost { border-color: var(--line-2); color: var(--bone); }
.btn.ghost:hover { background: var(--raised); }
.btn[aria-label="Join the Discord"] { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn[aria-label="Join the Discord"]:hover { background: #4752c4; border-color: #4752c4; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent-ink); color: var(--accent); font-size: 12.5px; display: inline-grid; place-items: center; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(26, 25, 29, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.top-in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 24px; height: 62px; padding: 0 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; font-family: var(--cond); font-weight: 700; text-transform: uppercase; color: var(--bone); }
.brand img { width: 40px; height: 40px; }
.brand span { display: flex; flex-direction: column; font-size: 21px; letter-spacing: .5px; line-height: 1; }
.brand small { margin-top: 3px; font-family: var(--sans); font-weight: 500; text-transform: none; font-size: 11.5px; letter-spacing: .3px; color: var(--muted); }
.top-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
#signin.in { border-color: rgba(255, 176, 32, .45); }

.tabs-in { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.tabs-in::-webkit-scrollbar { display: none; }
.tabs a { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color 140ms ease; }
.tabs a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 220ms var(--ease); }
.tabs a:hover { color: var(--bone); }
.tabs a.on { color: var(--bone); }
.tabs a.on::after { transform: none; }
.tag-new { padding: 1px 6px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); font-size: 11.5px; line-height: 1.5; }
.badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; display: inline-grid; place-items: center; }
.badge[hidden] { display: none; }

/* ---------- views and sections ---------- */
.view { padding: 44px 0 0; }
.view[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .view:not([hidden]) { animation: view-in 360ms var(--ease) both; } }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } }
.section { margin-top: 88px; }
.section > .h2 { margin-bottom: 24px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.more { font-size: 15px; font-weight: 500; color: var(--accent); }
.more:hover { text-decoration: underline; }
.page-head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 760px; }
.page-head p { color: var(--muted); font-size: 17px; }
.page-head a { color: var(--accent); }
.ticks { list-style: none; display: grid; gap: 6px; }
.ticks li { position: relative; padding-left: 18px; font-size: 15px; color: var(--text); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); }
.ticks a { color: var(--accent); }
.ticks a:hover { text-decoration: underline; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; color: var(--accent); }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.empty { color: var(--muted); list-style: none; }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-top: 8px; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--text); transition: background 140ms ease; }
.pill b { padding: 2px 9px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 500; font-size: 12.5px; }
.pill:hover { background: var(--surface); }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.hero-video { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line); }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 5px; border-radius: 999px;
  background: rgba(26, 25, 29, .82); backdrop-filter: blur(8px); color: var(--bone); font-size: 14.5px; font-weight: 500; transition: background 140ms ease; }
.play i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 11px; padding-left: 2px; }
.hero-video:hover .play { background: rgba(26, 25, 29, .96); }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 700ms var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 60ms; } .hero-copy > :nth-child(3) { animation-delay: 120ms; } .hero-copy > :nth-child(4) { animation-delay: 180ms; }
  .hero-video { animation: rise 900ms var(--ease) 100ms both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color 140ms ease; }
.card img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.card:hover { border-color: var(--line-2); }
.card-body { flex: 1; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 18px 20px 20px; }
.card-body b { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 28px; line-height: 1; color: var(--bone); }
.card-txt { color: var(--muted); font-size: 15px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.card-foot .price { font-weight: 500; color: var(--bone); }
.card-go { font-size: 14.5px; font-weight: 500; color: var(--accent); }
.card:hover .card-go { text-decoration: underline; }

/* ---------- product pages ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.p-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; border: 1px solid var(--line); }
.p-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.p-buy { display: grid; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.p-name { font-size: clamp(36px, 3.4vw, 46px); line-height: .95; }
.p-sum { color: var(--text); font-size: 15.5px; }
.buybox { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); min-height: 112px; }
.i-price { font-family: var(--cond); font-weight: 700; font-size: 38px; line-height: 1; color: var(--bone); }
.i-price small { font-size: 18px; color: var(--muted); margin-left: 6px; }
.i-price.soon { font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--muted); line-height: 1.5; }
.p-link { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: var(--accent); }
.p-link:hover { text-decoration: underline; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { display: grid; align-content: start; gap: 12px; }
.feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); margin-bottom: 6px; }
.feature h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 1.02; color: var(--bone); }
.feature p { color: var(--text); font-size: 15.5px; }

.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; border-top: 1px solid var(--line); }
.details > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); font-size: 15px; }
.details dd { color: var(--bone); font-size: 15px; }

/* ---------- all scripts (Tebex catalog) ---------- */
.menu { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.menu[hidden] { display: none; }
.list { display: grid; gap: 6px; }
.grp { font-size: 13px; font-weight: 500; color: var(--muted); margin: 12px 0 2px; }
.grp:first-child { margin-top: 0; }
.row { display: flex; align-items: center; gap: 12px; min-width: 0; width: 100%; padding: 8px 12px 8px 8px; text-align: left; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); transition: background 140ms ease, border-color 140ms ease; }
.row:hover { background: var(--raised); }
.row.on { border-color: var(--accent); background: var(--raised); }
.row .thumb { width: 64px; height: 36px; flex: none; border-radius: 4px; background: var(--ink) center / cover; }
.row .nm { flex: 1; min-width: 0; }
.row .nm b { display: block; font-weight: 500; font-size: 15px; color: var(--bone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .nm small { display: block; font-size: 12.5px; color: var(--muted); }
.row .pr { font-weight: 500; font-size: 14.5px; color: var(--bone); }
.info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gallery .main { aspect-ratio: 16 / 9; background: #000 center / contain no-repeat; }
.gallery .thumbs { display: flex; gap: 8px; padding: 12px 20px 0; overflow-x: auto; }
.gallery .thumbs button { width: 92px; height: 52px; flex: none; border-radius: 5px; background: #000 center / cover; border: 2px solid transparent; opacity: .65; }
.gallery .thumbs button.on { border-color: var(--accent); opacity: 1; }
.i-body { padding: 20px 24px 24px; display: grid; gap: 16px; }
.i-cat { font-size: 13.5px; color: var(--muted); }
.i-name { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: clamp(36px, 4vw, 52px); line-height: .95; color: var(--bone); }
.i-buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.i-buy .i-price { margin-right: auto; }
.desc { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--text); }
.desc h1, .desc h2, .desc h3, .desc h4 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; color: var(--bone); font-size: 22px; }
.desc strong, .desc b { color: var(--bone); font-weight: 500; }
.desc blockquote { padding: 10px 14px; background: var(--accent-soft); border-radius: var(--r-sm); }
.desc ul, .desc ol { list-style: none; display: grid; gap: 6px; }
.desc li { position: relative; padding-left: 18px; }
.desc li::before { content: ''; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); }
.desc a { color: var(--accent); text-decoration: underline; }
.desc img { border-radius: var(--r-sm); }
.desc hr { border: 0; border-top: 1px solid var(--line); }
.state { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 240px; color: var(--muted); text-align: center; }
.state[hidden] { display: none; }
.state a { color: var(--accent); text-decoration: underline; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: spin 800ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- news ---------- */
.filters { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.filters button { height: 34px; padding: 0 14px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 500; color: var(--muted); transition: background 140ms ease, color 140ms ease; }
.filters button:hover { color: var(--bone); }
.filters button.on { background: var(--raised); color: var(--bone); }
.news { list-style: none; }
.n-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.n-item[hidden] { display: none; }
.n-item time { font-size: 14.5px; color: var(--muted); padding-top: 3px; }
.n-body { display: grid; gap: 8px; justify-items: start; }
.n-img { display: block; width: 100%; height: auto; margin: 6px 0 4px; border: 1px solid var(--line); border-radius: 6px; background: #1e1f2b; }
.n-tag { font-size: 13px; font-weight: 500; color: var(--accent); }
a.n-tag:hover { text-decoration: underline; }
.n-body h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 28px; line-height: 1.02; color: var(--bone); }
.n-body h3 a:hover { color: var(--accent); }
.n-body p { color: var(--text); max-width: 60ch; }
.n-body .ticks { margin-top: 4px; }
.news.compact { border-top: 1px solid var(--line); }
.news.compact .n-item { padding: 20px 0; }
.news.compact .n-body h3 { font-size: 23px; }

/* ---------- support ---------- */
.support { margin-top: 56px; max-width: 860px; }
.dc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 44px; border-radius: var(--r); border: 1px solid rgba(124, 135, 255, .55);
  background: radial-gradient(700px 420px at 100% 100%, rgba(124, 135, 255, .35), transparent 65%), linear-gradient(135deg, #5865f2, #2f3190 75%); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.dc-mark { font-size: 42px; color: #fff; }
.dc .h2 { margin-top: 14px; color: #fff; font-size: clamp(44px, 5.4vw, 70px); }
.dc-copy p { margin-top: 12px; max-width: 460px; font-size: 17.5px; color: rgba(255, 255, 255, .9); }
.dc-btn { margin-top: 24px; background: #fff; color: #2f3190; }
.dc-btn:hover { background: #e9eaff; }
.dc-list { display: grid; gap: 10px; list-style: none; }
.dc-list li { display: flex; gap: 14px; padding: 16px; background: rgba(20, 18, 40, .35); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r-sm); }
.dc-list i { width: 20px; margin-top: 4px; text-align: center; color: #fff; }
.dc-list b { display: block; font-weight: 500; font-size: 16.5px; color: #fff; }
.dc-list span { display: block; margin-top: 2px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.faq .h3 { margin-bottom: 12px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 500; font-size: 16.5px; color: var(--bone); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: '\2013'; }
details p { padding: 0 0 18px; color: var(--text); font-size: 15.5px; max-width: 62ch; }

/* ---------- footer ---------- */
.foot { margin-top: 110px; padding: 36px 0 44px; border-top: 1px solid var(--line); }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.f-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--bone); }
.f-brand img { width: 28px; height: 28px; }
.f-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; color: var(--muted); }
.f-links a:hover { color: var(--bone); }
.f-legal { margin-top: 22px; display: grid; gap: 8px; font-size: 13.5px; color: var(--muted); }
.f-legal .tebex { max-width: 760px; line-height: 1.6; }
.f-legal .tebex b { color: var(--text); font-weight: 500; }
.f-legal .tebex a { color: var(--text); text-decoration: underline; margin-left: 10px; }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(10, 9, 12, .6); }
.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(420px, 100vw); display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 260ms var(--ease); }
.cart.open { transform: none; box-shadow: -30px 0 80px rgba(0, 0, 0, .45); }
.c-head { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 14px 10px 20px; border-bottom: 1px solid var(--line); font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 24px; color: var(--bone); }
.c-n { font-family: var(--sans); font-weight: 400; text-transform: none; font-size: 14px; color: var(--muted); }
.c-head .x { margin-left: auto; width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--muted); }
.c-head .x:hover { background: var(--raised); color: var(--bone); }
.c-user { padding: 16px 20px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
.c-user .who { display: flex; align-items: center; gap: 10px; color: var(--bone); font-weight: 500; }
.c-user .who i { color: var(--accent); }
.c-lines { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 14px 20px; display: grid; align-content: start; gap: 8px; }
.c-line { display: flex; align-items: center; gap: 12px; padding: 8px; background: var(--raised); border-radius: var(--r-sm); }
.c-line .thumb { width: 64px; height: 36px; flex: none; border-radius: 4px; background: var(--ink) center / cover; }
.c-line .nm { flex: 1; min-width: 0; font-weight: 500; font-size: 14.5px; color: var(--bone); line-height: 1.3; }
.c-line .pr { font-weight: 500; font-size: 14.5px; color: var(--bone); }
.c-line .rm { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 5px; color: var(--muted); }
.c-line .rm:hover { color: var(--danger); }
.c-empty { padding: 30px 6px; text-align: center; color: var(--muted); }
.c-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.c-total { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); }
.c-total b { font-family: var(--cond); font-weight: 700; font-size: 32px; color: var(--bone); }
.c-note { text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; max-width: min(560px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; background: var(--raised); border: 1px solid var(--line-2); border-radius: var(--r);
  color: var(--bone); font-size: 15px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); transition: opacity 200ms ease, transform 200ms var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast i { color: var(--accent); }
.toast.error i { color: var(--danger); }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  #signin-label { display: none; }
}
@media (max-width: 980px) {
  .hero, .product, .menu, .dc { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 28px; }
  .hero-video { order: -1; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .details { grid-template-columns: minmax(0, 1fr); }
  .section { margin-top: 64px; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .top-in { gap: 12px; padding: 0 14px; height: 56px; }
  .tabs-in { padding: 0 6px; }
  .tabs a { padding: 0 10px; height: 42px; }
  .tabs a::after { left: 10px; right: 10px; }
  .hide-sm { display: none; }
  .top-right { gap: 6px; }
  .btn.sm { padding: 0 11px; }
  .brand small { display: none; }
  .brand img { width: 34px; height: 34px; }
  .view { padding-top: 24px; }
  .lead { font-size: 17px; }
  .ctas { justify-self: stretch; }
  .ctas .btn { flex: 1 1 100%; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card-body b { font-size: 24px; }
  .sec-head { margin-bottom: 18px; }
  .p-buy { padding: 20px; }
  .dc { padding: 26px 20px; gap: 24px; }
  .dc-btn { width: 100%; }
  .details > div { grid-template-columns: 110px minmax(0, 1fr); }
  .n-item { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 22px 0; }
  .n-body h3 { font-size: 24px; }
  .filters { display: flex; }
  .filters button { flex: 1 1 auto; }
  .foot { margin-top: 80px; }
}
