/*
 * storefront.css: the design layer of this theme, loaded after built.css.
 *
 * GENERATED by tools/port-css.mjs. Do not edit this file by hand:
 *   - measured design rules come from ../src/styles/*.css (see ../design-spec.md)
 *   - tokens and Canvas compatibility come from tools/storefront-head.css
 *   - theme-only additions come from tools/css/*.css
 * Every class is prefixed "g-" so it can never collide with Canvas ("sa-*") or Tailwind classes.
 */

:root {
  /* Design tokens, mapped onto the Canvas tokens so the SellAuth colour, radius and width settings keep working. */
  --color-page: rgb(var(--cl-background));
  --color-area: rgb(var(--cl-surface));
  --color-area-light: rgb(var(--cl-surface-raised));
  --color-area-lighter: rgb(var(--g-surface-top, 44, 49, 61));
  --color-header: #0c0e12;
  --color-brand: rgb(var(--cl-accent));
  --color-brand-soft: color-mix(in srgb, rgb(var(--cl-accent)) 72%, #fff);
  --color-muted: rgb(var(--g-text-body, 104, 111, 125));
  --color-muted-dark: #5f6673;
  --color-ink: rgb(var(--cl-t-primary));

  --color-undetected: #09ff00;
  --color-updating: #ffd966;
  --color-detected: #f44336;
  --color-development: #2986cc;
  --color-price: #15d32e;
  --color-feature: #49b977;
  --color-discord: #5865f2;

  --radius-box: var(--radius-input, 5px);
  --radius-pill: 100vw;

  --container: var(--container-max, 1600px);
  --gutter: 15px;
  --gap: 26px;
  --header-top: 100px;
  --header-nav: 80px;
  --sidebar: 350px;
  --line: rgb(var(--cl-surface-raised));
  --line-strong: var(--color-area-lighter);
  --shadow-box: 0 2px 4px -1px rgba(var(--cl-surface), 0.1);
  --focus-ring: 0 0 0 4px rgba(var(--cl-accent), 0.35);
  --ease-button: all 0.4s ease 0s;
  --tabbar-height: 61px;
}

/* ───────── base ───────── */
html {
  min-height: 100%;
}

/*
 * Horizontal clipping sits on the app root, not on <body>: SellAuth locks scrolling with an inline
 * "overflow" on <body>, which a stylesheet rule there would fight. "clip" keeps sticky and fixed elements working.
 */
#app {
  overflow-x: clip;
}

/* Text defaults of the design (13px / 1.5, grey body text). Scoped, so untouched Canvas sections keep theirs. */
.g-scope {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
}

/* :where() keeps these defaults at zero specificity, so any component class overrides them. */
:where(.g-scope) b,
:where(.g-scope) strong {
  font-weight: 700;
}

:where(.g-scope) a {
  color: inherit;
  text-decoration: none;
}

:where(.g-scope) :focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

::selection {
  background: rgba(var(--cl-accent), 0.45);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--color-page);
  background: var(--color-brand);
}

::-webkit-scrollbar-track {
  background: var(--color-page);
}

@media (prefers-reduced-motion: reduce) {
  .g-scope *,
  .g-scope *::before,
  .g-scope *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Canvas containers share the design's 15px gutter, so untouched pages line up with the new header and footer. */
.wrap {
  padding-inline: var(--gutter);
}


/* ═════════ shared primitives (from src/styles/globals.css) ═════════ */
/* Shared container: max 1600px with a 15px gutter (content 1570px at 1920). */

.g-wrap {
    position: relative;
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
  }

.g-box {
    background: var(--color-area);
    border-radius: var(--radius-box);
    box-shadow: var(--shadow-box);
  }

.g-accent {
    color: var(--color-brand);
  }

.g-sr-only-focusable:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

.g-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 30000;
    padding: 10px 14px;
    border-radius: var(--radius-box);
    background: var(--color-brand);
    color: rgb(var(--cl-on-accent));
    font-weight: 600;
  }

.g-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border: 1px solid var(--color-brand);
    border-radius: var(--radius-box);
    background: var(--color-brand);
    color: rgb(var(--cl-on-accent));
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    transition: var(--ease-button);
  }

.g-btn-primary:hover:not(:active):not(:disabled) {
    background-image: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
  }

.g-btn-primary:disabled {
    opacity: 0.6;
  }

.g-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3em;
    padding: 0.75em 1em;
    border-radius: var(--radius-pill);
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
  }

.g-status-pill i {
    font-size: 12px;
    line-height: 1;
  }

/* ═════════ header.css ═════════ */
/* ───────── Header (design-spec.md → Header) ───────── */
.g-hdr {
  position: relative;
  z-index: 10;
}

/* Row 1: logo + account links, 100px, transparent over the page with a dot grid. */
.g-hdr-top {
  position: relative;
  z-index: 40;
  height: var(--header-top);
}

.g-hdr-top::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -10;
  background-image: radial-gradient(circle, rgba(34, 38, 47, 0.3) 10%, rgba(255, 255, 255, 0) 5%);
  background-size: 20px 20px;
  pointer-events: none;
}

.g-hdr-top > .g-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/*
 * Blue glow behind the logo. It is positioned against the container (so it follows the logo) but
 * clipped by the full-width row, which is why it fades out to the left instead of being cut off.
 * It lives in its own layer so the account dropdowns are never clipped.
 */
.g-hdr-glow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.g-hdr-glow > .g-wrap {
  height: 100%;
}

.g-hdr-glow > .g-wrap::before {
  content: "";
  position: absolute;
  top: -130px;
  left: -50px;
  z-index: 1;
  width: 500px;
  height: 150px;
  border-radius: 100vw;
  background: var(--color-brand);
  filter: blur(50px);
  mix-blend-mode: color-dodge;
  opacity: 0.5;
}

.g-hdr-logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 13px 0;
  color: #fff;
}

.g-usernav {
  position: relative;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 15px;
  font-weight: 700;
}

.g-usernav-signin {
  position: relative;
  margin-right: 12px;
}

.g-usernav-toggle {
  display: inline-flex;
  align-items: center;
  padding-top: 1px;
  font-size: 13px;
  line-height: 13px;
  font-weight: 500;
  color: var(--color-muted);
  white-space: nowrap;
}

.g-usernav-toggle:hover {
  color: #fff;
}

.g-usernav-caret {
  margin-left: 6.9px;
  height: 15px;
  transition: transform 0.18s ease;
}

.g-usernav-toggle[aria-expanded="true"] .g-usernav-caret {
  transform: rotate(180deg);
}

.g-usernav-register {
  position: relative;
  margin-right: 26px;
}

.g-usernav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  margin-right: 4px;
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  color: #fff;
  transition: background 0.15s linear;
}

.g-usernav-cart:hover {
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

.g-usernav-cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  font-size: 10px;
  line-height: 18px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 0 0 2px var(--color-page);
}

/* Row 2: navigation + search, 80px. */
.g-hdr-nav {
  position: relative;
  z-index: 20;
  height: var(--header-nav);
  background: var(--color-area);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.g-hdr-nav > .g-wrap {
  display: flex;
  align-items: center;
  height: 100%;
}

.g-nav {
  position: relative;
  z-index: 2000;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
}

.g-nav-list {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
}

.g-nav-item {
  position: relative;
  display: flex;
  flex: 0 0 auto;
}

.g-nav-item[data-overflow="true"] {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}

.g-nav-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 18.75px;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
}

.g-nav-item:first-child > .g-nav-link {
  padding-left: 0;
}

/* Top indicator: 0 → 35px on hover and on the active page. */
.g-nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 1px;
  background: var(--color-brand);
  box-shadow: 0 3px 10px var(--color-brand);
  transition: 0.5s;
}

.g-nav-link:hover::before,
.g-nav-item[data-active="true"] > .g-nav-link::before {
  width: 35px;
}

/* 1px × 20px divider on the right edge of every item except the last visible one. */
.g-nav-link::after {
  content: "";
  position: absolute;
  top: 30px;
  right: 0;
  width: 1px;
  height: 20px;
  background: var(--color-area-lighter);
}

.g-nav-item[data-last="true"] > .g-nav-link::after {
  display: none;
}

.g-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 16px;
  line-height: 1;
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.g-nav-icon i {
  font-size: 16px;
  line-height: 1;
}

.g-nav-link:hover .g-nav-icon,
.g-nav-item[data-active="true"] > .g-nav-link .g-nav-icon {
  color: var(--color-brand);
}

.g-nav-chevron {
  width: 12px;
  height: 12px;
  margin-left: 8px;
  color: var(--color-muted);
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

.g-nav-link[aria-expanded="true"] .g-nav-chevron {
  transform: rotate(0deg);
}

/* Products Info / More dropdown. */
.g-nav-menu {
  position: absolute;
  top: 80px;
  left: 0;
  z-index: 2100;
  min-width: 220px;
  margin-top: 10px;
  padding: 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: #191c23;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.g-nav-menu a,
.g-nav-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 18px;
  color: #d8deef;
  font-size: 13px;
  line-height: 19.5px;
  text-align: left;
  white-space: nowrap;
}

.g-nav-menu a:hover,
.g-nav-menu a:focus-visible,
.g-nav-menu button:hover {
  color: var(--color-brand);
}

/* Search box: 350 × 50. */
.g-search {
  position: relative;
  flex: 0 0 350px;
  width: 350px;
  height: 50px;
  border: 1px solid var(--color-area-lighter);
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.g-search-form {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 6.5px 0;
  border-radius: var(--radius-box);
}

.g-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 35px;
  padding: 0 16px;
}

.g-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 35px;
  padding: 0 16px 0 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  outline: 0;
}

.g-search-input::placeholder {
  color: #939cb1;
  font-size: 15px;
  opacity: 1;
}

.g-search-scope {
  position: relative;
  flex: 0 0 auto;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s linear;
}

.g-search:focus-within .g-search-scope,
.g-search-scope[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.g-search-scope-button {
  display: flex;
  align-items: center;
  height: 35px;
  margin-right: 6.5px;
  padding: 6.5px 13px;
  border-radius: var(--radius-box);
  background: var(--color-area-light);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}

.g-search-scope-button::after {
  content: "";
  margin-left: 7.8px;
  border: 4px solid transparent;
  border-top-color: #fff;
  border-bottom-width: 0;
}

.g-search-scope-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 2000;
  min-width: 180px;
  padding: 5px;
  border-radius: 4px;
  background: var(--color-area);
  color: var(--color-muted);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1);
}

.g-search-scope-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0.6em;
  border-radius: 4px;
  font-size: 13px;
  text-align: left;
}

.g-search-scope-option:hover {
  background: var(--color-area-light);
}

.g-search-scope-option[aria-checked="true"] {
  color: #fff;
}

.g-search-suggest {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 1200;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: var(--color-area);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.g-search-suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #fff;
}

.g-search-suggest-item + .g-search-suggest-item {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.g-search-suggest-item:hover,
.g-search-suggest-item[data-active="true"] {
  background: rgba(255, 255, 255, 0.04);
}

.g-search-suggest-meta {
  flex: 0 0 auto;
  color: var(--color-brand);
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
}

.g-search-suggest-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 21px;
  font-weight: 500;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-search-suggest-empty {
  padding: 14px 16px;
  color: #c7d0e0;
  font-size: 13px;
}

/* ≤979px: desktop navigation, search and account links are hidden (the bar itself stays). */
@media (max-width: 979px) {
  .g-usernav,
  .g-nav,
  .g-search {
    display: none;
  }
}

/* ───────── Bottom tab bar (≤767px on the reference; see site.layout.tabBarMaxWidth) ───────── */
.g-tabbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #111318;
}

.g-tabbar[data-visible="true"] {
  display: block;
}

.g-tabbar ul {
  display: flex;
  align-items: stretch;
  height: 60px;
}

.g-tabbar li {
  display: flex;
  flex: 1 1 0%;
}

.g-tabbar a {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 2px 8px;
  color: #8b93a7;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}

.g-tabbar a i {
  font-size: 17px;
  line-height: 1;
}

.g-tabbar a:hover,
.g-tabbar a[aria-current="page"] {
  color: #fff;
}

.g-tabbar li[data-accent="true"] a {
  color: var(--color-brand);
}

.g-tabbar li[data-accent="true"] a:hover {
  color: var(--color-brand-soft);
}

body[data-tabbar="true"] {
  padding-bottom: var(--tabbar-height);
}


/* ═════════ layout.css ═════════ */
/* ───────── Hero ───────── */
.g-hero {
  position: relative;
  margin-bottom: -55px;
  padding: 78px 0 120px;
  overflow: hidden;
  background: var(--color-page);
}

.g-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.g-hero-art > img,
.g-hero-art > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100px;
  background: linear-gradient(to top, var(--color-page), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.g-hero > .g-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 1;
}

.g-hero-title {
  margin: 0 0 0.25em;
  color: #fff;
  font-size: clamp(30px, 3vw, 60px);
  line-height: 1.2;
  font-weight: 700;
}

.g-hero-title b {
  color: var(--color-brand);
  font-weight: 700;
}

.g-hero-desc {
  max-width: 900px;
  color: var(--color-muted);
  font-size: 21px;
  line-height: 1.5;
}

/* ───────── Page shell ───────── */
.g-page {
  position: relative;
  z-index: 1;
}

.g-crumbs {
  position: relative;
  display: flex;
  align-items: center;
  height: 55px;
  margin: 26px 0;
  overflow: hidden;
  border-radius: var(--radius-box);
  background: rgba(34, 38, 47, 0.7);
  backdrop-filter: blur(15px);
  color: var(--color-muted);
  font-size: 13px;
}

.g-crumbs-list {
  display: flex;
  flex: 1 1 100%;
  align-items: center;
  min-width: 0;
  height: 100%;
  margin-right: 26px;
  overflow: hidden;
  border-radius: var(--radius-box);
  font-weight: 500;
  white-space: nowrap;
}

.g-crumbs-list > li {
  display: flex;
  flex: 0 0 auto;
  height: 100%;
}

.g-crumbs-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 55px;
  padding: 0 15px 0 18px;
}

.g-crumbs-link:hover {
  color: #fff;
}

/* Chevron divider: two skewed half-height boxes whose right borders meet in a ">" */
.g-crumbs-link::before,
.g-crumbs-link::after {
  content: "";
  position: absolute;
  left: -1px;
  width: 100%;
  height: 50%;
  border-right: 1px solid var(--color-area-lighter);
  pointer-events: none;
}

.g-crumbs-link::before {
  top: 0;
  transform: skewX(30deg);
}

.g-crumbs-link::after {
  bottom: 0;
  transform: skewX(-30deg);
}

.g-crumbs-current {
  display: inline-flex;
  align-items: center;
  height: 55px;
  padding: 0 15px 0 18px;
  opacity: 0.7;
}

.g-crumbs-aside {
  display: flex;
  flex: 0 0 auto;
  height: 100%;
  font-weight: 700;
}

.g-crumbs-aside a {
  display: flex;
  align-items: center;
  height: 55px;
  padding: 0 13px;
  border-left: 1px solid var(--color-area-lighter);
}

.g-crumbs-aside a:hover {
  color: #fff;
}

.g-crumbs-aside i {
  width: 16.3px;
  font-size: 13px;
  margin-right: 6.5px;
  display: inline-block;
  text-align: center;
  line-height: 1;
}

.g-cols {
  display: flex;
  align-items: flex-start;
}

.g-cols-main {
  flex: 1 1 auto;
  min-width: 0;
}

.g-cols-side {
  flex: 0 0 var(--sidebar);
  width: var(--sidebar);
  padding: 0 0 15px 26px;
}

.g-page-head {
  position: relative;
  margin-bottom: 26px;
  padding: 26px 26px 33px;
}

.g-page-title {
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ───────── Categories sidebar ───────── */
.g-side {
  margin-bottom: 26px;
}

.g-side-title {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  border-radius: 5px 5px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.g-side-body {
  padding: 12px;
}

.g-side-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: var(--color-area-light);
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.53;
  text-align: left;
}

.g-side-toggle[aria-expanded="true"] {
  margin-bottom: 12px;
  border-radius: 4px;
  background: var(--color-area);
  color: #fff;
}

.g-side-list[data-scroll="true"] {
  max-height: 515px;
  overflow-y: auto;
}

.g-side-list::-webkit-scrollbar,
.g-side-list::-webkit-scrollbar-thumb,
.g-side-list::-webkit-scrollbar-track {
  border-radius: 10px;
}

.g-side-list::-webkit-scrollbar-track {
  background: rgba(17, 20, 24, 0.5);
}

.g-side-item {
  position: relative;
  display: block;
  margin-bottom: 10px;
  padding: 13px 13px 13px 32.5px;
  border-radius: var(--radius-box);
  background: var(--color-area-light);
  color: #fff;
  font-size: 13px;
  line-height: 1.53;
  font-weight: 700;
}

.g-side-list > li:last-child .g-side-item {
  margin-bottom: 0;
}

.g-side-item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border: 1.5px solid rgba(104, 111, 125, 0.25);
  border-radius: 50%;
}

.g-side-item:hover:not([aria-current="page"]) {
  background: rgba(var(--cl-accent), 0.2);
  color: var(--color-brand);
}

.g-side-item:hover:not([aria-current="page"])::after {
  border-color: var(--color-brand);
}

/* On category pages (scrolling list) the reference uses a slightly wider inset and radius. */
.g-side-list[data-scroll="true"] .g-side-item {
  padding-left: 34px;
  border-radius: 6px;
}

.g-side-item[aria-current="page"] {
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

.g-side-item[aria-current="page"]::after {
  left: 13px;
  width: 11px;
  height: 6px;
  margin-top: -5px;
  border: 0;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  border-radius: 0;
  transform: rotate(-45deg);
}

/* ───────── Why choose ───────── */
.g-why {
  padding: 26px;
}

/* Boxed variant (store, category): the reference lets it run 2px past the container on each side. */
.g-why[data-boxed="true"] {
  margin: 26px -2px;
  padding: 34px 36px;
  border-radius: var(--radius-card);
  background: var(--color-area);
}

.g-why-title {
  margin-bottom: 0.25em;
  color: #fff;
  font-size: clamp(30px, 2.5vw, 38px);
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.g-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.g-why-card {
  padding: 19.5px;
  border-radius: var(--radius-box);
  background: rgba(var(--cl-accent), 0.1);
}

.g-why-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

.g-why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-box);
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  font-size: 17px;
}

.g-why-icon i {
  font-size: 17px;
  line-height: 1;
}

.g-why-card h4 {
  color: #fff;
  font-size: 23px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
}

.g-why-card p {
  font-size: 14.3px;
  line-height: 1.5;
  text-align: center;
  white-space: break-spaces;
}

@media (max-width: 979px) {
  .g-why[data-boxed="true"] {
    margin-inline: 0;
  }
}

@media (max-width: 900px) {
  .g-why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .g-why[data-boxed="true"] {
    margin: 26px;
    padding: 26px 18px;
  }
}

/* ───────── Carousels (videos, reviews) ───────── */
.g-rail {
  margin-top: clamp(36px, 4vw, 56px);
}

.g-rail-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

.g-rail-title {
  color: #fff;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.g-rail-buttons {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  gap: 10px;
  transform: translateY(-50%);
}

.g-rail-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: transform 0.15s, background-color 0.15s, border-color 0.15s, opacity 0.15s;
}

.g-rail-nav i {
  font-size: 13px;
  line-height: 1;
}

.g-rail-nav:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.g-rail-nav:disabled {
  opacity: 0.4;
}

.g-rail-track {
  display: flex;
  gap: 20px;
  padding-bottom: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.g-rail-track::-webkit-scrollbar {
  display: none;
}

.g-rail-track[data-kind="reviews"] {
  gap: 16px;
  padding: 4px 4px 12px;
  scroll-padding-inline: 4px;
}

.g-rail-slide {
  flex: 0 0 calc(33.3333% - 13.3333px);
  min-width: 0;
  scroll-snap-align: start;
}

.g-rail-track[data-kind="reviews"] > .g-rail-slide {
  flex-basis: calc(33.3333% - 8px);
}

.g-rail-status {
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: 10px;
  background: #1d2128;
  color: #c7d0e0;
  font-size: 14px;
  line-height: 1.6;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

/* 16:9 via padding so the 1px border adds to the height, exactly like the reference embed box. */
.g-video {
  position: relative;
  display: block;
  width: 100%;
  padding: 56.25% 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.g-video > iframe,
.g-video > svg,
.g-video > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.g-video-meta {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 28px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  color: #fff;
  text-align: left;
}

.g-video-meta-avatar {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-area-lighter);
}

.g-video-meta-title {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-video-meta-channel {
  font-size: 11px;
  line-height: 1.3;
  opacity: 0.85;
}

.g-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.g-video-play i {
  font-size: 20px;
  line-height: 1;
}

.g-video:hover .g-video-play {
  filter: brightness(1.12);
  transform: translate(-50%, -50%) scale(1.05);
}

@media (max-width: 980px) {
  .g-rail-slide {
    flex-basis: calc(50% - 10px);
  }

  .g-rail-track[data-kind="reviews"] > .g-rail-slide {
    flex-basis: calc(50% - 6px);
  }
}

@media (max-width: 640px) {
  .g-rail-head {
    flex-direction: column;
  }

  .g-rail-buttons {
    position: static;
    transform: none;
  }

  .g-rail-slide,
  .g-rail-track[data-kind="reviews"] > .g-rail-slide {
    flex-basis: 100%;
  }
}

/* ───────── Review card (carousel + reviews page) ───────── */
.g-review {
  display: flex;
  gap: 16px;
  height: 100%;
  padding: 18px 22px;
  border-radius: 10px;
  background: #1d2128;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.g-review-avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  object-fit: cover;
}

.g-review-body {
  flex: 1 1 auto;
  min-width: 0;
}

.g-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.g-review-name {
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-review-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #98a3ba;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.g-review-meta-sep {
  opacity: 0.75;
}

.g-review-meta a {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.g-review-meta a:hover,
.g-review-meta a:focus-visible {
  color: var(--color-brand);
}

.g-review-meta a i {
  font-size: 9px;
  line-height: 1;
}

.g-review-stars {
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
  color: var(--color-brand);
}

.g-review-stars i {
  font-size: 14px;
  line-height: 1;
}

.g-review-stars [data-on="false"] {
  opacity: 0.25;
}

.g-review-text {
  color: #d8deef;
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .g-review {
    padding: 18px;
  }
}

@media (max-width: 480px) {
  .g-review {
    gap: 12px;
    padding: 16px;
  }
}

/* ───────── Footer ───────── */
.g-ftr {
  margin-top: 26px;
  background: var(--color-area);
}

.g-ftr-main {
  padding-block: 70px;
}

.g-ftr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 130px;
}

.g-ftr-about p {
  margin-top: 14px;
  color: #cdcdcd;
  font-size: 14px;
  line-height: 1.5;
}

.g-ftr-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 18.2px;
}

.g-ftr-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.g-ftr-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: #1b1f27;
  color: #fff;
  font-size: 18px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.g-ftr-social a i {
  font-size: 18px;
  line-height: 1;
}

.g-ftr-social a:hover {
  background: #242a35;
  transform: translateY(-1px);
}

.g-ftr-mail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: #1b1f27;
}

.g-ftr-mail-fields {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.g-ftr-mail-fields span {
  color: #8b93a7;
  font-size: 10px;
  line-height: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.g-ftr-mail-fields strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}

.g-ftr-mail-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  transition: background 0.15s ease;
}

.g-ftr-mail-send i {
  font-size: 15px;
  line-height: 1;
}

.g-ftr-mail-send:hover {
  background: #2b76f5;
}

.g-ftr-nav {
  display: flex;
}

.g-ftr-nav > ul {
  flex: 1 1 0%;
  min-width: 0;
}

.g-ftr-nav h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}

.g-ftr-nav li {
  padding: 10px 0;
}

.g-ftr-nav li a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: #fff;
  font-size: 15px;
  line-height: 1;
}

.g-ftr-nav li a::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 100vw;
  background: var(--color-brand);
  filter: drop-shadow(0 0 5px rgba(var(--cl-accent), 0.4));
  transition: 0.15s linear;
}

.g-ftr-nav li a:hover {
  color: var(--color-brand);
}

.g-ftr-nav li a:hover::before {
  width: 15px;
}

.g-ftr-bottom {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.g-ftr-bottom > .g-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}

.g-ftr-links {
  display: flex;
  flex: 0 0 auto;
  gap: 15px;
  color: #fff;
  font-size: 13px;
}

.g-ftr-links a {
  transition: color 0.2s ease;
}

.g-ftr-links a:hover {
  color: var(--color-brand);
}

.g-ftr-top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 100vw;
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  transition: 0.15s linear;
}

.g-ftr-top i {
  font-size: 13px;
  line-height: 1;
}

.g-ftr-top:hover {
  filter: brightness(1.12);
}

.g-ftr-copy {
  flex: 0 0 auto;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  text-align: right;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.g-ftr-copy b {
  color: var(--color-brand);
  filter: drop-shadow(0 0 5px rgba(var(--cl-accent), 0.4));
}

/* ───────── Responsive shell ───────── */
@media (max-width: 1280px) {
  .g-ftr-grid {
    grid-template-columns: 350px 1fr;
    gap: 65px;
  }
}

@media (max-width: 979px) {
  .g-crumbs {
    display: none;
  }

  .g-page.g-wrap {
    padding-inline: 0;
  }

  .g-cols {
    display: block;
  }

  .g-cols-main,
  .g-page-main {
    padding: 15px;
  }

  .g-cols-side {
    width: auto;
    padding: 0 15px 20px 26px;
  }

  .g-page-head:first-child {
    margin-top: -5px;
  }

  /* The reference leaves 85px under the footer on small screens (room for its bottom bar). */
  .g-ftr {
    padding-bottom: 85px;
  }

  .g-ftr-main.g-wrap {
    padding: 70px 26px;
  }

  .g-ftr-grid {
    grid-template-columns: 1fr;
    gap: 39px;
  }

  .g-ftr-nav {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
  }

  .g-ftr-bottom > .g-wrap {
    flex-direction: column;
    gap: 13px;
  }

  .g-ftr-links,
  .g-ftr-copy {
    flex: 0 0 auto;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .g-cols-main,
  .g-page-main {
    padding: 10px;
  }

  .g-cols-side {
    padding: 0 10px 15px 26px;
  }

  .g-page-title {
    font-size: 28px;
  }

  .g-page-head.g-box {
    margin-inline: -10px;
    border-radius: 0;
  }

  .g-side-toggle {
    display: flex;
  }

  .g-side-list[data-collapsed="true"] {
    display: none;
  }

  .g-side-list[data-scroll="true"] {
    max-height: none;
  }
}


/* ═════════ store.css ═════════ */
/* ───────── Category grid (home, /store, /guides) ───────── */
.g-games-box {
  display: flex;
  margin-bottom: 26px;
  padding: 26px;
}

.g-games {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 13px;
}

.g-game > a {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 125px;
  padding: 2px;
  border-radius: var(--radius-box);
  color: #fff;
  transition: 0.2s;
}

/* The 2px "frame" is a pseudo-element so it can light up without shifting layout. */
.g-game > a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 7px;
  background: var(--color-area-light);
  transition: 0.2s;
}

.g-game > a:hover::after,
.g-game > a:focus-visible::after {
  background: var(--color-brand);
  box-shadow: -3px 0 12px rgba(var(--cl-accent), 0.2), 3px 0 12px rgba(var(--cl-accent), 0.3);
}

.g-game-img {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 365 / 155;
  overflow: hidden;
  border-radius: var(--radius-box);
}

.g-game-img > img,
.g-game-img > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.25s;
}

.g-game > a:hover .g-game-img > img,
.g-game > a:hover .g-game-img > svg {
  transform: scale(1.02);
}

.g-game-name {
  position: absolute;
  bottom: 19.13px;
  left: 10px;
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 1.25em;
  border-radius: var(--radius-pill);
  background: rgba(34, 38, 47, 0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s;
}

.g-game > a:hover .g-game-name {
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

/* ───────── Product card ───────── */
.g-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  margin-bottom: 26px;
}

.g-products[data-dense="true"] {
  gap: 18px;
  margin-bottom: 0;
}

.g-product {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius-box);
  background: var(--color-area-light);
  transition: 0.2s linear;
}

.g-product:hover {
  border-color: rgba(var(--cl-accent), 0.7);
  box-shadow: 0 0 0 4px rgba(var(--cl-accent), 0.1);
}

.g-product-img {
  display: flex;
  width: 100%;
  aspect-ratio: 300 / 185;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
}

.g-product-img > img,
.g-product-img > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-product-body {
  padding: 15.6px;
}

.g-product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36.5px;
}

.g-product-title {
  flex: 1 1 0%;
  min-width: 0;
  padding-right: 8px;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-product-head .g-status-pill {
  flex: 0 0 auto;
  margin-top: 6.5px;
}

.g-product-foot {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px dashed #2d2f39;
}

.g-price-tag {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  height: 45px;
  padding: 8px 20px;
  border-radius: var(--radius-box);
  background: rgba(0, 255, 80, 0.2);
  color: var(--color-price);
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
}

.g-product-buy {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  height: 45px;
  padding: 1em;
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  color: #fff;
  font-size: 14.625px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: 0.15s linear;
}

.g-product-buy:hover,
.g-product-buy:focus-visible {
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

/* ───────── Product page ───────── */
.g-pdp {
  position: relative;
  display: grid;
  grid-template-columns: 550px minmax(0, 1fr);
  gap: 52px;
  margin-bottom: 26px;
  padding: 39px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-area-light);
  box-shadow: var(--shadow-box);
}

.g-pdp-frame {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 550 / 309.4;
  padding: 2px;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: -3px 0 12px rgba(var(--cl-accent), 0.2), 3px 0 12px rgba(var(--cl-accent), 0.3);
  cursor: zoom-in;
}

.g-pdp-frame > img,
.g-pdp-frame > svg {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-card);
  object-fit: cover;
}

.g-pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(75px, 1fr));
  gap: 13px;
  margin-top: 13px;
}

.g-pdp-thumb {
  position: relative;
  display: flex;
  height: 75px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-box);
}

.g-pdp-thumb > img,
.g-pdp-thumb > svg {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-box);
  object-fit: cover;
  opacity: 0.3;
  transition: 0.25s linear;
}

.g-pdp-thumb:hover > *,
.g-pdp-thumb[aria-pressed="true"] > * {
  opacity: 1;
}

.g-pdp-thumb[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--color-brand), -3px 0 12px rgba(var(--cl-accent), 0.2), 3px 0 12px rgba(var(--cl-accent), 0.3);
}

.g-pdp-title {
  margin: 0.1em 0 0.3em;
  color: #fff;
  font-size: clamp(30px, 2vw, 50px);
  line-height: 1;
  font-weight: 700;
}

.g-pdp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.g-pdp-pill {
  display: flex;
  align-items: center;
  padding: 0.75em 1em;
  border-radius: var(--radius-pill);
  background: #2f3441;
  color: #d5d5d5;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
}

.g-pdp-pill i {
  font-size: 12px;
  margin-right: 5px;
  color: var(--color-brand);
  line-height: 1;
}

.g-pdp-pills .g-status-pill {
  font-weight: 500;
}

.g-pdp-price {
  margin: 0.5em 0;
  color: #fff;
  font-size: 35px;
  line-height: 1;
  font-weight: 600;
}

.g-pdp-buybox {
  margin: 13px 0 26px;
  padding-top: 13px;
  border-top: 1px solid #353945;
}

.g-qty {
  display: inline-flex;
  width: 150px;
  height: 48px;
  padding: 8px;
  border: 1px solid rgba(104, 111, 125, 0.4);
  border-radius: 4px;
  background: var(--color-area);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.g-qty:focus-within {
  border-color: var(--color-brand);
  box-shadow: var(--focus-ring);
}

.g-qty button {
  display: flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  height: 30px;
  border-radius: var(--radius-box);
  background: rgba(var(--cl-accent), 0.2);
  color: var(--color-brand);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.g-qty button:hover:not(:disabled),
.g-qty button:focus-visible:not(:disabled) {
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

.g-qty button:disabled {
  opacity: 0.5;
}

.g-qty input {
  flex: 1 1 auto;
  min-width: 0;
  height: 30px;
  border: 0;
  border-radius: 4px;
  background: var(--color-area);
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  outline: 0;
  appearance: textfield;
}

.g-qty input::-webkit-outer-spin-button,
.g-qty input::-webkit-inner-spin-button {
  appearance: none;
}

.g-variants {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 13px;
  margin: 13px 0;
}

.g-variant {
  position: relative;
  display: block;
  width: 100%;
  min-height: 75px;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--radius-box);
  background: #2f3441;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  text-align: left;
}

.g-variant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.g-variant-name {
  flex: 1 1 0%;
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g-variant-stock {
  flex: 0 0 auto;
  color: #9ea4b1;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.g-variant-price {
  color: #fff;
}

.g-variant:hover:not([aria-checked="true"]):not(:disabled) {
  background: rgba(var(--cl-accent), 0.2);
}

.g-variant:hover .g-variant-name,
.g-variant:hover .g-variant-stock,
.g-variant[aria-checked="true"] .g-variant-name,
.g-variant[aria-checked="true"] .g-variant-stock {
  color: #fff;
}

.g-variant[aria-checked="true"] {
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

.g-variant:disabled {
  opacity: 0.55;
}

.g-variant[data-stock="out"] .g-variant-stock {
  color: #ff6b6b;
}

.g-pdp-buy {
  display: inline-block;
  padding: 1em 3em;
  border: 0;
  border-radius: var(--radius-box);
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  text-transform: capitalize;
  transition: 0.15s linear;
}

.g-pdp-buy:hover:not(:disabled) {
  background-image: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
}

.g-pdp-buy:disabled {
  opacity: 0.55;
}

/* Tabs + product information */
/* 52px below the product box: on the reference the two 26px margins do not collapse. */
.g-tabs {
  margin-top: 52px;
}

.g-tabs-bar {
  display: flex;
  gap: 8px;
  padding: 19.5px;
  border-bottom: 1px solid var(--line);
  border-radius: 5px 5px 0 0;
}

.g-tabs-tab {
  height: 42px;
  padding: 0 28px;
  border-radius: var(--radius-box);
  color: #fff;
  font-size: 14px;
  line-height: 42px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.g-tabs-tab:hover {
  background: var(--color-area-light);
}

.g-tabs-tab[aria-selected="true"] {
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

/* 14px on desktop, 13px on phones; the feature boxes below are sized in em so they follow it. */
.g-tabs-panel {
  padding: 26px;
  font-size: 14px;
  line-height: 1.6;
}

.g-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.g-badges li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 12px 12px 0;
  padding: 12px;
  border-radius: var(--radius-pill);
  background: rgba(73, 185, 119, 0.2);
  color: var(--color-feature);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
}

.g-badges li i {
  font-size: 12px;
  line-height: 1;
}

.g-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
  gap: 2em;
  margin: 1em 0 2em;
}

.g-feature-box {
  border: 1px solid var(--color-area-lighter);
  border-radius: var(--radius-card);
  background: var(--color-area-light);
}

.g-feature-box h3 {
  padding: 1.25em;
  border-bottom: 1px solid var(--color-area-lighter);
  color: #fff;
  font-size: 1.17em;
  line-height: 1;
  font-weight: 700;
}

.g-feature-box ul {
  display: flex;
  flex-direction: column;
  gap: 7.5px;
  padding: 18.75px;
}

.g-feature-box li {
  display: flex;
  align-items: center;
  gap: 7.5px;
  color: #fff;
  font-size: 15px;
  line-height: 24px;
}

.g-feature-box li i {
  flex: 0 0 15px;
  font-size: 15px;
  color: var(--color-feature);
  line-height: 1;
}

.g-panel {
  margin-top: 32px;
  padding: 34px 36px;
  border-radius: var(--radius-card);
  background: var(--color-area);
}

.g-panel-title {
  margin: 23.24px 0 16px;
  color: #ecf0f1;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
}

.g-panel-sub {
  margin-bottom: 24px;
  color: #c6c6c8;
  font-size: 16px;
  text-align: center;
}

.g-panel-center {
  display: flex;
  justify-content: center;
}

.g-panel-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.g-panel-videos .g-video {
  border: 0;
  border-radius: var(--radius-card);
  background: #000;
}

/* SEO / long-form block used under category grids */
/*
 * On the reference this block runs 28px past the container on each side at every width, which makes
 * the page scroll sideways below ~1626px. Here it only does so when there is room for it.
 */
.g-prose-box {
  margin: 0 calc(-1 * var(--gutter)) 40px;
  padding: 34px 36px;
  border-radius: var(--radius-card);
  background: var(--color-area);
  color: #c6c6c8;
  font-size: 13px;
  line-height: 1.75;
}

.g-prose-box h2 {
  margin-bottom: 14px;
  color: #ecf0f1;
  font-size: 26px;
  font-weight: 700;
}

.g-prose-box h3 {
  margin-bottom: 8px;
  color: #ecf0f1;
  font-size: 18px;
  font-weight: 700;
}

.g-prose-box p {
  margin-bottom: 16px;
  font-size: 15px;
}

.g-prose-box a {
  color: var(--color-brand);
}

.g-prose-box a:hover {
  text-decoration: underline;
}

.g-prose-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.g-prose-faq > li {
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.g-prose-faq p {
  margin: 0;
}

@media (min-width: 1626px) {
  .g-prose-box {
    margin-inline: -28px;
  }
}

@media (max-width: 1280px) {
  .g-pdp {
    padding: 26px;
  }
}

@media (max-width: 979px) {
  .g-pdp {
    grid-template-columns: minmax(0, 1fr);
  }

  /* The reference keeps the -28px offsets here and scrolls sideways; this build stays inside the viewport. */
  .g-prose-box {
    margin-inline: 0;
  }
}

@media (max-width: 767px) {
  /* Tabs box runs edge to edge on phones and the single tab fills the bar. */
  .g-tabs {
    margin-inline: -10px;
  }

  .g-tabs-bar {
    display: block;
  }

  .g-tabs-tab {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 32px;
    font-size: 16px;
    line-height: 48px;
  }

  .g-tabs-tab + .g-tabs-tab {
    margin-top: 8px;
  }

  .g-tabs-panel {
    font-size: 13px;
  }
}

@media (max-width: 680px) {
  .g-panel-videos {
    grid-template-columns: 1fr;
  }
}

/* ───────── Interface preview mock (stand-in for the reference's 800 × 580 embed) ───────── */
.g-mock {
  display: flex;
  flex-direction: column;
  width: 800px;
  max-width: 100%;
  height: 580px;
  overflow: hidden;
  border: 1px solid var(--color-area-lighter);
  border-radius: var(--radius-card);
  background: #12151c;
  color: #d8deef;
  font-size: 14px;
}

.g-mock-bar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-area-lighter);
  background: #181c25;
  color: #fff;
}

.g-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.g-mock-tag {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(var(--cl-accent), 0.2);
  color: var(--color-brand-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g-mock-body {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}

.g-mock-tabs {
  display: flex;
  flex: 0 0 190px;
  flex-direction: column;
  gap: 6px;
  padding: 16px 12px;
  border-right: 1px solid var(--color-area-lighter);
  background: #0f1218;
}

.g-mock-tab {
  padding: 11px 14px;
  border-radius: var(--radius-box);
  color: #9ea4b1;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: 0.15s linear;
}

.g-mock-tab:hover {
  background: rgba(var(--cl-accent), 0.2);
  color: #fff;
}

.g-mock-tab[aria-selected="true"] {
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

.g-mock-panel {
  flex: 1 1 auto;
  min-width: 0;
  padding: 20px 24px;
  overflow-y: auto;
}

.g-mock-panel h4 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.g-mock-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed #2d2f39;
  cursor: pointer;
}

.g-mock-row input {
  position: absolute;
  opacity: 0;
}

.g-mock-switch {
  position: relative;
  flex: 0 0 38px;
  height: 20px;
  border-radius: 10px;
  background: #2a303d;
  transition: background 0.2s ease;
}

.g-mock-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.g-mock-row input:checked + .g-mock-switch {
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

.g-mock-row input:checked + .g-mock-switch::after {
  transform: translateX(18px);
}

.g-mock-row input:focus-visible + .g-mock-switch {
  box-shadow: var(--focus-ring);
}

@media (max-width: 680px) {
  .g-mock-body {
    flex-direction: column;
  }

  .g-mock-tabs {
    flex: 0 0 auto;
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--color-area-lighter);
  }

  .g-mock-tab {
    flex: 0 0 auto;
  }
}


/* ═════════ pages.css ═════════ */
/* ───────── Status page ───────── */
.g-st-head {
  position: relative;
  padding: 26px;
  border-radius: 5px 5px 0 0;
}

.g-st-head header {
  display: flex;
  align-items: center;
}

.g-st-title {
  flex: 1 1 0%;
  color: #fff;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 700;
}

.g-st-legend {
  display: flex;
}

/* gap = one word space (0.28em) + the 1px letter-spacing the reference's icon font carries. */
.g-st-legend li {
  display: flex;
  align-items: center;
  gap: 4.8px;
  padding: 11px;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.g-st-legend li:not(:last-child) {
  margin-right: 16.5px;
}

.g-st-legend i {
  width: var(--icon-w, auto);
  font-size: 11px;
  display: inline-block;
  text-align: center;
  line-height: 1;
}

.g-st-controls {
  position: sticky;
  top: 0;
  z-index: 1450;
}

.g-st-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 13px;
  padding: 19.5px;
  overflow-x: auto;
  background: var(--color-area-light);
  scrollbar-width: none;
}

.g-st-tabs::-webkit-scrollbar {
  display: none;
}

.g-st-tab {
  flex: 0 0 auto;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: 0.25s linear;
}

.g-st-tab:hover:not([aria-selected="true"]) {
  background: rgba(255, 255, 255, 0.12);
}

.g-st-tab[aria-selected="true"] {
  border-color: var(--color-brand);
  background: var(--color-brand);
  font-weight: 600;
  color: rgb(var(--cl-on-accent));
}

.g-st-main {
  padding: 26px;
  border-radius: 0 0 5px 5px;
}

.g-st-group {
  margin-bottom: 24px;
}

.g-st-group:last-child {
  margin-bottom: 0;
}

.g-st-group-title {
  display: inline-flex;
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g-st-rows {
  display: flex;
  flex-direction: column;
  gap: 9.75px;
  border-radius: 8px;
  background: var(--color-area-light);
}

.g-st-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16.25px;
  padding: 16.9px 20.8px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.g-st-row:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}

.g-st-row-title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
}

.g-st-row-inner {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 20.8px;
}

.g-st-cell {
  display: flex;
  align-items: center;
  gap: 6.5px;
  margin-right: 26px;
  padding-right: 26px;
  border-right: 1px dashed rgba(53, 66, 87, 0.3);
  font-size: 13px;
  line-height: 1;
}

.g-st-cell[data-kind="info"] {
  flex-direction: column;
}

.g-st-cell-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.g-st-cell-value {
  margin-top: 3.25px;
  color: #fff;
  font-weight: 600;
}

.g-st-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  width: 145px;
  padding: 0.7em 1em;
  border-radius: 100px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.g-st-badge i {
  font-size: 11px;
  line-height: 1;
}

.g-st-buy {
  display: inline-flex;
  align-items: center;
  padding: 0.85em 1.4em;
  border-radius: 8px;
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  transition: filter 0.18s ease, box-shadow 0.18s ease;
}

.g-st-buy:hover {
  box-shadow: 0 4px 12px rgba(var(--cl-accent), 0.35);
  filter: brightness(1.08);
}

@media (max-width: 979px) {
  .g-st-head header {
    flex-wrap: wrap;
    gap: 13px;
  }

  .g-st-legend {
    flex-wrap: wrap;
    gap: 6.5px;
  }

  .g-st-legend li:not(:last-child) {
    margin-right: 0;
  }
}

/* ≤800px: each product becomes a centred stack: title, platform, badge, button. */
@media (max-width: 800px) {
  .g-st-head header {
    justify-content: center;
    text-align: center;
  }

  .g-st-legend {
    justify-content: center;
  }

  .g-st-row {
    flex-direction: column;
  }

  .g-st-row-title {
    flex: 0 0 auto;
    width: 180px;
  }

  .g-st-row-inner {
    flex-direction: column;
    width: 100%;
  }

  .g-st-cell,
  .g-st-cell[data-kind="info"] {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin: 0 0 13px;
    padding: 0 0 13px;
    border-right: 0;
    border-bottom: 1px dashed rgba(53, 66, 87, 0.3);
    letter-spacing: 1px;
    text-align: center;
  }

  .g-st-cell-label {
    margin-right: 3.9px;
    font-size: inherit;
    letter-spacing: inherit;
  }

  .g-st-badge,
  .g-st-row-inner > li:last-child {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .g-st-row {
    align-items: flex-start;
  }

  .g-st-row-inner {
    justify-content: space-between;
  }
}

/* ───────── Reviews page ───────── */
.g-rv {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.g-rv-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-height: 160px;
}

.g-rv-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.g-rv-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #1d2128;
  color: #d8deef;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.g-rv-page-btn i {
  font-size: 14px;
  line-height: 1;
}

.g-rv-page-btn:hover:not(:disabled),
.g-rv-page-btn:focus-visible:not(:disabled) {
  background: #242934;
  color: #fff;
}

.g-rv-page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.g-rv-page-info {
  min-width: 92px;
  color: #c7d0e0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}

.g-loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 14, 18, 0.38);
  backdrop-filter: blur(8px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s, visibility 0.2s;
}

.g-loader-overlay[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.g-loader-overlay > * {
  width: 118px;
  height: 118px;
  animation: g-loader-pulse 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(var(--cl-accent), 0.24));
}

@keyframes g-loader-pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(0.92);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (max-width: 1200px) {
  .g-rv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .g-rv-grid {
    grid-template-columns: 1fr;
  }
}

/* ───────── Support + FAQ ───────── */
.g-sup {
  margin-bottom: 26px;
  padding: 26px;
  background: var(--color-area);
}

.g-sup-inner {
  padding: 26px;
}

.g-sup-section {
  margin: 32px 0;
}

.g-sup-header {
  margin-bottom: 32px;
  text-align: center;
}

.g-sup-header h1 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 32px;
  line-height: 1.53;
  font-weight: 700;
}

.g-sup-header p {
  color: #b0b0b0;
  font-size: 17.6px;
  line-height: 1.53;
}

.g-sup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.g-sup-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: var(--color-area-light);
  color: #fff;
  font-size: 13px;
  line-height: 1.53;
  transition: transform 0.2s, box-shadow 0.2s;
}

.g-sup-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  font-size: 14.4px;
  font-weight: 700;
}

.g-sup-card h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 19.2px;
  font-weight: 600;
}

.g-sup-card p {
  flex-grow: 1;
  margin-bottom: 16px;
  color: #d0d0d0;
  line-height: 1.6;
}

.g-sup-card p strong {
  color: #fff;
}

.g-sup-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  width: 100%;
  margin-top: auto;
  padding: 1em;
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  color: #fff;
  font-size: 14.625px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: 0.1s linear;
}

.g-sup-action i {
  font-size: 14.625px;
  line-height: 1;
}

.g-sup-action:hover {
  background: #363c4a;
}

.g-sup-action[data-variant="discord"] {
  background: linear-gradient(135deg, #5865f2, #7289da);
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.g-sup-action[data-variant="discord"]:hover {
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.g-sup-note {
  max-width: 720px;
  margin: 28px auto 0;
  color: #b0b0b0;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.g-faq {
  margin-bottom: 26px;
  padding: 26px;
}

.g-faq-inner {
  padding: 26px;
  font-size: 13px;
  line-height: 1.6;
}

.g-faq-title {
  margin: 24.9px 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.6;
  font-weight: 700;
  text-align: center;
}

.g-faq-item {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: var(--radius-box);
  background: var(--color-area-light);
}

.g-faq-q {
  display: flex;
  align-items: center;
  color: #fff;
}

.g-faq-num {
  display: flex;
  flex: 0 0 25px;
  align-items: center;
  justify-content: center;
  height: 25px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  font-size: 16px;
  font-weight: 700;
}

.g-faq-q h3 {
  margin: 1em 0;
  color: #fff;
  font-size: 21.06px;
  line-height: 1.6;
  font-weight: 700;
}

.g-faq-a {
  margin: 5px 0 16px;
  padding: 12px;
  border-radius: 8px;
  background: var(--color-area-lighter);
  color: #ddd;
  font-size: 16px;
  line-height: 1.6;
}

.g-faq-a a {
  color: #fff;
  text-decoration: underline;
}

.g-faq-a a:hover,
.g-faq-a a:focus-visible {
  color: var(--color-brand);
}

@media (max-width: 900px) {
  .g-sup-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 979px) {
  .g-sup-nest {
    padding: 15px;
  }
}

@media (max-width: 767px) {
  .g-sup-nest {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .g-sup-section {
    margin: 16px;
    padding: 24px;
  }

  .g-sup-header h1 {
    font-size: 25.6px;
  }

  .g-sup-grid {
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .g-sup-inner,
  .g-faq-inner {
    padding: 8px;
  }
}

/* ───────── Info landing pages ───────── */
.g-widget {
  position: relative;
  margin-bottom: 26px;
}

.g-widget-title {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  border-radius: 5px 5px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.g-widget-body {
  padding: 26px;
  font-size: 13px;
  line-height: 1.6;
}

.g-info-h1 {
  margin: 17.4px 0;
  color: #ecf0f1;
  font-size: clamp(24px, 1.9vw, 36px);
  line-height: 1.6;
  font-weight: 700;
  text-align: center;
}

.g-info-lead {
  margin-top: 13px;
  color: #ecf0f1;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.g-info-h2 {
  margin: 16px 0;
  color: #ecf0f1;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 700;
  text-align: center;
}

.g-info-sub {
  color: #ecf0f1;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.g-info-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.g-info-videos .g-video {
  border: 0;
  border-radius: 0;
  background: #000;
}

.g-pitch {
  padding: 40px 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
}

.g-pitch-inner {
  max-width: 1200px;
  padding: 0 20px;
}

.g-pitch-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 50px;
}

.g-pitch-row:last-child {
  margin-bottom: 0;
}

.g-pitch-icon {
  display: flex;
  flex: 0 0 100px;
  align-items: center;
  justify-content: center;
  height: 100px;
  color: #fff;
}

.g-pitch-icon i {
  font-size: 80px;
  line-height: 1;
}

.g-pitch-icon[data-logo="true"] {
  flex-basis: 120px;
  height: 120px;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.g-pitch-content {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 5px;
}

.g-pitch-eyebrow {
  margin-bottom: 8px;
  color: #b0b0b0;
  font-size: 15.2px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.g-pitch-title {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
  font-size: 35.2px;
  font-weight: 700;
  text-transform: uppercase;
}

.g-pitch-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #fff 0%, transparent 100%);
}

.g-pitch-brand {
  margin-bottom: 20px;
  font-size: 44.8px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.g-pitch-text {
  margin: 16px 0 15px;
  color: #e0e0e0;
  font-size: 16px;
  line-height: 1.9;
}

.g-pitch-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 15px;
  padding: 14px 28px;
  border-radius: 6px;
  background: var(--color-discord);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: filter 0.15s ease;
}

.g-pitch-cta:hover {
  filter: brightness(1.1);
}

.g-pitch-divider {
  height: 1px;
  margin: 45px 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
}

.g-promise p {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}

.g-promise p + p {
  margin-top: 21px;
}

.g-promise strong {
  color: #3498db;
  font-size: 13px;
  font-weight: 700;
}

.g-article h2 {
  margin: 17.4px 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
}

.g-article h3 {
  margin: 15px 0 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}

.g-article p {
  margin: 13px 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}

.g-article ul {
  padding-left: 40px;
  list-style: disc;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}

.g-article a {
  color: var(--color-brand);
}

.g-article a:hover {
  text-decoration: underline;
}

.g-article summary {
  cursor: pointer;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.g-article details > div {
  margin-top: 10px;
  padding-left: 16px;
  border-left: 2px solid var(--color-area-lighter);
}

.g-article hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 768px) {
  .g-pitch-row {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    text-align: center;
  }

  .g-pitch-icon {
    flex-basis: 80px;
    height: 80px;
  }

  .g-pitch-icon i {
    font-size: 60px;
    line-height: 1;
  }

  .g-pitch-title {
    font-size: 28.8px;
  }

  .g-pitch-title::after {
    width: 100%;
  }

  .g-info-videos {
    grid-template-columns: 1fr;
  }

  .g-widget-body {
    padding: 18px;
  }
}

/* ───────── Account, search results, 404 ───────── */
.g-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 26px;
  text-align: center;
}

.g-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: rgba(var(--cl-accent), 0.12);
  color: var(--color-brand);
}

.g-empty h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.g-empty p {
  max-width: 520px;
  margin-bottom: 22px;
  color: #b0b0b0;
  font-size: 15px;
  line-height: 1.6;
}

.g-empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.g-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.15s linear;
}

.g-btn-ghost:hover {
  background: #363c4a;
}

.g-acct-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 19.5px;
  border-bottom: 1px solid var(--line);
}

.g-results {
  display: flex;
  flex-direction: column;
}

.g-results a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.g-results a + a {
  border-top: 1px solid var(--line);
}

.g-results a:hover {
  background: rgba(255, 255, 255, 0.03);
}

.g-results-meta {
  flex: 0 0 64px;
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 600;
}

.g-results-count {
  margin-top: 6px;
  font-size: 13px;
}


/* ═════════ overlays.css ═════════ */
/* ───────── Shared form controls (sign-in, sign-up, checkout) ───────── */
.g-field {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-box);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.g-field::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.g-field:focus,
.g-field:focus-visible {
  border-color: var(--color-brand);
  box-shadow: var(--focus-ring);
}

.g-field[aria-invalid="true"] {
  border-color: var(--color-detected);
}

.g-field-error {
  margin-top: 6px;
  color: #ff8a80;
  font-size: 12px;
  font-weight: 500;
}

.g-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.g-check input {
  position: absolute;
  opacity: 0;
}

.g-check-box {
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1px solid rgba(104, 111, 125, 0.6);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
  transition: 0.15s linear;
}

.g-check input:checked + .g-check-box {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

.g-check input:checked + .g-check-box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.g-check input:focus-visible + .g-check-box {
  border-color: var(--color-brand);
  box-shadow: var(--focus-ring);
}

.g-social-btn {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 36px;
  overflow: hidden;
  border-radius: var(--radius-box);
  color: #fff;
  font-size: 13px;
  line-height: 36px;
  font-weight: 400;
  transition: var(--ease-button);
}

.g-social-btn:hover {
  filter: brightness(1.08);
}

.g-social-btn[data-provider="discord"] {
  background: var(--color-discord);
}

.g-social-btn[data-provider="google"] {
  background: #ea4335;
}

.g-social-btn-icon {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  border-radius: 5px 0 0 5px;
  background: rgba(0, 0, 0, 0.15);
}

.g-social-btn-icon i {
  font-size: 18px;
  line-height: 1;
}

.g-social-btn-text {
  flex: 1 1 auto;
  padding: 0 12px;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
}

.g-demo-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border: 1px dashed rgba(255, 217, 102, 0.45);
  border-radius: var(--radius-box);
  background: rgba(255, 217, 102, 0.08);
  color: #ffe9a8;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

.g-demo-note svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

/* ───────── Sign-in dropdown ───────── */
.g-signin {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 10070;
  width: 600px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: var(--color-area-light);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  color: var(--color-muted);
  font-size: 13px;
  line-height: 15px;
  font-weight: 700;
}

.g-signin-cols {
  display: flex;
}

.g-signin-main {
  flex: 0 0 52%;
  padding: 26px;
}

.g-signin-side {
  flex: 1 1 auto;
  padding: 16px 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.g-signin h4,
.g-signup-side h2 {
  color: #fff;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}

.g-signin h4 {
  margin-bottom: 29px;
}

.g-signin-row {
  margin-bottom: 12px;
}

.g-signin .g-field {
  height: 41px;
  line-height: 15px;
}

.g-signin .g-check-label {
  color: var(--color-muted);
  font-size: 13px;
  line-height: 15px;
}

.g-signin .g-check-desc {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  opacity: 0.65;
}

.g-signin-submit {
  width: 100%;
  height: 38.8px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-box);
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  font-size: 13px;
  font-weight: 500;
  transition: var(--ease-button);
}

.g-signin-submit:hover {
  background-image: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
}

.g-signin-forgot {
  margin-top: 8px;
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  text-align: right;
}

.g-signin-forgot button:hover {
  color: var(--color-brand);
}

.g-social-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.g-signin-side .g-social-stack {
  padding: 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
}

/* ───────── Modal shell + sign-up dialog ───────── */
.g-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10080;
  background: rgba(0, 0, 0, 0.55);
}

.g-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10090;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: var(--color-area-light);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  color: var(--color-muted);
}

.g-dialog[data-size="sm"] {
  width: min(520px, calc(100vw - 32px));
}

.g-dialog-inner {
  position: relative;
  padding-top: 18px;
}

.g-dialog-title {
  padding: 0 48px 0 20px;
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.g-dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  color: var(--color-muted-dark);
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
  transition: 0.2s linear;
}

.g-dialog-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.g-dialog-hr {
  margin: 14px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.g-dialog-body {
  padding: 0 20px 20px;
}

.g-signup-cols {
  display: flex;
  padding-bottom: 8px;
}

.g-signup-form {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 12px;
}

.g-signup-fields {
  padding: 0 20px;
}

.g-signup-row {
  margin-bottom: 14px;
}

.g-signup-label {
  display: inline-block;
  margin-bottom: 5px;
  padding-top: 5px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.g-signup-required {
  margin-left: 10px;
  color: var(--color-brand);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.g-signup-form .g-field {
  height: 47px;
}

.g-signup-form .g-check {
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.5;
}

.g-signup-form .g-check-box {
  margin-top: 0;
}

.g-signup-form .g-check a {
  color: var(--color-brand);
  font-weight: 700;
}

.g-signup-foot {
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.g-signup-submit {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-box);
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  transition: var(--ease-button);
}

.g-signup-submit:hover {
  background-image: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
}

.g-signup-side {
  flex: 0 0 320px;
  padding: 8px 18px 18px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.g-signup-side h2 {
  margin-bottom: 6px;
}

.g-signup-side p {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .g-signin {
    width: min(600px, calc(100vw - 30px));
  }

  .g-signin-cols,
  .g-signup-cols {
    display: block;
  }

  .g-signin-side,
  .g-signup-side {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

  .g-signup-side {
    padding: 18px 20px;
  }

  .g-signup-form {
    padding-right: 0;
  }
}

/* ───────── Lightbox ───────── */
.g-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.82);
  cursor: zoom-out;
}

.g-lightbox-stage {
  width: min(1200px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  cursor: default;
}

.g-lightbox-stage > * {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.g-lightbox-close,
.g-lightbox-arrow {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.15s ease;
}

.g-lightbox-close:hover,
.g-lightbox-arrow:hover {
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

.g-lightbox-close {
  top: 20px;
  right: 20px;
}

.g-lightbox-arrow[data-dir="prev"] {
  left: 20px;
}

.g-lightbox-arrow[data-dir="next"] {
  right: 20px;
}

/* ───────── Toasts ───────── */
/* Bottom-left, so toasts never cover the chat bubble or the cart drawer's total. */
.g-toasts {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 30000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  pointer-events: none;
}

.g-toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: min(380px, calc(100vw - 32px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--color-brand);
  border-radius: 8px;
  background: #191c23;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  color: #d8deef;
  font-size: 13px;
  line-height: 1.5;
  pointer-events: auto;
}

.g-toast[data-kind="success"] {
  border-left-color: var(--color-feature);
}

.g-toast[data-kind="error"] {
  border-left-color: var(--color-detected);
}

.g-toast svg {
  flex: 0 0 auto;
  margin-top: 1px;
}

.g-toast strong {
  display: block;
  color: #fff;
  font-weight: 600;
}

.g-toast button {
  flex: 0 0 auto;
  margin-left: 4px;
  color: var(--color-muted);
}

.g-toast button:hover {
  color: #fff;
}

@media (max-width: 979px) {
  .g-toasts {
    bottom: 16px;
    left: 16px;
  }

  body[data-tabbar="true"] .g-toasts {
    bottom: calc(var(--tabbar-height) + 16px);
  }
}

/* ───────── Cart drawer + checkout ───────── */
.g-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10090;
  display: flex;
  flex-direction: column;
  width: min(440px, 100vw);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--color-area);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.45);
}

.g-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.g-drawer-head h2 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.g-drawer-head button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  color: var(--color-muted);
  transition: 0.2s linear;
}

.g-drawer-head button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.g-drawer-body {
  flex: 1 1 auto;
  padding: 16px 22px;
  overflow-y: auto;
}

.g-drawer-foot {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
}

.g-cart-line {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-box);
  background: var(--color-area-light);
}

.g-cart-line + .g-cart-line {
  margin-top: 12px;
}

.g-cart-line-art {
  flex: 0 0 84px;
  height: 52px;
  overflow: hidden;
  border-radius: 4px;
}

.g-cart-line-art > * {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-cart-line-info {
  flex: 1 1 auto;
  min-width: 0;
}

.g-cart-line-title {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-cart-line-variant {
  color: #9ea4b1;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g-cart-line-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.g-cart-line-price {
  color: var(--color-price);
  font-size: 14px;
  font-weight: 600;
}

.g-cart-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.g-cart-step button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-box);
  background: rgba(var(--cl-accent), 0.2);
  color: var(--color-brand);
  transition: 0.2s ease;
}

.g-cart-step button:hover:not(:disabled) {
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

.g-cart-step button:disabled {
  opacity: 0.5;
}

.g-cart-step button[data-remove="true"] {
  margin-left: 4px;
  background: rgba(244, 67, 54, 0.15);
  color: var(--color-detected);
}

.g-cart-step button[data-remove="true"]:hover {
  background: var(--color-detected);
  color: #fff;
}

.g-cart-step span {
  min-width: 22px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.g-cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  color: #c7d0e0;
  font-size: 14px;
  font-weight: 500;
}

.g-cart-total strong {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
}

.g-cart-checkout {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-box);
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  font-size: 16px;
  font-weight: 500;
  transition: 0.15s linear;
}

.g-cart-checkout:hover:not(:disabled) {
  background-image: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
}

.g-cart-checkout:disabled {
  opacity: 0.5;
}

.g-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 56px 0;
  color: #9ea4b1;
  font-size: 14px;
  text-align: center;
}

.g-checkout-summary {
  margin: 14px 0;
  padding: 14px;
  border-radius: var(--radius-box);
  background: var(--color-area);
}

.g-checkout-summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #d8deef;
  font-size: 13px;
  line-height: 2;
}

.g-checkout-summary li:last-child {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #2d2f39;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.g-checkout-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0 16px;
}

.g-checkout-method {
  padding: 12px 8px;
  border-radius: var(--radius-box);
  background: #2f3441;
  color: #9ea4b1;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g-checkout-method:hover {
  background: rgba(var(--cl-accent), 0.2);
  color: #fff;
}

.g-checkout-method[aria-checked="true"] {
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

/* ───────── Chat bubble ───────── */
.g-chat-bubble {
  position: fixed;
  right: 24px;
  bottom: 20px;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1972f5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 5px 30px rgba(0, 0, 0, 0.1);
  color: #fff;
  transition: transform 0.15s ease;
}

.g-chat-bubble:hover {
  transform: scale(1.05);
}

.g-chat-panel {
  position: fixed;
  right: 24px;
  bottom: 86px;
  z-index: 9001;
  display: flex;
  flex-direction: column;
  width: min(360px, calc(100vw - 28px));
  height: min(480px, calc(100vh - 140px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: var(--color-area);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.g-chat-head {
  padding: 18px 18px 16px;
  background: #1972f5;
  color: #fff;
}

.g-chat-head strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.g-chat-head span {
  font-size: 12px;
  opacity: 0.85;
}

.g-chat-log {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
}

.g-chat-msg {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 12px 12px 12px 4px;
  background: var(--color-area-lighter);
  color: #d8deef;
  font-size: 13px;
  line-height: 1.5;
}

.g-chat-msg[data-from="me"] {
  align-self: flex-end;
  border-radius: 12px 12px 4px 12px;
  background: #1972f5;
  color: #fff;
}

.g-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.g-chat-form .g-field {
  height: 40px;
  padding: 8px 12px;
  font-size: 13px;
}

.g-chat-form button {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 10px;
  background: #1972f5;
  color: #fff;
}

@media (max-width: 979px) {
  body[data-tabbar="true"] .g-chat-bubble {
    right: 14px;
    bottom: calc(var(--tabbar-height) + 14px);
  }

  body[data-tabbar="true"] .g-chat-panel {
    right: 14px;
    bottom: calc(var(--tabbar-height) + 80px);
  }
}


/* ═════════ theme chrome (tools/css/10-chrome.css): header, banner, breadcrumb bar, footer, tab bar ═════════
 * Rules the measured design does not have because they only exist in the SellAuth theme:
 * generated wordmark, uploaded logo, mobile header controls and menu, search trigger, Canvas pickers
 * inside the new header, and the tab bar living next to Canvas drawers and toasts.
 */

/* ───────── logo ───────── */
.g-wordmark {
  --wm: var(--wm-base, 1);
  display: inline-flex;
  align-items: center;
  gap: calc(8px * var(--wm, 1));
  min-width: 0;
  height: calc(50px * var(--wm, 1));
}

.g-wordmark-mark {
  flex: 0 0 auto;
  width: calc(46px * var(--wm, 1));
  height: calc(46px * var(--wm, 1));
}

.g-wordmark-text {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-family: var(--ff-heading);
  font-size: calc(39px * var(--wm, 1) * var(--wm-fit, 1));
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-wordmark-accent {
  color: var(--color-brand);
}

/* An uploaded shop logo fills the 50px logo box of the design (40px in the footer). */
.g-logo-img {
  display: block;
  width: auto;
  max-width: min(260px, 56vw);
  height: 50px;
  object-fit: contain;
}

.g-logo-name {
  overflow: hidden;
  color: #fff;
  font-family: var(--ff-heading);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Footer column titles are h2 (they follow the page h1); same look as the design's h3. */
.g-ftr-nav h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}

/* The breadcrumb bar clips its content, so focus rings are drawn inside the links. */
.g-crumbs a:focus-visible {
  outline-offset: -2px;
}

/* No smooth page scrolling for visitors who asked for reduced motion (Canvas sets scroll-smooth on <html>). */
@media (prefers-reduced-motion: reduce) {
  html.scroll-smooth {
    scroll-behavior: auto;
  }
}

/* Keyboard focus never ends up hidden behind the fixed tab bar. */
@media (max-width: 979px) {
  html:has(.g-tabbar) {
    scroll-padding-bottom: calc(var(--tabbar-height) + 12px);
  }
}

html:has(.sa-header.sticky) {
  scroll-padding-top: calc(var(--header-top) + var(--header-nav) + 12px);
}

/* Skip link: sits outside .g-scope, so it gets the design's type here. */
.g-skip-link {
  font-size: 13px;
  line-height: 1.5;
}

/* ───────── header ───────── */
/* "Stick to top": the first row is transparent on the design, so a sticky header needs the page colour behind it. */
.sa-header.sticky {
  background: var(--color-page);
}

.g-hdr-logo {
  gap: 10px;
  min-width: 0;
}

.g-usernav > li {
  display: flex;
  align-items: center;
}

/* Font Awesome <i> icons where the design used inline SVG. */
i.g-usernav-caret {
  height: auto;
  font-size: 15px;
  line-height: 1;
}

i.g-nav-chevron {
  display: inline-block;
  width: 12px;
  height: 12px;
  font-size: 12px;
  line-height: 12px;
  text-align: center;
}

/*
 * Icon boxes: the design's icons were 16px wide, the Store icon 18px and the Reviews icon 20px.
 * Font Awesome's free glyphs are narrower, so the boxes get those widths and the link widths match the design.
 */
.g-nav-icon {
  min-width: 16px;
}

.g-nav-icon:has(> .fa-bag-shopping) {
  width: 18px;
}

.g-nav-icon:has(> .fa-face-grin-hearts) {
  width: 20px;
}

.g-usernav-cart i {
  font-size: 16px;
  line-height: 1;
}

.g-nav-menu a i {
  width: 16px;
  color: var(--color-muted);
  font-size: 14px;
  text-align: center;
}

/* Canvas language / currency picker and scheme toggle inside the account row. */
.g-usernav .sa-locale-picker,
.g-mobile-menu .sa-locale-picker {
  height: 41px;
  border-color: var(--color-area-lighter);
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  color: #fff;
  font-size: 13px;
}

.g-usernav-locale {
  margin-right: 4px;
}

/* Dropdown motion (Alpine x-transition classes). */
.g-menu-enter {
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.g-menu-leave {
  transition: opacity 0.12s ease-in, transform 0.12s ease-in;
}

.g-menu-from {
  opacity: 0;
  transform: translateY(8px);
}

.g-menu-to {
  opacity: 1;
  transform: translateY(0);
}

/* The search box is a button that opens the SellAuth search dialog. */
button.g-search-form {
  width: 100%;
  cursor: pointer;
  text-align: left;
}

span.g-search-input {
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #939cb1;
  font-size: 15px;
  white-space: nowrap;
}

.g-search:hover,
.g-search:focus-within {
  border-color: rgba(var(--cl-accent), 0.6);
}

/* Small screens: account links, navigation and tab-less search are gone, so the essentials move into the first row. */
.g-hdr-mobile {
  position: relative;
  z-index: 60;
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.g-hdr-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  transition: background 0.15s linear;
}

.g-hdr-icon:hover,
.g-hdr-icon[aria-expanded="true"] {
  background: var(--color-brand);
}

.g-hdr-mobile .g-usernav-cart {
  margin-right: 0;
}

.g-mobile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 30;
  max-height: calc(100vh - var(--header-top) - var(--header-nav));
  padding: 8px var(--gutter) 18px;
  overflow-y: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #191c23;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.g-mobile-menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.g-mobile-menu-list a i {
  flex: 0 0 20px;
  width: 20px;
  color: var(--color-muted);
  font-size: 16px;
  text-align: center;
}

.g-mobile-menu-list a:hover i,
.g-mobile-menu-list a[data-active="true"] i {
  color: var(--color-brand);
}

.g-mobile-menu-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0 4px 6px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.g-mobile-menu-sub a {
  padding: 11px 4px 11px 34px;
  color: #d8deef;
  font-size: 14px;
}

.g-mobile-menu-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

@media (min-width: 980px) {
  .g-mobile-menu {
    display: none !important;
  }
}

@media (max-width: 979px) {
  .g-hdr-mobile {
    display: flex;
  }

  /* The design leaves the second row empty here; in the theme it carries the search trigger. */
  .g-hdr .g-search {
    display: block;
    flex: 1 1 auto;
    width: auto;
  }
}

@media (max-width: 480px) {
  .g-hdr-logo .g-wordmark {
    --wm: 0.8;
  }

  .g-hdr-logo .g-logo-img {
    height: 40px;
  }
}

@media (max-width: 360px) {
  .g-hdr-logo .g-wordmark {
    --wm: 0.68;
  }
}

/* Room for three header icons (cart, account, menu) next to the name on the narrowest phones. */
@media (max-width: 340px) {
  .g-hdr-logo .g-wordmark {
    --wm: 0.56;
  }
}

/* The mobile menu ends above the fixed tab bar, so its last row (account, language) can always be reached. */
@media (max-width: 979px) {
  body:has(.g-tabbar) .g-mobile-menu {
    max-height: calc(100vh - var(--header-top) - var(--header-nav) - var(--tabbar-height));
    max-height: calc(100dvh - var(--header-top) - var(--header-nav) - var(--tabbar-height));
  }

  /* Footer columns never ask for more than the screen is wide (the design's 300px minimum overflows at 320px). */
  .g-ftr-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .g-ftr-nav {
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  }
}

/* ───────── banner + breadcrumb bar ───────── */
.g-hero-desc {
  white-space: pre-line;
}

/* The banner's lower 55px are the breadcrumb bar's place. With the bar switched off the page starts below the banner. */
@media (min-width: 980px) {
  .g-hero[data-crumbs="off"] {
    margin-bottom: 0;
  }
}

/* On narrow screens the headline runs across the artwork, so the artwork steps back. */
@media (max-width: 979px) {
  .g-hero-art {
    opacity: 0.6;
  }
}

@media (max-width: 640px) {
  .g-hero-art {
    opacity: 0.45;
  }
}

.g-crumbs-wrap {
  position: relative;
  z-index: 1;
}

.g-crumbs-aside a i {
  margin-right: 6.5px;
}

/*
 * Page content sits above the banner's lower edge, as on the design (the banner pulls the next element up by 55px).
 * No z-index on purpose: SellAuth dialogs inside the page content must stay above the header.
 */
.g-main {
  position: relative;
}

/*
 * Space above the footer. In the design the last block's bottom margin and the footer's top margin collapse into
 * one 26px gap. Here #app is a flex column (it keeps the footer at the bottom of short pages), and margins never
 * collapse across flex items. So the footer drops its own margin and an empty block at the end of the page content
 * brings it back: its 26px top margin collapses with the last block's bottom margin, giving the larger of the two.
 */
.g-main {
  display: flow-root;
}

.g-main::after {
  content: "";
  display: block;
  margin-top: 26px;
}

.g-ftr {
  margin-top: 0;
}

/* The design gives .g-page "z-index: 1" to lift it over the banner. Here .g-main already comes after the banner,
   and a z-index on every page wrapper would trap the dialogs rendered inside it below the header and the tab bar. */
.g-main .g-page {
  z-index: auto;
}

/* ───────── footer ───────── */
.g-ftr-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
}

.g-ftr-logo .g-logo-img {
  height: 40px;
}

.g-ftr-mail-send:hover {
  background: var(--color-brand-soft);
}

/* Footer boxes, mobile menu and tab bar follow the colour settings instead of the design's fixed greys. */
.g-ftr-social a,
.g-ftr-mail {
  background: var(--color-area);
}

.g-ftr-social a:hover {
  background: var(--color-area-light);
}

.g-mobile-menu {
  background: var(--color-area);
}

.g-tabbar {
  background: var(--color-page);
}

.g-ftr-about p {
  white-space: pre-line;
}

.g-ftr-nav .g-ftr-nav-title {
  padding: 0;
}

.g-ftr-links {
  flex-wrap: wrap;
  align-items: center;
}

/* The back-to-top button stays in the middle of the bar whatever the widths of the links and the copyright line. */
@media (min-width: 980px) {
  .g-ftr-bottom .g-ftr-links,
  .g-ftr-bottom .g-ftr-copy {
    flex: 1 1 0%;
    min-width: 0;
  }
}

.g-ftr-links .sa-locale-picker {
  height: 36px;
  border-color: var(--color-area-lighter);
  border-radius: var(--radius-box);
  color: #fff;
  font-size: 13px;
}

@media (max-width: 979px) {
  .g-ftr-links {
    justify-content: center;
  }
}

/* ───────── tab bar ───────── */
/* Above page content and header, below SellAuth drawers and dialogs (z-index 40 and up). */
.g-tabbar {
  z-index: 30;
}

.g-tabbar a i {
  font-size: 17px;
  line-height: 1;
}

@media (max-width: 979px) {
  .g-tabbar {
    display: block;
  }

  body:has(.g-tabbar) {
    padding-bottom: var(--tabbar-height);
  }

  /* SellAuth pop-ups that sit at the bottom edge move up by the height of the bar. */
  body:has(.g-tabbar) .sa-social-proof,
  body:has(.g-tabbar) .sa-toasts {
    bottom: calc(var(--tabbar-height) + 1rem);
  }
}


/* ═════════ shared building blocks (tools/css/15-shared.css) ═════════
 * Rules for the snippets every area uses: status-pill.njk, category-sidebar.njk, category-art.njk, product-art.njk.
 */

/* Status pill: the label is printed in the status colour, the 20% wash behind it is drawn from currentColor. */
.g-status-pill {
  position: relative;
  isolation: isolate;
}

.g-status-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: currentColor;
  opacity: 0.2;
}

/* A status is free text the merchant types: a long one is cut with an ellipsis instead of breaking its row. */
.g-status-pill {
  max-width: 100%;
}

.g-status-pill > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g-status-pill > i {
  flex: 0 0 auto;
}

/*
 * Text on accent-filled controls follows the "Text on Accent" setting. The design wrote white on its blue; a merchant
 * with a light accent colour needs dark text there.
 */
.g-btn-primary,
.g-signin-submit,
.g-cart-checkout,
.g-usernav-cart-count,
.g-ftr-top,
.g-ftr-mail-send,
.g-why-icon,
.g-sup-badge,
.g-video-play,
.g-pdp-buy,
.g-side-item[aria-current="page"],
.g-hdr-icon:hover,
.g-hdr-icon[aria-expanded="true"],
.g-usernav-cart:hover,
.g-acct-tabsbox .g-tabs-tab[aria-current="page"] {
  color: rgb(var(--cl-on-accent));
}

/* Empty states: the icon in the tinted square. Areas may size their own. */
.g-empty-icon i {
  font-size: 26px;
  line-height: 1;
}

/* Generated artwork fills its frame like an image would. */
.g-category-art,
.g-product-art {
  display: block;
  width: 100%;
  height: 100%;
}

.g-category-art text,
.g-product-art text {
  font-family: var(--ff-heading);
}

/* Categories box: icons of the mobile toggle (Font Awesome <i> instead of inline SVG). */
.g-side-toggle i {
  font-size: 13px;
  line-height: 1;
}

.g-side-toggle span {
  flex: 1 1 auto;
}

.g-side-toggle[aria-expanded="true"] .fa-caret-down {
  transform: rotate(180deg);
}


/* ═════════ home page sections (tools/css/20-home.css) ═════════
 * Category box, "Why Choose" block, media rail, reviews rail and the review card.
 * The measured design rules are in the generated part above; this file adds what only the SellAuth theme has:
 * editor settings (cards per row, alignment, columns, variants), the lite-youtube embed inside the video card,
 * and the SellAuth parts of a review (verified badge, photo, shop reply, purchased products).
 * Rules that adjust a design class of one block are scoped to its component (.sa-categories, .sa-features,
 * .sa-media-gallery), so the same class stays untouched wherever else it is used. The rails are matched through
 * the data-align attribute only these components set; the review card rules go with snippets/feedback-card.njk,
 * which the reviews page and the product page render as well.
 */

/* ───────── category box (components/categories.njk) ───────── */
/*
 * "Cards per Row (at most)": the design fills a row with cards of at least 300px; --g-games-max caps how many
 * may share it (the 0.1px keeps rounding from dropping the last card of a full row). On screens narrower than
 * one 300px card the card shrinks instead of pushing the page sideways.
 */
.sa-categories .g-games {
  grid-template-columns: repeat(
    auto-fill,
    minmax(min(100%, max(300px, calc((100% - (var(--g-games-max, 4) - 1) * 13px) / var(--g-games-max, 4) - 0.1px))), 1fr)
  );
}

/* An uploaded category image fills the banner as the shop-wide "Group Image Fit" setting says (cover or contain). */
.sa-categories .g-game-img > img {
  object-fit: var(--group-image-fit, cover);
}

/* A long category name ends in an ellipsis inside its chip instead of leaving the card. */
.sa-categories .g-game-name {
  max-width: calc(100% - 20px);
}

.sa-categories .g-game-name > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* "Show Category Images" off: a compact tile with the name chip and, when the category has one, its description. */
.sa-categories .g-games[data-images="false"] .g-game > a {
  min-height: 70px;
  padding: 18px 12px;
}

.sa-categories .g-games[data-images="false"] .g-game-name {
  position: static;
  max-width: 100%;
}

.g-game-desc {
  max-width: 100%;
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  text-align: center;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

/* The tile turns accent-coloured on hover; the description stays readable on it. */
.g-game > a:hover .g-game-desc,
.g-game > a:focus-visible .g-game-desc {
  color: #fff;
}

/* Optional header inside the box (title and subtitle settings), drawn like the box headers of the design. */
.g-games-box[data-titled="true"] {
  flex-direction: column;
}

.g-games-head {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.g-games-head[data-align="center"] {
  text-align: center;
}

.g-games-head[data-align="right"] {
  text-align: right;
}

.g-games-sub {
  margin-top: 6px;
  font-size: 14.3px;
  line-height: 1.5;
}

/* ───────── "Why Choose" block (components/features.njk) ───────── */
/* Card headings are <h3> in the theme (the block title is the <h2>); same look as the design's card heading. */
.sa-features .g-why-card h3 {
  color: #fff;
  font-size: 23px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
}

/* Optional intro line under the title. */
.g-why-sub {
  max-width: 760px;
  margin-inline: auto;
  font-size: 14.3px;
  line-height: 1.5;
  text-align: center;
  white-space: pre-line;
}

/* Without a title or intro the cards start the block: no divider line above them. */
.sa-features .g-why-grid:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* "Header Alignment" */
.sa-features .g-why[data-align="left"] .g-why-title,
.sa-features .g-why[data-align="left"] .g-why-sub {
  margin-inline: 0 auto;
  text-align: left;
}

.sa-features .g-why[data-align="right"] .g-why-title,
.sa-features .g-why[data-align="right"] .g-why-sub {
  margin-inline: auto 0;
  text-align: right;
}

/* "Card Text Alignment" */
.sa-features .g-why-grid[data-align="left"] .g-why-card-head {
  align-items: flex-start;
}

.sa-features .g-why-grid[data-align="left"] .g-why-card h3,
.sa-features .g-why-grid[data-align="left"] .g-why-card p {
  text-align: left;
}

/* "Columns" (the design has three) */
.sa-features .g-why-grid[data-cols="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sa-features .g-why-grid[data-cols="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1280px) {
  .sa-features .g-why-grid[data-cols="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .sa-features .g-why-grid[data-cols] {
    grid-template-columns: 1fr;
  }
}

/* ───────── rails (components/media-gallery.njk, components/feedbacks.njk) ─────────
 * Both components mark their rail with data-align and data-layout, so these rules only reach rails drawn by them.
 */
/* Title, optional subtitle and rating line form one block; the two buttons stay at the edge. */
.g-rail-heading {
  min-width: 0;
}

.g-rail-sub {
  margin-top: 6px;
  font-size: 14.3px;
  line-height: 1.5;
  text-align: center;
}

/* Average rating line under the title of the reviews block ("Show Rating Summary"). */
.g-rail-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  color: #98a3ba;
  font-size: 13px;
  line-height: 1.2;
}

/* Link to the reviews page under the title of the reviews block ("Show Link to All Reviews"). */
.g-rail-more {
  margin-top: 8px;
  text-align: center;
}

.g-rail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-brand);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.g-rail-link:hover,
.g-rail-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.g-rail-link i {
  font-size: 11px;
  line-height: 1;
}

/* "Header Alignment" */
.g-rail[data-align="left"] .g-rail-title,
.g-rail[data-align="left"] .g-rail-sub,
.g-rail[data-align="left"] .g-rail-more {
  text-align: left;
}

.g-rail[data-align="left"] .g-rail-rating {
  justify-content: flex-start;
}

.g-rail[data-align="right"] .g-rail-title,
.g-rail[data-align="right"] .g-rail-sub,
.g-rail[data-align="right"] .g-rail-more {
  text-align: right;
}

.g-rail[data-align="right"] .g-rail-rating {
  justify-content: flex-end;
}

@media (min-width: 641px) {
  /* Keeps a long title clear of the two buttons (2 x 42px + 10px gap, plus air). */
  .g-rail[data-align] .g-rail-head {
    padding-inline: 104px;
  }

  /* Left: title at the left edge, buttons stay right. */
  .g-rail[data-align="left"] .g-rail-head {
    justify-content: flex-start;
    padding-inline: 0 104px;
  }

  /* Right: title at the right edge, so the buttons move to the left one. */
  .g-rail[data-align="right"] .g-rail-head {
    justify-content: flex-end;
    padding-inline: 104px 0;
  }

  .g-rail[data-align="right"] .g-rail-buttons {
    right: auto;
    left: 0;
  }

  /* A rail without a title: the buttons alone, in the normal flow at the right. */
  .g-rail[data-align] .g-rail-head[data-bare="true"] {
    justify-content: flex-end;
    padding-inline: 0;
  }

  .g-rail-head[data-bare="true"] .g-rail-buttons {
    position: static;
    transform: none;
  }

  /* "Items per Row" of the media rail on large screens (the design shows three). */
  .g-rail-track[data-per="2"] > .g-rail-slide {
    flex-basis: calc(50% - 10px);
  }
}

@media (min-width: 981px) {
  .g-rail-track[data-per="4"] > .g-rail-slide {
    flex-basis: calc(25% - 15px);
  }
}

/*
 * Small screens: the design lets a rail run from edge to edge under its centred title. A "Grid" layout and
 * a title aligned to one side keep the page gutter of the design instead (15px, 10px on phones).
 */
@media (max-width: 979px) {
  .g-rail[data-layout="grid"] {
    padding-inline: 15px;
  }

  .g-rail[data-layout="rail"][data-align="left"] .g-rail-head {
    padding-inline-start: 15px;
  }

  .g-rail[data-layout="rail"][data-align="right"] .g-rail-head {
    padding-inline-end: 15px;
  }
}

@media (max-width: 767px) {
  .g-rail[data-layout="grid"] {
    padding-inline: 10px;
  }

  .g-rail[data-layout="rail"][data-align="left"] .g-rail-head {
    padding-inline-start: 10px;
  }

  .g-rail[data-layout="rail"][data-align="right"] .g-rail-head {
    padding-inline-end: 10px;
  }
}

@media (max-width: 640px) {
  /* Title and buttons are stacked here; both follow the alignment and share the gutter. */
  .g-rail[data-align="left"] .g-rail-head {
    align-items: flex-start;
  }

  .g-rail[data-align="right"] .g-rail-head {
    align-items: flex-end;
  }

  .g-rail[data-layout="rail"][data-align="left"] .g-rail-head,
  .g-rail[data-layout="rail"][data-align="right"] .g-rail-head {
    padding-inline: 10px;
  }
}

/* "Grid" layout of the reviews block: a cell never grows past its column. */
.sa-feedbacks-item {
  min-width: 0;
}

/* "Grid" layout of the media block: the same cards, all visible at once. */
.g-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.g-media-grid[data-cols="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.g-media-grid[data-cols="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .g-media-grid[data-cols] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .g-media-grid[data-cols] {
    grid-template-columns: 1fr;
  }
}

/* ───────── video card with the lite-youtube embed and with images ───────── */
/* The embed fills the 16:9 frame of the design; its own title bar is replaced by the design's caption overlay. */
.sa-media-gallery .g-video > lite-youtube {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.sa-media-gallery .g-video > lite-youtube::before {
  display: none;
}

.sa-media-gallery .g-video > img {
  object-fit: cover;
}

/*
 * Caption overlay: as tall as the design's title bar, readable on a bright thumbnail, never in the way of
 * pressing play or opening the image, and gone once the video runs.
 */
.sa-media-gallery .g-video-meta {
  align-items: flex-start;
  min-height: 77px;
  pointer-events: none;
}

.sa-media-gallery .g-video-meta-title {
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.sa-media-gallery lite-youtube.lyt-activated > .g-video-meta {
  display: none;
}

/*
 * Play button: lite-youtube styles ".lyt-playbtn" as a full-size red YouTube badge (its stylesheet loads after
 * this one), so the design's button needs the longer selector to win.
 */
.sa-media-gallery .g-video lite-youtube > .lyt-playbtn.g-video-play {
  display: flex;
  width: 68px;
  height: 48px;
  background: var(--color-brand);
  filter: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.sa-media-gallery .g-video:hover lite-youtube > .lyt-playbtn.g-video-play,
.sa-media-gallery .g-video lite-youtube > .lyt-playbtn.g-video-play:focus-visible {
  filter: brightness(1.12);
  transform: translate(-50%, -50%) scale(1.05);
}

/* ───────── review card (snippets/feedback-card.njk) ───────── */
/* As a grid or flex item the card takes the width of its cell, never more. */
.g-review {
  min-width: 0;
}

/* The purchased-products line sits at the bottom edge, so cards of one row end alike. */
.g-review-body {
  display: flex;
  flex-direction: column;
}

.g-review-main {
  flex: 1 1 auto;
  min-width: 0;
}

/*
 * Card head: name and stars on the first line as in the design; the line below (date, verified badge) spans
 * the whole card width, so the badge has room next to the date on narrow cards too.
 */
.g-review-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0 16px;
}

.g-review-head > .g-review-name {
  grid-area: 1 / 1;
}

.g-review-head > .g-review-stars {
  grid-area: 1 / 2;
}

.g-review-head > .g-review-meta {
  grid-area: 2 / 1 / 3 / 3;
}

/* Avatar of a review without a name: a plain icon on the design's avatar disc. */
.g-review-avatar--plain {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a3ba;
  font-size: 18px;
  line-height: 1;
}

/* The name ends in an ellipsis when it is too long; a checkmark-only badge after it always stays visible. */
.g-review-name {
  display: flex;
  align-items: center;
  gap: 6px;
}

.g-review-name > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Date and verified badge share the meta line; the badge label gives way first when the card is narrow. */
.g-review-meta {
  overflow: hidden;
}

.g-review-meta > span {
  flex: 0 0 auto;
}

.g-review-verified {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
}

.g-review-meta > .g-review-verified {
  flex: 0 1 auto;
  min-width: 0;
}

.g-review-verified i {
  flex: 0 0 auto;
  color: rgb(var(--cl-success));
  font-size: 12px;
  line-height: 1;
}

.g-review-name .g-review-verified i {
  font-size: 14px;
}

.g-review-verified > span:not(.sr-only) {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Photo a customer attached (opens in the lightbox). */
.g-review-photo {
  display: block;
  width: 80px;
  height: 80px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-box);
  object-fit: cover;
}

/* The shop's reply: an inset panel with an accent line. */
.g-review-reply {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.g-review-reply-text {
  padding-left: 10px;
  border-left: 2px solid var(--color-brand);
  color: #c7d0e0;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.g-review-reply-meta {
  margin-top: 8px;
  color: #98a3ba;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.g-review-reply-meta > span {
  color: var(--color-brand);
}

/* "Read more" / "Show less" */
.g-review-more {
  margin-top: 6px;
  color: var(--color-brand);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.g-review-more:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/*
 * Purchased products: small thumbnails and the name of the first item on one line, cut with an ellipsis.
 * "width: 0; min-width: 100%" lets the line fill the card without a long product name widening the card
 * (which would push a one-column grid of cards past a phone screen).
 */
.g-review-items {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 0;
  min-width: 100%;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  color: #98a3ba;
  font-size: 12px;
  line-height: 1.5;
}

.g-review-items > p {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-review-thumb {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}

.g-review-thumb--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  font-size: 11px;
  line-height: 1;
}

/* "Card Style": classic is the card of the design; the three others vary it. */
.g-review--soft {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.g-review-quote {
  display: block;
  margin-bottom: 6px;
  color: rgba(var(--cl-accent), 0.5);
  font-size: 18px;
  line-height: 1;
}

.g-review--quote .g-review-text {
  font-size: 15px;
}

.g-review--glow {
  position: relative;
  overflow: hidden;
}

.g-review--glow > * {
  position: relative;
}

.g-review--glow::before {
  content: "";
  position: absolute;
  top: -64px;
  right: -64px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(var(--cl-accent), 0.15);
  filter: blur(70px);
  pointer-events: none;
}

.g-review--glow::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 0;
  left: 24px;
  height: 1px;
  background: linear-gradient(to right, rgba(var(--cl-accent), 0), rgba(var(--cl-accent), 0.4), rgba(var(--cl-accent), 0));
  pointer-events: none;
}


/* ═════════ product listings and product cards (tools/css/30-listing.css) ═════════
 * Rules the measured design does not have, because they only exist in the SellAuth theme:
 * image settings, badges, sold-out and group cards, the stock line, the one-line row, the filter box and its
 * mobile sheet, the group dialog, the pager as links, the home page product block and its carousel.
 * The card itself, the grid, the page head, the sidebar and the dialog shell come from the design (store.css,
 * layout.css, pages.css, overlays.css).
 */

/* ───────── product card ───────── */
/* A card fills its grid cell, so every card of a row ends on the same line and the buttons line up. */
.g-products > li {
  display: flex;
  min-width: 0;
}

.g-product {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.g-product-media {
  position: relative;
  flex: 0 0 auto;
}

.g-product-img {
  position: relative;
  background: var(--color-area);
}

/* Shape and fit follow the SellAuth settings "Product / Group Card Image Aspect Ratio" and "Product / Group Image Fit". */
.g-product-img.aspect-product-card-image {
  aspect-ratio: var(--product-card-image-aspect-ratio, 300 / 185);
}

.g-product-img.aspect-group-card-image {
  aspect-ratio: var(--group-card-image-aspect-ratio, 300 / 185);
}

.g-product-img > img.object-product-image {
  object-fit: var(--product-image-fit, cover);
}

.g-product-img > img.object-group-image {
  object-fit: var(--group-image-fit, cover);
}

.g-product-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.g-product-info {
  flex: 1 1 auto;
  min-width: 0;
}

/* Statuses are free text in SellAuth: a long one takes at most 60% of the row (the shared pill rules cut it with an ellipsis). */
.g-product-head .g-status-pill {
  max-width: 60%;
}

/* A group has no status; the slot shows how many products it holds. */
.g-product-count {
  color: #9ea4b1;
}

/* Optional line under the name: stock (setting "Show Stock"), the merchant's subtext, editor hints.
   The parts flow like text, each followed by a dot, so a long subtext wraps in the middle of the sentence. */
.g-product-meta {
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.g-product-meta > :not(:last-child)::after {
  content: "\00b7";
  margin: 0 4px 0 7px;
  color: var(--color-muted);
}

/* In the row the line never wraps. */
.g-product-row .g-product-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-product-stock[data-state="in"] {
  color: var(--color-feature);
}

.g-product-stock[data-state="out"] {
  color: #ff6b6b;
}

.g-product-stock i {
  margin-right: 2px;
  font-size: 10px;
  line-height: 1;
}

.g-product-note {
  color: var(--color-updating);
}

/* A long price (a range, a large amount) moves the button to its own line instead of squeezing it. */
.g-product-foot {
  flex-wrap: wrap;
  row-gap: 13px;
}

.g-price-tag {
  white-space: nowrap;
}

.g-price-plus {
  opacity: 0.6;
}

/* Reduced price: the old price sits above the current one inside the tag. */
.g-price-tag[data-was="true"] {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding-block: 0;
}

.g-price-was {
  color: #9ea4b1;
  font-size: 11px;
  font-weight: 500;
  text-decoration: line-through;
}

/* No price (an empty group in the visual editor). */
.g-price-tag[data-empty="true"] {
  background: var(--color-area-lighter);
  color: var(--color-muted);
}

.g-price-tag--sm {
  height: 36px;
  padding: 6px 12px;
  font-size: 13px;
}

.g-product-buy svg {
  flex: 0 0 auto;
}

.g-product-buy i {
  font-size: 13px;
  line-height: 1;
}

/* Sold out: the artwork fades and the button names the state instead of offering to buy. */
.g-product[data-stock="out"] .g-product-img > *,
.g-product-row[data-stock="out"] .g-product-img > * {
  filter: grayscale(0.8);
  opacity: 0.55;
}

.g-product[data-stock="out"] .g-product-buy {
  border: 1px dashed #3a3f4c;
  background: transparent;
  color: #ff6b6b;
}

.g-product[data-stock="out"] .g-product-buy:hover,
.g-product[data-stock="out"] .g-product-buy:focus-visible {
  border-color: transparent;
  background: var(--color-area-lighter);
  color: #fff;
}

/* SellAuth setting "Card Hover Effect": "border" is the hover of the design, "lift" adds Canvas's lift, "none" switches it off. */
.g-product[data-hover="none"]:hover,
.g-product-row[data-hover="none"]:hover {
  border-color: transparent;
  box-shadow: none;
}

/* Cards and rows on a raised surface (dialogs, the product box) step one tone down to stay visible. */
.g-dialog .g-product,
.g-dialog .g-product-row,
.g-pdp .g-product-row {
  background: var(--color-area);
}

/* ───────── badges (SellAuth product badges) ───────── */
.g-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.g-card-badges[data-pos="top-right"],
.g-card-badges[data-pos="top-left"] {
  position: absolute;
  top: 10px;
  max-width: calc(100% - 20px);
  pointer-events: none;
}

.g-card-badges[data-pos="top-right"] {
  right: 10px;
  justify-content: flex-end;
}

.g-card-badges[data-pos="top-left"] {
  left: 10px;
}

.g-card-badges[data-pos="inline"] {
  margin-bottom: 10px;
}

/* "Tinted" style: the badge colour as text on a dark wash of itself. Works for any colour format. */
.g-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  height: 26px;
  padding: 0 0.9em;
  border: 1px solid color-mix(in srgb, var(--g-badge, var(--color-brand)) 45%, transparent);
  border-radius: var(--radius-badge, 100vw);
  background: color-mix(in srgb, var(--g-badge, var(--color-brand)) 20%, var(--color-area));
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
  color: color-mix(in srgb, var(--g-badge, var(--color-brand)) 78%, #fff);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.g-card-badge[data-style="solid"] {
  border-color: transparent;
  background: var(--g-badge, var(--color-brand));
  color: rgb(var(--cl-on-accent, 255, 255, 255));
}

.g-card-badge i {
  font-size: 11px;
  line-height: 1;
}

/* ───────── one-line row (list layouts, group dialog list, upsells) ───────── */
.g-product-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.g-product-rows[data-dense="true"] {
  margin-bottom: 0;
}

/* The row (the link) is a size container and its inner element the line: when the row itself gets narrow the status
   pill goes first, then the line breaks in two (thumbnail and name on the first, price and bag button on the second). */
.g-product-row {
  position: relative;
  display: block;
  min-width: 0;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-box);
  background: var(--color-area-light);
  container-type: inline-size;
  transition: 0.2s linear;
}

.g-product-row-in {
  display: flex;
  align-items: center;
  gap: 12px 14px;
}

.g-product-row:hover,
.g-product-row:focus-visible {
  border-color: rgba(var(--cl-accent), 0.7);
  box-shadow: 0 0 0 4px rgba(var(--cl-accent), 0.1);
}

.g-product-row .g-product-media {
  flex: 0 0 84px;
}

.g-product-row .g-product-img {
  border-radius: 4px;
}

.g-product-row-main {
  display: block;
  flex: 1 1 0%;
  min-width: 0;
}

.g-product-row-title {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-product-row .g-status-pill {
  flex: 0 1 auto;
  max-width: 40%;
}

.g-product-row .g-price-tag {
  flex: 0 0 auto;
}

.g-product-row-go {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  color: #fff;
  transition: 0.15s linear;
}

.g-product-row:hover .g-product-row-go,
.g-product-row:focus-visible .g-product-row-go {
  background: var(--color-brand);
}

.g-product-row[data-stock="out"] .g-product-row-go {
  background: transparent;
  color: var(--color-muted);
}

@container (max-width: 560px) {
  .g-product-row .g-status-pill {
    display: none;
  }
}

/* Narrow rows (phones, the group dialog): the name keeps the rest of the first line, so it is never squeezed by the
   price; the price moves to a second line, with the bag button at its end. */
@container (max-width: 400px) {
  .g-product-row-in {
    flex-wrap: wrap;
  }

  .g-product-row .g-product-media {
    flex-basis: 60px;
  }

  /* 60px thumbnail + 14px gap; one pixel spare against rounding, flex-grow fills it. */
  .g-product-row-main {
    flex: 1 1 calc(100% - 75px);
  }

  /* Without product images the name has the first line to itself. */
  .g-product-row-main:first-child {
    flex-basis: 100%;
  }

  .g-product-row .g-price-tag {
    margin-right: auto;
  }
}

/* ───────── products page: head box ───────── */
.g-listing-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.g-listing-head-row .g-page-title {
  flex: 1 1 auto;
  min-width: 0;
}

/* Setting "Header Alignment". Centred: the count and the filter button leave the row, so the title is centred
   in the box and not in what they leave over. Right: title at the right, the tools move to the left. */
.sa-page-products .g-page-head[data-align="center"] {
  text-align: center;
}

.sa-page-products .g-page-head[data-align="center"] .g-listing-head-row {
  position: relative;
  justify-content: center;
}

.sa-page-products .g-page-head[data-align="right"] {
  text-align: right;
}

.sa-page-products .g-page-head[data-align="right"] .g-listing-head-row {
  flex-direction: row-reverse;
}

@media (min-width: 768px) {
  .sa-page-products .g-page-head[data-align="center"] .g-listing-tools {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
}

@media (max-width: 767px) {
  .sa-page-products .g-page-head[data-align="center"] .g-listing-tools {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* With a subtitle the box no longer needs the 7px the design reserves for an empty description line. */
.sa-page-products .g-page-head[data-sub="true"] {
  padding-bottom: 26px;
}

.g-listing-eyebrow {
  margin-bottom: 6px;
  color: var(--color-brand);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g-listing-sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.g-listing-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.g-listing-count {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  white-space: nowrap;
}

/* "Filter" button: only where the filter box of the sidebar is hidden (979px and below). */
.g-listing-filter-open {
  display: none;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.15s linear;
}

.g-listing-filter-open:hover,
.g-listing-filter-open:focus-visible {
  background: var(--color-brand);
}

.g-listing-filter-open i {
  font-size: 12px;
  line-height: 1;
}

.g-listing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--color-brand);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.g-listing-filter-open:hover .g-listing-badge,
.g-listing-filter-open:focus-visible .g-listing-badge {
  background: #fff;
  color: var(--color-brand);
}

/* ───────── products page: grid options, empty state, pager ───────── */
/*
 * Setting "Columns". "Automatic" is the grid of the design (as many 300px cards as fit). A fixed number applies
 * once the list itself is wide enough for it, so cards never get narrower than about 250px.
 */
.g-products-fit {
  margin-bottom: 26px;
  container-type: inline-size;
}

/* The wrapper carries the bottom margin of the grid, so it still collapses with the margin of what follows. */
.g-products-fit > .g-products {
  margin-bottom: 0;
}

@container (min-width: 560px) {
  .g-products[data-columns="2"],
  .g-products[data-columns="3"],
  .g-products[data-columns="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container (min-width: 880px) {
  .g-products[data-columns="3"],
  .g-products[data-columns="4"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@container (min-width: 1180px) {
  .g-products[data-columns="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.g-listing-empty {
  margin-bottom: 26px;
}

.g-listing-pager {
  margin-bottom: 26px;
}

.g-listing-pager .sa-pagination {
  margin-top: 0;
}

/* The pager of the design uses buttons; in the theme its controls are links. At either end the control is a
   plain box that looks like the design's disabled button and does not react to the pointer. */
.g-rv-page-btn[aria-disabled="true"],
.g-rv-page-btn[aria-disabled="true"]:hover {
  background: #1d2128;
  color: #d8deef;
  opacity: 0.5;
  cursor: not-allowed;
}

/* Category description box (components/category-description.njk): line breaks of the merchant's text are kept. */
.g-prose-box .g-listing-prose-text {
  white-space: pre-line;
}

.g-prose-box .g-listing-prose-text:last-child {
  margin-bottom: 0;
}

/* ───────── products page: sidebar options and filter box ───────── */
/* Setting "Sidebar Position: Left" mirrors the two columns on desktop; small screens stack as in the design. */
@media (min-width: 980px) {
  .sa-page-products .g-cols[data-side="left"] {
    flex-direction: row-reverse;
  }

  .sa-page-products .g-cols[data-side="left"] > .g-cols-side {
    padding: 0 26px 15px 0;
  }
}

/* The labels line up with the title of the box (16px), not with the 12px inset of the category rows. */
.g-listing-filters-box .g-side-body {
  padding: 16px;
}

.g-listing-filters-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.g-listing-filters-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.g-listing-filters-form .g-field {
  height: 41px;
  padding-block: 0;
}

.g-listing-filters-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.g-listing-filters-money {
  position: relative;
}

.g-listing-filters-money .g-field {
  padding-right: 30px;
  appearance: textfield;
}

.g-listing-filters-money .g-field::-webkit-outer-spin-button,
.g-listing-filters-money .g-field::-webkit-inner-spin-button {
  appearance: none;
}

.g-listing-filters-unit {
  position: absolute;
  top: 50%;
  right: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.g-listing-filters-form .g-check {
  position: relative;
  align-items: center;
}

.g-listing-filters-form .g-check-box {
  margin-top: 0;
}

.g-listing-filters-form .g-check-label {
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.g-listing-filters-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.g-listing-filters-actions .g-btn-primary,
.g-listing-filters-actions .g-btn-ghost {
  width: 100%;
  cursor: pointer;
}

/* Raised surface (the sheet): the divider and the ghost button need one tone more to stay visible. */
.g-listing-sheet .g-listing-filters-actions {
  border-top-color: rgba(255, 255, 255, 0.08);
}

/*
 * One working filter form per viewport: the box in the sidebar from 980px, the sheet below it.
 * The sidebar stacks under the list at 979px (as in the design), which would put the filters after the last product.
 */
@media (max-width: 979px) {
  .g-listing-filter-open {
    display: inline-flex;
  }

  .g-listing-filters-box {
    display: none;
  }

  /* A sidebar that holds nothing but the filter box (a shop without categories) leaves no gap behind. */
  .g-cols-side[data-filters-only="true"] {
    display: none;
  }
}

@media (min-width: 980px) {
  .g-listing-sheet {
    display: none !important;
  }
}

/* ───────── overlays: filter sheet and group dialog ───────── */
.g-listing-sheet,
.g-group-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
}

.g-listing-sheet {
  align-items: flex-end;
}

.g-group-modal {
  align-items: center;
  padding: 24px 16px;
}

.g-listing-backdrop {
  position: absolute;
  inset: 0;
  background: var(--cl-overlay, rgba(0, 0, 0, 0.55));
}

.g-listing-sheet-panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  max-height: 85dvh;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: var(--color-area-light);
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.55);
  color: var(--color-muted);
}

.g-listing-sheet .g-dialog-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* The dialog of the design centres itself with a transform; here the frame centres it, so it can animate freely. */
.g-group-modal > .g-dialog {
  position: relative;
  top: auto;
  left: auto;
  z-index: auto;
  width: min(1120px, 100%);
  max-height: 100%;
}

.g-group-modal > .g-dialog[data-cols="1"] {
  width: min(420px, 100%);
}

.g-group-modal > .g-dialog[data-cols="2"] {
  width: min(760px, 100%);
}

.g-group-modal > .g-dialog[data-cols="list"] {
  width: min(720px, 100%);
}

.g-group-modal .g-dialog-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-group-modal .g-dialog-close,
.g-listing-sheet .g-dialog-close {
  cursor: pointer;
}

.g-group-modal .g-empty {
  padding: 40px 20px;
}

.g-group-modal .g-empty p {
  margin-bottom: 0;
}

/* Motion (Alpine x-transition classes): the backdrop fades, the dialog rises 10px, the sheet slides up. */
.g-listing-fade-enter {
  transition: opacity 0.15s ease-out;
}

.g-listing-fade-leave {
  transition: opacity 0.12s ease-in;
}

.g-listing-fade-from {
  opacity: 0;
}

.g-listing-fade-to {
  opacity: 1;
}

.g-listing-pop-enter {
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.g-listing-pop-leave {
  transition: opacity 0.12s ease-in, transform 0.12s ease-in;
}

.g-listing-pop-from {
  opacity: 0;
  transform: translateY(10px);
}

.g-listing-pop-to {
  opacity: 1;
  transform: translateY(0);
}

.g-listing-rise-enter {
  transition: transform 0.25s ease-out;
}

.g-listing-rise-leave {
  transition: transform 0.18s ease-in;
}

.g-listing-rise-from {
  transform: translateY(100%);
}

.g-listing-rise-to {
  transform: translateY(0);
}

/* ───────── search field (snippets/searchbar.njk, search of the home page product block) ───────── */
/* The header search of the design as a real field: same box, any width. */
.g-searchbar {
  position: relative;
  display: block;
  height: 50px;
  border: 1px solid var(--color-area-lighter);
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.g-searchbar:hover {
  border-color: rgba(var(--cl-accent), 0.6);
}

.g-searchbar:focus-within {
  border-color: var(--color-brand);
  box-shadow: var(--focus-ring);
}

.g-searchbar .g-search-submit {
  color: #939cb1;
}

.g-searchbar button.g-search-submit {
  cursor: pointer;
}

.g-searchbar button.g-search-submit:hover,
.g-searchbar button.g-search-submit:focus-visible {
  color: #fff;
}

.g-searchbar .g-search-input {
  font-family: inherit;
}

.g-searchbar .g-search-input:focus-visible {
  outline: 0;
}

.g-searchbar .g-search-input::-webkit-search-cancel-button {
  filter: grayscale(1) brightness(2);
}

/* ───────── home page product block (components/products.njk) ───────── */
.g-listing-head {
  margin-bottom: 18px;
  text-align: center;
}

.g-listing-head[data-align="left"] {
  text-align: left;
}

.g-listing-head[data-align="right"] {
  text-align: right;
}

.g-listing-head .g-rail-title {
  text-align: inherit;
}

.g-listing-head .g-listing-eyebrow {
  color: #b0b0b0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
}

.g-listing-head .g-listing-sub {
  max-width: 720px;
  margin-top: 8px;
  font-size: 14.3px;
  line-height: 1.5;
}

.g-listing-head[data-align="center"] .g-listing-sub {
  margin-inline: auto;
}

.g-listing-head[data-align="right"] .g-listing-sub {
  margin-left: auto;
}

.g-listing-search {
  max-width: 350px;
  margin-bottom: 18px;
}

.g-listing-search[data-align="center"] {
  margin-inline: auto;
}

.g-listing-search[data-align="right"] {
  margin-left: auto;
}

.g-listing-none {
  margin-bottom: 26px;
  padding: 26px;
  font-size: 15px;
  text-align: center;
}

.g-listing-block .g-product-rows {
  max-width: 820px;
}

.g-listing-block[data-align="center"] .g-product-rows {
  margin-inline: auto;
}

.g-listing-block[data-align="right"] .g-product-rows {
  margin-left: auto;
}

/* Carousel layout: SellAuth's Splide slider with the arrows of the design's carousels. */
.g-listing-carousel {
  margin-bottom: 26px;
}

/* 5px around every slide keeps the 4px hover ring of the card from being cut by the track. */
.g-listing-carousel .splide__track {
  margin: -5px;
}

.g-listing-carousel .splide__slide {
  display: flex;
  padding: 5px;
}

.g-listing-carousel .splide__arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: var(--color-area-lighter);
  opacity: 1;
  transition: transform 0.15s, background-color 0.15s, border-color 0.15s, opacity 0.15s;
}

.g-listing-carousel .splide__arrow--prev {
  left: -10px;
}

.g-listing-carousel .splide__arrow--next {
  right: -10px;
}

.g-listing-carousel .splide__arrow svg {
  width: 13px;
  height: 13px;
  fill: #fff;
}

.g-listing-carousel .splide__arrow:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--color-brand);
  opacity: 1;
}

.g-listing-carousel .splide__arrow:disabled {
  opacity: 0.4;
}

.g-listing-carousel .splide__pagination {
  position: static;
  margin-top: 14px;
  padding: 0;
}

.g-listing-carousel .splide__pagination__page {
  width: 8px;
  height: 8px;
  margin: 4px;
  background: var(--color-area-lighter);
  opacity: 1;
}

.g-listing-carousel .splide__pagination__page.is-active {
  background: var(--color-brand);
  transform: none;
}

@media (max-width: 979px) {
  .g-listing-carousel .splide__arrow--prev {
    left: 6px;
  }

  .g-listing-carousel .splide__arrow--next {
    right: 6px;
  }
}


/* ═════════ product page (tools/css/40-product.css) ═════════
 * What the measured design does not have because it only exists in the SellAuth theme: real images in the
 * gallery (Splide slider, lightbox), the purchase options of the platform (stock line, add-ons, volume
 * discounts, quantity deals, bundles, subscriptions, pay with balance, locked products), rich text and
 * reviews in the tabs, related products and the lock screen.
 */

.sa-page-product,
.sa-product-locked {
  /* Fill of the inner tiles (variant buttons and pills use the same value in the design). */
  --g-tile: #2f3441;
  /* State colours follow the theme's Success / Warning / Error settings, lightened to stay readable on dark panels. */
  --g-ok: color-mix(in srgb, rgb(var(--cl-success)) 75%, #fff);
  --g-warn: color-mix(in srgb, rgb(var(--cl-warning)) 75%, #fff);
  --g-bad: color-mix(in srgb, rgb(var(--cl-error)) 65%, #fff);
}

/* ───────── panel ───────── */
.g-pdp {
  /* Clips like the design's "hidden" but leaves the page as the scrolling box, so the gallery can stick. */
  overflow: clip;
}

.g-pdp-info {
  min-width: 0;
}

/* A long purchase form (add-ons, deals, bundles) scrolls past the gallery: keep the gallery in view.
   Only on screens tall enough to show the whole gallery while it sticks. */
@media (min-width: 980px) and (min-height: 700px) {
  .g-pdp-media {
    position: sticky;
    top: 26px;
    align-self: start;
  }

  /* "Stick to Top" header: stay below it. */
  #app:has(.sa-header.sticky) .g-pdp-media {
    top: calc(var(--header-top) + var(--header-nav) + 26px);
  }

  /* All images stacked can be taller than the screen: let that column scroll normally. */
  .g-pdp-media:has(.g-pdp-gallery--stack) {
    position: static;
  }
}

/* "Show Product Images" switched off in the theme settings: no gallery column. */
.g-pdp[data-media="none"] {
  grid-template-columns: minmax(0, 1fr);
}

/* ───────── gallery ───────── */
.g-pdp-frame {
  /* "Product Page Image Aspect Ratio" of the theme settings; its default 16/9 is the design's 550 x 309.4 frame. */
  aspect-ratio: var(--product-page-image-aspect-ratio, 550 / 309.4);
}

/* Generated artwork is not an image of the product: nothing to enlarge. */
.g-pdp-frame[data-art="true"] {
  cursor: default;
}

.g-pdp-frame > img {
  background: var(--color-area);
  object-fit: var(--product-image-fit, cover);
}

/* Several images: a Splide slider that fades between them, filling the frame. */
.g-pdp-frame > .splide {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-area);
  /* Splide hides itself until its script has started; the first image is worth showing before that. */
  visibility: visible;
}

.g-pdp-frame .splide__track,
.g-pdp-frame .splide__list {
  height: 100%;
}

.g-pdp-frame .splide__slide {
  width: 100%;
  height: 100%;
}

.g-pdp-frame .splide__slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: var(--product-image-fit, cover);
}

.g-pdp-thumb > img {
  background: var(--color-area);
}

/* "Stacked": every image in its own frame. */
.g-pdp-gallery--stack {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* "Thumbnails left": the thumbnails become a column as tall as the frame and scroll inside it. */
@media (min-width: 640px) {
  .g-pdp-gallery--side {
    position: relative;
    padding-inline-start: 92px;
  }

  .g-pdp-gallery--side .g-pdp-thumbs {
    position: absolute;
    top: 0;
    bottom: 0;
    inset-inline-start: 0;
    display: flex;
    flex-direction: column;
    width: 83px;
    margin-block: -4px;
    margin-inline-start: -4px;
    padding: 4px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-area-lighter) transparent;
  }

  /* Thumbnails in the shape of the frame: with the default 16/9 five of them are as tall as the main image. */
  .g-pdp-gallery--side .g-pdp-thumb {
    flex: 0 0 auto;
    height: auto;
    aspect-ratio: var(--product-page-image-aspect-ratio, 16 / 9);
  }
}

/* ───────── name, pills, price ───────── */
.g-pdp-title {
  overflow-wrap: anywhere;
}

.g-pdp-pill {
  max-width: 100%;
}

a.g-pdp-pill {
  transition: background-color 0.2s ease, color 0.2s ease;
}

a.g-pdp-pill:hover,
a.g-pdp-pill:focus-visible {
  background: rgba(var(--cl-accent), 0.2);
  color: #fff;
}

/* Page badge of a product ("Best seller"): a filled pill in the colour the merchant gave the badge. */
.g-pdp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.75em 1em;
  border-radius: var(--radius-pill);
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.g-pdp-badge i {
  font-size: 12px;
  line-height: 1;
}

/* The price is the running total; next to it the crossed-out price and the price per piece.
   The row carries the price's margin, so it still collapses with the form's margin as in the design. */
.g-pdp-pricerow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 12px;
  margin: 17.5px 0;
}

.g-pdp-pricerow > .g-pdp-price {
  min-height: 1em;
  margin: 0;
}

.g-pdp-was {
  color: #9ea4b1;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  text-decoration: line-through;
}

.g-pdp-each {
  color: #9ea4b1;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

/* ───────── purchase form ───────── */
.g-pdp-qtyrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.g-qty button i {
  font-size: 13px;
  line-height: 1;
}

.g-qty button:disabled {
  cursor: not-allowed;
}

/* Sold out or on hold: the stepper is shown but cannot be used. */
.g-qty--off {
  opacity: 0.5;
  pointer-events: none;
}

/* Stock of the selected variant, next to the quantity. */
.g-pdp-stock {
  color: #9ea4b1;
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g-pdp-stock [data-state] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.g-pdp-stock [data-state]::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.g-pdp-stock [data-state="in"] {
  color: var(--g-ok);
}

.g-pdp-stock [data-state="out"] {
  color: var(--g-bad);
}

.g-pdp-stock [data-state="hold"] {
  color: var(--g-warn);
}

/* Small error line under a control (quantity out of range, no variant selected). */
.g-pdp-hint {
  display: block;
  margin-top: 8px;
  color: var(--g-bad);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}

/* Variant buttons: parts the design does not have. */
.g-variant-head {
  /* A long variant name wraps; it must not run into the stock label. */
  gap: 12px;
}

.g-variant:disabled {
  cursor: not-allowed;
}

.g-variant[data-stock="hold"] .g-variant-stock {
  color: var(--g-warn);
}

.g-variant-was {
  margin-inline-start: 6px;
  color: #9ea4b1;
  font-size: 13px;
  font-weight: 400;
  text-decoration: line-through;
}

.g-variant-desc {
  display: block;
  margin-top: 9px;
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
  white-space: pre-line;
}

.g-variant[aria-checked="true"] .g-variant-was,
.g-variant[aria-checked="true"] .g-variant-desc {
  color: rgba(255, 255, 255, 0.8);
}

/* "Show Variant Images": a small image left of the variant's text. */
.g-variant--img {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  column-gap: 12px;
}

.g-variant--img > * {
  grid-column: 2;
}

.g-variant--img > .g-variant-img {
  grid-row: 1 / span 3;
  grid-column: 1;
  width: 39px;
  height: 39px;
  border-radius: 4px;
  object-fit: cover;
}

/* A labelled group of offers under the variants (add-ons, quantity deals, bundles). */
.g-pdp-block {
  margin-top: 20px;
}

.g-pdp-label {
  margin-bottom: 9px;
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g-pdp-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.g-pdp-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 12px;
  padding-inline: 18px 14px;
  border-radius: var(--radius-box);
  background: var(--g-tile);
}

.g-pdp-row-img {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-inline-start: -6px;
  border-radius: 4px;
  object-fit: cover;
}

.g-pdp-row-main {
  flex: 1 1 0%;
  min-width: 0;
}

.g-pdp-row-title {
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.g-pdp-row-sub {
  margin-top: 3px;
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1.5;
}

.g-pdp-row-sub strong {
  color: #fff;
  font-weight: 600;
}

.g-pdp-pre {
  white-space: pre-line;
}

.g-pdp-dim {
  opacity: 0.7;
}

.g-pdp-row-side {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.g-pdp-row-price {
  color: #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}

/* Small action button inside a row (add, remove, buy 3, view). Same wash and hover as the quantity buttons. */
.g-pdp-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 84px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--radius-box);
  background: rgba(var(--cl-accent), 0.2);
  color: var(--color-brand-soft);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.g-pdp-chip i {
  font-size: 11px;
  line-height: 1;
}

.g-pdp-chip:hover:not(:disabled),
.g-pdp-chip:focus-visible:not(:disabled) {
  background: var(--color-brand);
  color: #fff;
}

.g-pdp-chip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.g-pdp-chip[data-tone="danger"] {
  background: rgba(var(--cl-error), 0.16);
  color: var(--g-bad);
}

.g-pdp-chip[data-tone="danger"]:hover:not(:disabled),
.g-pdp-chip[data-tone="danger"]:focus-visible:not(:disabled) {
  background: rgb(var(--cl-error));
  color: #fff;
}

/* A mandatory add-on that is in the cart: stated, not clickable. */
.g-pdp-chip[data-tone="done"],
.g-pdp-chip[data-tone="done"]:disabled {
  background: rgba(var(--cl-success), 0.16);
  color: var(--g-ok);
  opacity: 1;
  cursor: default;
}

/* Discount tag of a quantity deal ("FREE", "-50%"). */
.g-pdp-tag {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* "Active", "In cart": a confirmed state. */
.g-pdp-ok {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: var(--g-ok);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.g-pdp-ok i {
  font-size: 11px;
  line-height: 1;
}

/* The small cross that takes a bundle item out of the cart again. */
.g-pdp-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  color: #9ea4b1;
  font-size: 12px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.g-pdp-x:hover,
.g-pdp-x:focus-visible {
  background: rgba(var(--cl-error), 0.16);
  color: var(--g-bad);
}

/* Cashback notice. */
.g-pdp-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  padding: 12px 14px;
  border-radius: var(--radius-box);
  background: rgba(var(--cl-accent), 0.1);
  color: #d8deef;
  font-size: 13px;
  line-height: 1.5;
}

.g-pdp-note i {
  flex: 0 0 auto;
  color: var(--color-brand);
  font-size: 15px;
  line-height: 1;
}

.g-pdp-note strong {
  color: #fff;
  font-weight: 600;
}

/* Volume discount: how many more pieces unlock the next tier. */
.g-pdp-progress {
  margin-top: 13px;
  padding: 12px 14px;
  border-radius: var(--radius-box);
  background: var(--g-tile);
}

.g-pdp-progress-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d8deef;
  font-size: 13px;
  line-height: 1.5;
}

.g-pdp-progress-text strong {
  color: #fff;
  font-weight: 600;
}

.g-pdp-progress-icon {
  display: flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  height: 24px;
  border-radius: 50%;
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
  font-size: 11px;
  line-height: 1;
}

.g-pdp-progress-bar {
  height: 6px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
}

.g-pdp-progress-bar > div {
  height: 100%;
  border-radius: inherit;
  background: var(--color-brand);
  transition: width 0.2s ease;
}

.g-pdp-progress-note {
  margin-top: 8px;
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1.5;
}

/* Bundle offer: its items and one button that adds them all. */
.g-pdp-bundle {
  padding: 14px 18px;
  border-radius: var(--radius-box);
  background: var(--g-tile);
}

.g-pdp-bundle + .g-pdp-bundle {
  margin-top: 8px;
}

.g-pdp-bundle-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.g-pdp-bundle-head .g-pdp-row-sub {
  flex: 0 0 auto;
  margin-top: 0;
}

.g-pdp-bundle-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.g-pdp-bundle-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
}

.g-pdp-bundle-thumb {
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #9ea4b1;
  font-size: 13px;
  object-fit: cover;
}

.g-pdp-bundle-name {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.g-pdp-bundle-name:hover,
a.g-pdp-bundle-name:focus-visible {
  color: var(--color-brand-soft);
}

.g-pdp-bundle-note {
  flex: 0 0 auto;
  color: #9ea4b1;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.g-pdp-bundle .g-pdp-chip {
  min-width: 0;
  height: 28px;
}

.g-pdp-bundle-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: var(--radius-box);
  background: rgba(var(--cl-accent), 0.2);
  color: var(--color-brand-soft);
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.g-pdp-bundle-add:hover,
.g-pdp-bundle-add:focus-visible {
  background: var(--color-brand);
  color: #fff;
}

.g-pdp-bundle-done {
  justify-content: center;
  width: 100%;
  min-height: 40px;
}

/* Checkout error: the only feedback when a purchase request fails. */
.g-pdp-error {
  margin-top: 13px;
  padding: 12px 14px;
  border: 1px solid rgba(var(--cl-error), 0.45);
  border-radius: var(--radius-box);
  background: rgba(var(--cl-error), 0.12);
  color: var(--g-bad);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  overflow-wrap: anywhere;
}

/* Buying is locked behind a password. */
.g-pdp-locked {
  margin-top: 13px;
  padding: 18px;
  border-radius: var(--radius-box);
  background: var(--g-tile);
}

.g-pdp-locked-text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d8deef;
  font-size: 14px;
  line-height: 1.5;
}

.g-pdp-locked-text i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--color-brand);
  font-size: 14px;
  line-height: 1;
}

.g-pdp-locked .g-unlock {
  max-width: 440px;
  margin-top: 14px;
}

/* Buy buttons: "Buy Now" is the design's button, the others are its quieter siblings of the same size. */
.g-pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 13px;
}

.g-pdp-buy,
.g-pdp-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  max-width: 100%;
  text-align: center;
}

.g-pdp-buy i,
.g-pdp-cart i {
  font-size: 0.85em;
  line-height: 1;
}

/* "Add to Cart" as the main button keeps its own spelling (the design capitalises every word of "Buy Now"). */
.sa-add-to-cart.g-pdp-buy {
  text-transform: none;
}

.g-pdp-cart {
  padding: 1em 1.75em;
  border: 0;
  border-radius: var(--radius-box);
  background: var(--g-tile);
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  transition: 0.15s linear;
}

.g-pdp-cart:hover:not(:disabled),
.g-pdp-cart:focus-visible:not(:disabled) {
  background: rgba(var(--cl-accent), 0.2);
}

.g-pdp-buy:disabled,
.g-pdp-cart:disabled {
  cursor: not-allowed;
}

.g-pdp-cart:disabled {
  opacity: 0.55;
}

.g-pdp-balance {
  margin-top: 10px;
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1.5;
}

.g-pdp-balance a {
  margin-inline-start: 4px;
  color: var(--color-brand-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.g-pdp-balance a:hover {
  color: #fff;
}

/* Live counters under the form ("12 people are viewing this product right now."). */
.g-pdp-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding-top: 16px;
  border-top: 1px solid #353945;
  color: #9ea4b1;
  font-size: 13px;
  line-height: 1.5;
}

.g-pdp-stats li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.g-pdp-stats i {
  flex: 0 0 auto;
  color: var(--color-brand);
  font-size: 12px;
  line-height: 1;
}

.g-pdp-stats strong {
  color: #fff;
  font-weight: 600;
}

/* ───────── tabs ───────── */
.g-tabs-bar {
  flex-wrap: wrap;
}

/* Rich text written in the SellAuth editor (class "editor"), in the tones of the design's long-form text. */
.g-pdp-rich {
  color: #c6c6c8;
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.g-pdp-rich .e-paragraph {
  font-size: 15px;
  line-height: 1.75;
}

.g-pdp-rich .e-heading-h1,
.g-pdp-rich .e-heading-h2,
.g-pdp-rich .e-heading-h3 {
  margin: 0.8em 0 0.35em;
  color: #ecf0f1;
  font-weight: 700;
}

.g-pdp-rich > :first-child {
  margin-top: 0;
}

.g-pdp-rich .e-heading-h1 {
  font-size: 28px;
  line-height: 1.3;
}

.g-pdp-rich .e-heading-h2 {
  font-size: 24px;
  line-height: 1.35;
}

.g-pdp-rich .e-heading-h3 {
  font-size: 18px;
  line-height: 1.45;
}

.g-pdp-rich .e-text-bold,
.g-pdp-rich strong {
  color: #fff;
}

.g-pdp-rich .e-quote {
  margin: 0.5em 0;
  font-size: 15px;
}

.g-pdp-rich .e-listitem {
  margin-block: 0.25rem;
}

.g-pdp-rich .e-image img {
  border-radius: var(--radius-box);
}

/* Bullets in the green of the design's feature lists. */
.g-pdp-rich .e-list-ul > .e-listitem::marker {
  color: var(--color-feature);
}

/* Collapsible blocks of the editor take the shape of the design's feature boxes. */
.g-pdp-rich .e-collapsible {
  margin: 8px 0;
  overflow: hidden;
  border: 1px solid var(--color-area-lighter);
  border-radius: var(--radius-card);
  background: var(--color-area-light);
}

.g-pdp-rich .e-collapsible-title {
  padding: 14px 18px 14px 36px;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  cursor: pointer;
}

.g-pdp-rich .e-collapsible-title:before {
  left: 18px;
}

/* An open block points its arrow down. */
.g-pdp-rich .e-collapsible[open] > .e-collapsible-title:before {
  border-width: 6px 4px 0;
  border-top-color: var(--color-brand);
  border-left-color: transparent;
}

.g-pdp-rich .e-collapsible-content {
  padding: 14px 18px;
  border-top: 1px solid var(--color-area-lighter);
}

.g-pdp-rich .e-table-cell {
  padding: 6px 12px;
}

/* Reviews of this product: the grid of the reviews page. */
.g-pdp-reviews {
  min-height: 0;
}

.g-pdp-more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.g-pdp-empty {
  margin-bottom: 0;
}

/* ───────── blocks under the tabs (reviews, related products) ───────── */
.g-pdp-section {
  margin-top: 26px;
}

.g-pdp-section-title {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.g-pdp-section-body {
  padding: 26px;
}

/* Rows of at least 560px: from that width on the product row shows its status pill. */
.g-pdp-upsells {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(560px, 100%), 1fr));
  gap: 13px;
}

/* ───────── password form of a locked product ───────── */
.g-unlock {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: start;
}

.g-unlock-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.g-unlock .g-field {
  height: 47px;
}

.g-unlock .g-field-error {
  margin-top: 0;
}

.g-unlock-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-box);
  background: var(--color-brand);
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  transition: var(--ease-button);
}

.g-unlock-submit i {
  font-size: 13px;
  line-height: 1;
}

.g-unlock-submit:hover:not(:disabled) {
  background-image: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
}

.g-unlock-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ───────── lock screen (templates/product-locked.njk) ───────── */
.g-locked-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(520px, 100%);
  margin: 0 auto 26px;
  padding: 39px;
  border-radius: var(--radius-card);
  background: var(--color-area-light);
  box-shadow: var(--shadow-box);
  text-align: center;
}

.g-locked-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: rgba(var(--cl-accent), 0.12);
  color: var(--color-brand);
  font-size: 24px;
  line-height: 1;
}

.g-locked-title {
  margin-bottom: 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.g-locked-text {
  margin-bottom: 22px;
  color: #b0b0b0;
  font-size: 15px;
  line-height: 1.6;
}

.g-locked-box .g-unlock {
  width: 100%;
}

.g-locked-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #9ea4b1;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  transition: color 0.15s linear;
}

.g-locked-back i {
  font-size: 12px;
  line-height: 1;
}

.g-locked-back:hover,
.g-locked-back:focus-visible {
  color: var(--color-brand-soft);
}

/* ───────── pay with balance: confirmation dialog ───────── */
.g-pdp-dialog {
  max-width: 520px;
  margin: 32px 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: var(--color-area-light);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  color: #d8deef;
  font-size: 13px;
  line-height: 1.5;
}

.g-pdp-quote {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: var(--radius-box);
  background: var(--color-area);
}

.g-pdp-quote-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #d8deef;
  font-size: 13px;
  line-height: 2;
}

.g-pdp-quote-row > :last-child {
  flex: 0 0 auto;
  white-space: nowrap;
}

.g-pdp-quote-total {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #2d2f39;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.g-pdp-quote-note {
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1.5;
  text-align: end;
}

.g-pdp-quote-muted {
  color: #9ea4b1;
}

.g-pdp-dialog-text {
  margin-bottom: 14px;
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1.5;
}

.g-pdp-dialog .g-pdp-error {
  margin: 0 0 14px;
}

.g-pdp-dialog-actions {
  display: flex;
  gap: 10px;
}

/* Buttons and links only: the row also holds <template> elements, which must stay undisplayed. */
.g-pdp-dialog-actions > button,
.g-pdp-dialog-actions > a {
  display: inline-flex;
  flex: 1 1 0%;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: var(--radius-box);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  transition: 0.15s linear;
}

.g-pdp-dialog-cancel {
  background: var(--color-area-lighter);
  color: #fff;
}

.g-pdp-dialog-cancel:hover {
  background: #363c4a;
}

.g-pdp-dialog-confirm {
  background: var(--color-brand);
  color: rgb(var(--cl-on-accent));
}

.g-pdp-dialog-confirm:hover:not(:disabled) {
  background-image: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
}

.g-pdp-dialog-confirm:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ───────── lightbox (PhotoSwipe, opened from any "zoomable" image) ─────────
 * The round controls of the design's image viewer. PhotoSwipe is appended to <body>, outside the theme's
 * containers, so these rules are global on purpose.
 */
.pswp {
  /* The page stays faintly visible behind the image, as on the design. */
  --pswp-bg: rgba(0, 0, 0, 0.82);
}

.pswp__img {
  border-radius: var(--radius-card);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.pswp__top-bar {
  height: 84px;
  padding: 20px 20px 0;
  gap: 10px;
}

.pswp__top-bar .pswp__button,
.pswp__button--arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
  transition: background-color 0.15s ease;
}

.pswp__top-bar .pswp__button:hover,
.pswp__top-bar .pswp__button:focus-visible,
.pswp__button--arrow:hover,
.pswp__button--arrow:focus-visible {
  background: var(--color-brand);
  transition: background-color 0.15s ease;
}

.pswp__top-bar .pswp__button--close {
  margin-right: 0;
}

.pswp__top-bar .pswp__button .pswp__icn {
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
}

.pswp__button--arrow {
  margin-top: -22px;
}

.pswp__button--arrow--prev {
  left: 20px;
}

.pswp__button--arrow--next {
  right: 20px;
}

.pswp__button--arrow .pswp__icn {
  top: 8px;
  left: 8px;
  width: 28px;
  height: 28px;
  margin-top: 0;
}

.pswp__button--arrow--next .pswp__icn {
  right: 8px;
  left: auto;
}

.pswp__icn-shadow {
  stroke: none;
}

.pswp__counter {
  height: 44px;
  margin-top: 0;
  margin-inline-start: 0;
  color: #c7d0e0;
  font-size: 13px;
  line-height: 44px;
  font-weight: 600;
  text-shadow: none;
  opacity: 1;
}

.pswp__preloader {
  height: 44px;
}

/* ───────── narrow form column (phones, and the two-column panel around 1024px) ─────────
 * The column, not the screen, decides: it is 340px wide at 1024px and 568px at 640px.
 */
.g-pdp-info {
  container: g-pdp-info / inline-size;
}

@container g-pdp-info (max-width: 480px) {
  /* One button per row, full width: two 185px buttons no longer fit next to each other. */
  .g-pdp-actions > * {
    flex: 1 1 100%;
  }

  .g-pdp-cart {
    padding-inline: 1em;
  }

  /* Rows put their price and button on a second line. */
  .g-pdp-row {
    flex-wrap: wrap;
    padding: 12px 14px;
  }

  .g-pdp-row-main {
    flex-basis: calc(100% - 60px);
  }

  .g-pdp-row-img {
    margin-inline-start: 0;
  }

  .g-pdp-row-side {
    flex: 1 1 100%;
    justify-content: space-between;
  }

  .g-pdp-bundle {
    padding: 14px;
  }
}

/* ───────── small screens ───────── */
@media (max-width: 640px) {
  .g-pdp-section-title {
    padding: 18px;
  }

  .g-pdp-section-body {
    padding: 18px;
  }

  .g-locked-box {
    padding: 26px 18px;
  }

  .g-pdp-dialog-actions {
    flex-direction: column;
  }

  .pswp__top-bar {
    height: 64px;
    padding: 10px 10px 0;
  }

  .pswp__button--arrow--prev {
    left: 10px;
  }

  .pswp__button--arrow--next {
    right: 10px;
  }
}


/* ═════════ status page + reviews page (tools/css/50-status-reviews.css) ═════════
 * Rules the measured design does not have because they only exist in the SellAuth theme:
 * the Canvas header texts (eyebrow, subtitle, alignment), statuses with free text and colour, product thumbnails,
 * empty states, and on the reviews page the head card with the rating summary and the sort links.
 */

/* ───────── page head texts (both pages) ───────── */
.g-st-eyebrow,
.g-rv-eyebrow {
  margin-bottom: 4px;
  color: var(--color-brand);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Theme setting "Section Eyebrow Style: Pill". */
.g-st-eyebrow[data-style="pill"],
.g-rv-eyebrow[data-style="pill"] {
  display: inline-block;
  margin-bottom: 8px;
  padding: 7px 11px;
  border-radius: 4px;
  background: rgba(var(--cl-accent), 0.2);
  line-height: 1;
}

/* ───────── status page: head ───────── */
/* The title block takes the free space of the head, like the bare <h1> of the design. */
.g-st-heading {
  flex: 1 1 0%;
}

/* Setting "Header Alignment". Small screens always use the centred head of the design. */
@media (min-width: 801px) {
  .g-st-head[data-align="center"] header {
    flex-direction: column;
    gap: 13px;
    text-align: center;
  }

  .g-st-head[data-align="center"] .g-st-heading {
    flex: 0 0 auto;
  }

  .g-st-head[data-align="center"] .g-st-legend {
    justify-content: center;
  }

  .g-st-head[data-align="right"] header {
    flex-direction: row-reverse;
    text-align: right;
  }

  .g-st-head[data-align="right"] .g-st-legend {
    justify-content: flex-start;
  }
}

/*
 * Legend: one chip per status in use. The chip is the shared status pill (same icon and colour as in the rows),
 * given the square shape of the design's legend. Many statuses wrap onto further lines.
 */
.g-st-legend {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6.5px 16.5px;
  max-width: 100%;
}

.g-st-legend li,
.g-st-legend li:not(:last-child) {
  max-width: 100%;
  margin-right: 0;
  padding: 0;
}

.g-st-legend .g-status-pill {
  gap: 4.8px;
  min-width: 0;
  max-width: 100%;
  padding: 11px;
  border-radius: 4px;
  font-size: 11px;
  letter-spacing: 1px;
}

.g-st-legend .g-status-pill i {
  font-size: 11px;
}

/* A status text longer than the box is cut off with an ellipsis instead of running out of it. */
.g-st-legend .g-status-pill > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 979px) {
  .g-st-legend {
    gap: 6.5px;
  }
}

@media (max-width: 800px) {
  .g-st-legend {
    justify-content: center;
  }
}

/* ───────── status page: tabs and rows ───────── */
/*
 * With "Stick to Top" switched on for the header, the tab bar stops below it. gStatus measures the header
 * (--g-sticky-top); until it has run, the two header rows of the design are assumed.
 */
.g-st-controls {
  top: var(--g-sticky-top, 0px);
  /* Above the rows scrolling under it, below the header (5), the tab bar (30) and every overlay (40 and up). */
  z-index: 4;
}

.sa-header.sticky ~ .g-main .g-st-controls {
  top: var(--g-sticky-top, calc(var(--header-top) + var(--header-nav)));
}

/*
 * Groups are spaced by the box, so the gap closes when a tab hides the groups around one.
 * The browser must not hold on to a row while groups appear and disappear (gStatus places the list itself).
 */
.g-st-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-anchor: none;
}

.g-st-main > .g-st-group {
  margin-bottom: 0;
}

/* A group the chosen tab leaves out. */
.g-st-group[hidden] {
  display: none;
}

/* Without the tab bar, head and list touch: a hairline in the colour of that bar keeps them apart. */
.g-st-head + .g-st-main {
  border-top: 1px solid var(--line);
}

/* Without a head box (title, texts and legend all switched off) the next box takes over the rounded top corners. */
.g-st-controls:first-child .g-st-tabs {
  border-radius: var(--radius-box) var(--radius-box) 0 0;
}

.g-st-main:first-child {
  border-radius: var(--radius-box);
}

/* Product image at the start of a row (page setting "Show Product Images"). */
.g-st-thumb {
  flex: 0 0 auto;
  width: 58px;
  height: 36px;
  overflow: hidden;
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
}

.g-st-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Status texts are free text: the pill keeps the design's 145px for short labels and grows for longer ones. */
.g-st-badge {
  width: auto;
  min-width: 145px;
  max-width: 320px;
}

.g-st-badge > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 800px) {
  .g-st-badge {
    width: 100%;
    max-width: 100%;
  }

  /* The stacked row keeps the design's 180px name box; a longer product name may use the whole row before it wraps. */
  .g-st-row-title {
    width: auto;
    min-width: 180px;
    max-width: 100%;
  }
}

/* ───────── empty states (both pages) ───────── */
/* Inside the padded list box the design's 64px of air would double up. */
.g-st-empty {
  padding-block: 38px;
}

.g-st-empty .g-empty-icon i,
.g-rv-empty .g-empty-icon i {
  font-size: 26px;
  line-height: 1;
}

/* ───────── reviews page: head card ───────── */
/* Sort and page links jump back to the section; it stops a little below the top of the window (or the sticky header). */
.sa-page-feedback {
  scroll-margin-top: calc(16px + var(--g-sticky-top, 0px));
}

.sa-header.sticky ~ .g-main .sa-page-feedback {
  scroll-margin-top: calc(16px + var(--g-sticky-top, calc(var(--header-top) + var(--header-nav))));
}

/* Same surface as the review cards below it. */
.g-rv-head,
.g-rv-empty {
  border-radius: 10px;
  background: #1d2128;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.g-rv-head-main {
  display: flex;
  align-items: center;
  gap: 20px 48px;
  padding: 22px 26px;
}

.g-rv-heading {
  flex: 1 1 0%;
}

/* The type of the status page title, so both pages start the same way. */
.g-rv-title {
  color: #fff;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 700;
}

.g-rv-sub {
  color: #98a3ba;
}

/* Rating summary: average, stars and number of reviews, then one bar per star rating. */
.g-rv-summary {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 36px;
}

.g-rv-score {
  display: flex;
  align-items: center;
  gap: 14px;
}

.g-rv-score-value {
  color: #fff;
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.g-rv-score-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

/* Two layers of five stars; the upper one is cut off at the average (width set inline). */
.g-rv-stars {
  position: relative;
  display: inline-block;
  color: var(--color-brand);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.g-rv-stars-base,
.g-rv-stars-fill {
  display: flex;
  gap: 2px;
}

.g-rv-stars-base {
  opacity: 0.25;
}

.g-rv-stars-fill {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  overflow: hidden;
}

.g-rv-stars i {
  flex: 0 0 auto;
}

.g-rv-count {
  color: #98a3ba;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.g-rv-bars {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 5px 10px;
  width: 250px;
  color: #98a3ba;
  font-size: 12px;
  line-height: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.g-rv-bars li {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
}

/* Shared columns, so the bars stay aligned whatever the width of the counts. */
@supports (grid-template-columns: subgrid) {
  .g-rv-bars li {
    grid-template-columns: subgrid;
  }
}

.g-rv-bar-label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #d8deef;
}

.g-rv-bar-label i {
  color: var(--color-brand);
  font-size: 9px;
  line-height: 1;
}

.g-rv-bar {
  height: 6px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
}

.g-rv-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--color-brand);
}

.g-rv-bar-count {
  text-align: end;
}

/* Sort links: the tab buttons of the status page, in a strip at the foot of the head card. */
.g-rv-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 14px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* A head card that holds nothing but the sort links. */
.g-rv-sort:first-child {
  border-top: 0;
}

.g-rv-sort-label {
  margin-inline-end: 6px;
  color: #98a3ba;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g-rv-sort .g-st-tab[aria-current="true"] {
  border-color: var(--color-brand);
  background: var(--color-brand);
  font-weight: 600;
}

/* Setting "Header Alignment". Below 901px the head is stacked anyway. */
@media (min-width: 901px) {
  .g-rv-head[data-align="center"] .g-rv-head-main {
    flex-direction: column;
    text-align: center;
  }

  .g-rv-head[data-align="center"] .g-rv-heading {
    flex: 0 0 auto;
  }

  .g-rv-head[data-align="center"] .g-rv-sort {
    justify-content: center;
  }

  .g-rv-head[data-align="right"] .g-rv-head-main {
    flex-direction: row-reverse;
    text-align: right;
  }

  .g-rv-head[data-align="right"] .g-rv-sort {
    justify-content: flex-end;
  }
}

/* One column of cards: title block above the summary, with the card padding of the design at this width. */
@media (max-width: 900px) {
  .g-rv-head-main {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .g-rv-summary {
    justify-content: space-between;
  }

  .g-rv-bars {
    flex: 0 1 320px;
    width: auto;
  }

  .g-rv-sort {
    padding: 14px 18px;
  }
}

@media (max-width: 560px) {
  .g-rv-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .g-rv-bars {
    flex: 0 0 auto;
  }
}

@media (max-width: 480px) {
  .g-rv-head-main {
    padding: 16px;
  }

  .g-rv-sort {
    padding: 12px 16px;
  }

  .g-rv-score-value {
    font-size: 40px;
  }
}

/* ───────── reviews page: cards, pager, loading overlay ───────── */
/* Each card fills its cell, so the cards of a row are equally tall. */
.g-rv-item {
  display: grid;
  min-width: 0;
}

/* The pager follows the cards at the 16px rhythm of the column; its own top margin is for other pages. */
.g-rv-pagination .sa-pagination {
  margin-top: 0;
}

/* Loading overlay: above header and tab bar, on the level of dialogs. An uploaded favicon or logo keeps its shape. */
.sa-page-feedback > .g-loader-overlay {
  z-index: 50;
}

.g-loader-overlay > img {
  object-fit: contain;
}


/* ═════════ content pages (tools/css/55-pages.css): support / FAQ, contact, legal, blog, custom pages ═════════
 * The measured support, FAQ, widget and article rules come from the design (src/styles/pages.css).
 * This file adds what only the SellAuth theme has: one or two support cards instead of three, the Canvas
 * FAQ layouts (accordion, two columns, split), section eyebrows and subtitles, rich text written with the
 * SellAuth editor (.e-* classes), the "On this page" box of legal pages and the blog.
 */

/* ───────── shared: eyebrow, subtitle and alignment of a heading block ───────── */
.g-pg-eyebrow {
  margin-bottom: 6px;
  color: var(--color-brand);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* "Pill" eyebrow style of the theme settings. */
.g-pg-eyebrow[data-style="pill"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-area-lighter);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.g-pg-eyebrow[data-style="pill"]::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
}

.g-pg-sub {
  margin-top: 8px;
  color: #b0b0b0;
  font-size: 15px;
  line-height: 1.6;
}

[data-g-align="left"] {
  text-align: left;
}

[data-g-align="center"] {
  text-align: center;
}

[data-g-align="right"] {
  text-align: right;
}

/* Title highlight "side line" draws a line beside the heading: the heading shrinks to its text so the line stays next to it. */
[data-g-align] > .hl-side {
  display: inline-block;
}

/* ───────── Support cards ───────── */
/* The heading is the page title on the support and contact pages, a section title elsewhere. */
.g-sup-header h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 32px;
  line-height: 1.53;
  font-weight: 700;
}

.g-sup-header :is(h1, h2):last-child {
  margin-bottom: 0;
}

.g-sup-section > .g-sup-grid:first-child {
  margin-top: 0;
}

/*
 * The rules below start at ".g-sup" (the support block) and, further down, at ".g-faq" (the FAQ box), because
 * other sections reuse the card and question classes of the design on their own.
 */
/* Line breaks typed into a card text are kept. */
.g-sup .g-sup-card p {
  white-space: pre-line;
}

/* Links and bold text written as [label](/page) and **text** in a setting (gRich in storefront.js). */
.g-sup .g-sup-card p a,
.g-sup .g-sup-note a {
  color: #fff;
  text-decoration: underline;
}

.g-sup .g-sup-card p a:hover,
.g-sup .g-sup-card p a:focus-visible,
.g-sup .g-sup-note a:hover,
.g-sup .g-sup-note a:focus-visible {
  color: var(--color-brand);
}

.g-sup .g-sup-note strong,
.g-faq .g-faq-a strong {
  color: #fff;
}

.g-sup .g-sup-badge i {
  font-size: 14px;
  line-height: 1;
}

/* A long label (an e-mail address) wraps inside the button instead of widening the card. */
.g-sup .g-sup-action {
  min-width: 0;
  overflow-wrap: anywhere;
}

.g-sup .g-sup-action i {
  flex: 0 0 auto;
}

/* One or two contact routes: the cards keep the width they have in a row of three and sit in the middle. */
@media (min-width: 901px) {
  .g-sup-grid[data-count="1"] {
    grid-template-columns: minmax(0, 467px);
    justify-content: center;
  }

  .g-sup-grid[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 467px));
    justify-content: center;
  }
}

/* 56px between the support box and the questions: the 26px box margin plus the 30px spacer of the design. */
.g-sup + .g-faq,
.g-faq + .g-sup {
  margin-top: 56px;
}

@media (max-width: 768px) {
  .g-sup-header h2 {
    font-size: 25.6px;
  }
}

/* ───────── FAQ ───────── */
.g-faq-head {
  margin: 24.9px 0;
  text-align: center;
}

.g-faq-head .g-faq-title {
  margin: 0;
  text-align: inherit;
}

.g-faq-head[data-g-align="left"] {
  text-align: left;
}

.g-faq-head[data-g-align="right"] {
  text-align: right;
}

.g-faq-sub {
  margin-top: 4px;
  color: #b0b0b0;
  font-size: 16px;
  line-height: 1.6;
}

/* Line breaks typed into an answer are kept. */
.g-faq .g-faq-a {
  white-space: pre-line;
  overflow-wrap: break-word;
}

.g-faq .g-faq-q h3,
.g-faq-qt {
  min-width: 0;
  overflow-wrap: break-word;
}

/* Accordion layouts: the question row is a button, the answer folds away (Canvas .faq-panel). */
.g-faq-toggle {
  width: 100%;
  cursor: pointer;
  text-align: left;
}

.g-faq-qt {
  flex: 1 1 auto;
  margin: 1em 0;
  color: #fff;
  font-size: 21.06px;
  line-height: 1.6;
  font-weight: 700;
}

.g-faq-chevron {
  flex: 0 0 auto;
  margin-left: 16px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.15s linear;
}

.g-faq-toggle:hover .g-faq-chevron,
.g-faq-toggle[aria-expanded="true"] .g-faq-chevron {
  color: #fff;
}

.g-faq-toggle[aria-expanded="true"] .g-faq-chevron {
  transform: rotate(180deg);
}

/* Two-column layouts: a grid instead of the 20px margins of the list. */
.g-faq-list[data-variant="accordion-2col"],
.g-faq-list[data-variant="grid-cards"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.g-faq-list[data-variant="grid-cards"] {
  align-items: stretch;
}

.g-faq-list[data-variant="accordion-2col"] > .g-faq-item,
.g-faq-list[data-variant="grid-cards"] > .g-faq-item {
  margin-bottom: 0;
}

/* Split layout: heading on the left, questions on the right. */
.g-faq-split {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 40px;
  align-items: start;
}

.g-faq-split > .g-faq-list:first-child {
  grid-column: 1 / -1;
}

@media (max-width: 979px) {
  .g-faq-list[data-variant="accordion-2col"],
  .g-faq-list[data-variant="grid-cards"] {
    grid-template-columns: minmax(0, 1fr);
  }

  .g-faq-split {
    display: block;
  }
}

@media (max-width: 767px) {
  .g-faq-chevron {
    margin-left: 10px;
  }
}

/* ───────── Document text: legal pages, blog posts ───────── */
/* Page title without a box, as on the legal pages of the design. */
.g-doc-head {
  padding: 0 0 33px;
}

.g-doc-plain {
  margin-bottom: 26px;
}

/*
 * Rich text of the platform. Legal pages arrive as plain HTML (h2, p, ul, a), text written with the SellAuth
 * editor carries .e-* classes. Both get the article typography of the design (.g-article); the rules below
 * cover the elements the design's article does not have.
 */
.g-doc {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.g-doc > :first-child {
  margin-top: 0;
}

.g-doc h1,
.g-doc .e-heading-h1 {
  margin: 17.4px 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 700;
}

.g-doc .e-heading-h2 {
  margin: 17.4px 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 700;
}

.g-doc .e-heading-h3 {
  margin: 15px 0 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
}

.g-doc h4,
.g-doc h5,
.g-doc h6 {
  margin: 13px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
}

.g-doc .e-paragraph {
  margin: 13px 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}

.g-doc ol,
.g-doc .e-list-ol,
.g-doc .e-list-ul {
  margin: 0;
  padding-left: 40px;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
}

.g-doc ol,
.g-doc .e-list-ol {
  list-style: decimal;
}

.g-doc .e-list-ul {
  list-style: disc;
}

.g-doc ul ul,
.g-doc .e-list-ul .e-list-ul {
  list-style: circle;
}

.g-doc ol ol,
.g-doc .e-list-ol .e-list-ol {
  list-style: lower-alpha;
}

.g-doc .e-listitem {
  margin: 0;
}

.g-doc .e-nested-listitem {
  list-style: none;
}

.g-doc .e-link {
  color: var(--color-brand);
  text-decoration: none;
}

.g-doc .e-link:hover {
  text-decoration: underline;
}

.g-doc b,
.g-doc strong,
.g-doc .e-text-bold {
  font-weight: 700;
}

.g-doc blockquote,
.g-doc .e-quote {
  margin: 13px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--color-brand);
  border-radius: 0 8px 8px 0;
  background: var(--color-area-light);
  color: #ddd;
  font-size: 16px;
  line-height: 1.6;
}

.g-doc blockquote p {
  margin: 0;
  color: inherit;
}

.g-doc img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-box);
}

.g-doc .e-image {
  margin: 13px 0;
}

.g-doc iframe,
.g-doc video {
  max-width: 100%;
  border-radius: var(--radius-box);
}

.g-doc .e-youtube {
  margin: 13px 0;
}

.g-doc code,
.g-doc .e-text-code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--color-area-lighter);
  font-size: 0.9em;
}

.g-doc pre,
.g-doc .e-code {
  margin: 13px 0;
  padding: 12px 16px;
  overflow-x: auto;
  border: 1px solid var(--color-area-lighter);
  border-radius: var(--radius-box);
  background: var(--color-area-light);
  font-size: 14px;
  line-height: 1.6;
}

.g-doc pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}

.g-doc hr,
.g-doc .e-hr {
  height: 0;
  margin: 20px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
}

.g-doc table,
.g-doc .e-table {
  display: block;
  max-width: 100%;
  margin: 13px 0;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 15px;
}

.g-doc th,
.g-doc td {
  padding: 8px 12px;
  border: 1px solid var(--color-area-lighter);
  text-align: left;
  vertical-align: top;
}

.g-doc th,
.g-doc .e-table-cell-header {
  background: var(--color-area-light);
  color: #fff;
  font-weight: 700;
}

.g-doc :is(th, td) > :is(p, .e-paragraph) {
  margin: 0;
  font-size: inherit;
}

/* Collapsible block of the SellAuth editor: the same look as a question of the FAQ. */
.g-doc .e-collapsible {
  margin: 13px 0;
  border: 0;
  border-radius: var(--radius-box);
  background: var(--color-area-light);
}

.g-doc .e-collapsible-title {
  padding: 12px 16px 12px 34px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.g-doc .e-collapsible-title::before {
  left: 16px;
}

/* The marker points down while the block is open. */
.g-doc .e-collapsible[open] > .e-collapsible-title::before {
  border-color: var(--color-brand) transparent transparent;
  border-width: 6px 4px 0;
}

.g-doc .e-collapsible-content {
  margin-top: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--color-area-lighter);
  border-left: 0;
}

.g-doc .e-collapsible-content > :first-child {
  margin-top: 0;
}

.g-doc .e-collapsible-content > :last-child {
  margin-bottom: 0;
}

/* Text without a box around it (legal pages with "Box Around the Text" turned off). */
.g-doc-plain > .g-doc {
  padding: 0;
}

/* ───────── "On this page" box of legal pages (Canvas .post-toc, filled by script.js) ───────── */
/* Below 1280px: a closed box above the text. From 1280px: a 350px column beside it, like the categories box. */
.g-doc-toc {
  margin-bottom: 26px;
}

.g-doc-toc .post-toc-inner {
  position: relative;
  margin-bottom: 0;
  overflow: hidden;
}

.g-doc-toc .post-toc-box {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.g-doc-toc .post-toc-summary {
  gap: 8px;
  padding: 16px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.g-doc-toc .post-toc-box[open] > .post-toc-summary {
  border-bottom: 1px solid var(--line);
}

.g-doc-toc .post-toc-chevron {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1;
}

.g-doc-toc .post-toc-scroll {
  margin-top: 0;
  padding: 12px;
}

.g-doc-toc .post-toc-list li {
  padding-block: 0;
}

.g-doc-toc .post-toc-sublist {
  padding-inline-start: 12px;
}

.g-doc-toc .post-toc-link {
  display: block;
  padding: 7px 10px;
  overflow: hidden;
  border-inline-start: 2px solid var(--color-area-lighter);
  color: #b0b0b0;
  font-size: 13px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s linear, border-color 0.15s linear, background 0.15s linear;
}

.g-doc-toc .post-toc-link:hover {
  color: #fff;
}

.g-doc-toc .post-toc-link.is-active {
  border-inline-start-color: var(--color-brand);
  background: rgba(var(--cl-accent), 0.2);
  color: #fff;
  font-weight: 600;
}

/* Reading progress: a thin line at the top of the screen on small screens, at the top of the box on large ones. */
.g-doc-toc .post-progress {
  background: none;
}

/* The page wrapper keeps no stacking level here, so the fixed line is ordered against the header, not inside the page. */
.g-doc-page {
  z-index: auto;
}

.g-doc-toc .post-progress-fill {
  background: var(--color-brand);
}

@media (max-width: 1279.98px) {
  /* Above the header and the tab bar, below dropdowns and dialogs. */
  .g-doc-toc .post-progress {
    z-index: 35;
  }
}

@media (min-width: 1280px) {
  /* The title runs across both columns; the box starts level with the text. While it is hidden its column is 0 wide. */
  .g-doc-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .g-doc-main > * {
    grid-column: 1;
  }

  .g-doc-main > .g-doc-head {
    grid-column: 1 / -1;
  }

  .g-doc-main > .g-doc-toc {
    position: static;
    grid-row: 2;
    grid-column: 2;
    align-self: stretch;
    width: var(--sidebar);
    margin: 0;
    padding-left: 26px;
  }

  .g-doc-toc .post-toc-inner {
    position: sticky;
    top: var(--post-toc-offset);
  }

  .g-doc-toc .post-progress {
    height: 3px;
    margin-bottom: 0;
    border-radius: 0;
    background: var(--color-area-light);
  }

  .g-doc-toc .post-toc-link {
    padding-inline-start: 10px;
  }
}

/* ───────── Blog ───────── */
.g-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  margin-bottom: 26px;
}

/* Inside a widget box ("More posts" under a post) the grid is tighter, like the dense product grid. */
.g-blog-grid[data-dense="true"] {
  gap: 18px;
  margin-bottom: 0;
}

.g-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius-box);
  background: var(--color-area-light);
  transition: 0.2s linear;
}

.g-blog-card:hover,
.g-blog-card:focus-visible {
  border-color: rgba(var(--cl-accent), 0.7);
  box-shadow: 0 0 0 4px rgba(var(--cl-accent), 0.1);
}

/* Theme setting "Card Hover Effect" set to "none". */
.g-blog-card[data-hover="none"]:hover,
.g-blog-feature[data-hover="none"]:hover {
  border-color: transparent;
  box-shadow: none;
}

.g-blog-card-img {
  display: flex;
  flex: 0 0 auto;
  width: 100%;
  overflow: hidden;
}

.g-blog-card-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shown while a post has no cover image: an accent wash with a newspaper icon, no invented picture. */
.g-blog-art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.45)),
    linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 34%, rgba(0, 0, 0, 0) 34% 58%, rgba(0, 0, 0, 0.08) 58% 100%),
    var(--color-brand);
  color: rgba(255, 255, 255, 0.9);
  font-size: 44px;
  line-height: 1;
}

.g-blog-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 15.6px;
}

.g-blog-card-main {
  flex: 1 1 auto;
}

.g-blog-date {
  color: rgb(var(--cl-t-muted));
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g-blog-card-title {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.g-blog-card-text {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  color: #b0b0b0;
  font-size: 13px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.g-blog-card-foot {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px dashed #2d2f39;
}

/* "Read post": the look of the buy button of a product card. The whole card is the link. */
.g-blog-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  height: 45px;
  padding: 1em;
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  color: #fff;
  font-size: 14.625px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: 0.15s linear;
}

.g-blog-more i {
  font-size: 13px;
  line-height: 1;
}

.g-blog-card:hover .g-blog-more,
.g-blog-card:focus-visible .g-blog-more,
.g-blog-feature:hover .g-blog-more,
.g-blog-feature:focus-visible .g-blog-more {
  background: var(--color-brand);
}

/* Newest post, shown large on the first page of the blog (the layout of the product box). */
.g-blog-feature {
  display: grid;
  grid-template-columns: minmax(0, 550px) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
  margin-bottom: 26px;
  padding: 39px;
  border: 1px solid transparent;
  border-radius: var(--radius-card);
  background: var(--color-area-light);
  box-shadow: var(--shadow-box);
  transition: 0.2s linear;
}

.g-blog-feature:hover,
.g-blog-feature:focus-visible {
  border-color: rgba(var(--cl-accent), 0.7);
  box-shadow: 0 0 0 4px rgba(var(--cl-accent), 0.1);
}

.g-blog-feature-img {
  display: flex;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-card);
  box-shadow: -3px 0 12px rgba(var(--cl-accent), 0.2), 3px 0 12px rgba(var(--cl-accent), 0.3);
}

.g-blog-feature-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-blog-feature-img .g-blog-art {
  font-size: 72px;
}

.g-blog-feature-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.g-blog-feature-title {
  margin-top: 6px;
  color: #fff;
  font-size: clamp(24px, 2vw, 36px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.g-blog-feature-text {
  display: -webkit-box;
  margin-top: 13px;
  overflow: hidden;
  color: #d0d0d0;
  font-size: 16px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.g-blog-feature .g-blog-more {
  margin-top: 26px;
  padding: 1em 26px;
}

/* Blog post: back link and date around the title of the intro box. */
.g-blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b0b0b0;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  transition: color 0.15s linear;
}

.g-blog-back:hover,
.g-blog-back:focus-visible {
  color: #fff;
}

.g-blog-back i {
  font-size: 12px;
  line-height: 1;
}

.g-blog-post-intro .g-blog-date {
  margin-top: 13px;
  text-align: center;
}

.g-blog-post-intro .g-info-h1 {
  margin: 2px 0 0;
  overflow-wrap: break-word;
}

.g-blog-post-intro .g-info-h1:last-child {
  margin-bottom: 17.4px;
}

.g-blog-post-cover {
  display: block;
  width: 100%;
  max-height: 440px;
  margin-bottom: 26px;
  border-radius: var(--radius-box);
  object-fit: cover;
}

/* Empty blog: the "nothing here" box of the design with one way out. */
.g-blog-empty {
  margin-bottom: 26px;
}

.g-blog-empty .g-empty-icon i {
  font-size: 26px;
  line-height: 1;
}

.g-blog-empty h2 {
  margin-bottom: 22px;
}

.g-blog-pager {
  margin-bottom: 26px;
}

/* Latest posts on a home or custom page: title block, cards, "All posts". */
.g-blog-latest {
  margin-bottom: 26px;
}

.g-blog-latest-head {
  margin-bottom: 18px;
  text-align: center;
}

.g-blog-latest-head[data-g-align="left"] {
  text-align: left;
}

.g-blog-latest-head[data-g-align="right"] {
  text-align: right;
}

.g-blog-latest-head .g-rail-title {
  text-align: inherit;
}

.g-blog-latest .g-blog-grid {
  margin-bottom: 0;
}

.g-blog-all {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.g-blog-all .g-btn-ghost {
  gap: 8px;
}

.g-blog-all .g-btn-ghost i {
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 1280px) {
  .g-blog-feature {
    padding: 26px;
  }
}

@media (max-width: 979px) {
  .g-blog-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }
}

@media (max-width: 767px) {
  .g-blog-feature {
    padding: 18px;
  }

  .g-blog-feature .g-blog-more {
    width: 100%;
  }
}

/* ───────── Custom pages ───────── */
/* Intro box of a custom page (the first box of the design's info pages): alignment follows the setting. */
.g-pg-intro[data-g-align="left"] :is(.g-info-h1, .g-info-lead) {
  text-align: left;
}

.g-pg-intro[data-g-align="right"] :is(.g-info-h1, .g-info-lead) {
  text-align: right;
}

.g-pg-intro .g-info-h1 {
  overflow-wrap: break-word;
}

.g-pg-intro > .g-pg-eyebrow:first-child {
  margin-top: 17.4px;
}

.g-pg-intro .g-pg-eyebrow + .g-info-h1 {
  margin-top: 0;
}

/*
 * A custom page for logged-in customers renders inside the account layout. Sections placed there already sit
 * in a padded column, so their own page gutter is dropped.
 */
.g-pg-shell .g-wrap {
  max-width: none;
  padding-inline: 0;
}

.g-pg-shell .g-cols-main {
  padding: 0;
}

/* The boxes of the sections already end with the 26px gap of the account column. */
.g-pg-shell > .components {
  margin-bottom: 0;
}


/* ═════════ cart and overlays (tools/css/60-overlays.css) ═════════
 * Cart drawer and cart page, login / search / language / coupon / maintenance dialogs, toasts and purchase
 * notifications. The measured look comes from overlays.css and header.css above. This file adds what only the
 * SellAuth theme has (extra cart rows, login steps, pickers, Font Awesome icons) and puts every overlay on the
 * theme's stacking order: backdrops 40, dialogs and drawers 50, toasts 60.
 * Rules for classes other areas use too (dialog, backdrop, field, box, empty state) are scoped to this area's
 * own wrappers, so they change nothing elsewhere.
 */

/* ───────── overlay layer ───────── */
/* Backdrop behind drawers and dialogs. Its colour is the SellAuth setting "Overlay Color" / "Overlay Opacity". */
.g-backdrop.g-ovl-shade {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--cl-overlay, rgba(0, 0, 0, 0.55));
}

/*
 * A dialog sits in a full-screen flex layer instead of being centred with a transform: its text stays sharp
 * at every viewport width, and a dialog taller than the screen scrolls with the layer.
 */
.g-ovl {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  padding: 24px 16px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.g-ovl > .g-dialog {
  position: relative;
  top: auto;
  left: auto;
  z-index: 50;
  flex: 0 0 auto;
  max-width: 100%;
  max-height: none;
  margin: auto;
  overflow: visible;
  transform: none;
}

/* Dialog widths this theme adds to the design's 920px and 520px ("sm"). */
.g-ovl > .g-dialog[data-size="login"] {
  width: min(440px, calc(100vw - 32px));
}

.g-ovl > .g-dialog[data-size="login-wide"] {
  width: min(600px, calc(100vw - 32px));
}

.g-ovl > .g-dialog[data-size="xs"] {
  width: min(400px, calc(100vw - 32px));
}

/* Title and close button follow the reading direction. */
.g-ovl .g-dialog-title {
  padding: 0;
  padding-inline: 20px 48px;
  overflow-wrap: anywhere;
}

.g-ovl .g-dialog-close {
  right: auto;
  inset-inline-end: 14px;
}

/* Button row at the foot of a dialog. */
.g-ovl-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.g-ovl-actions .g-btn-primary:disabled {
  cursor: default;
}

/* Error lines take the SellAuth "Error" colour, lightened for the dark panels. */
.g-ovl .g-field-error,
.g-drawer .g-field-error,
.g-cart-page .g-field-error {
  color: color-mix(in srgb, rgb(var(--cl-error)) 62%, #fff);
}

/* Motion (Alpine x-transition classes): backdrops fade, dialogs rise 10px, the drawer slides in. */
.g-ovl-fade-enter {
  transition: opacity 0.15s ease-out;
}

.g-ovl-fade-leave {
  transition: opacity 0.15s ease-in;
}

.g-ovl-fade-from {
  opacity: 0;
}

.g-ovl-fade-to {
  opacity: 1;
}

.g-ovl-pop-enter {
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.g-ovl-pop-leave {
  transition: opacity 0.14s ease-in, transform 0.14s ease-in;
}

.g-ovl-pop-from,
.g-ovl > .g-ovl-pop-from {
  opacity: 0;
  transform: translateY(10px);
}

.g-ovl-pop-to,
.g-ovl > .g-ovl-pop-to {
  opacity: 1;
  transform: translateY(0);
}

.g-ovl-slide-enter {
  transition: transform 0.22s ease-out;
}

.g-ovl-slide-leave {
  transition: transform 0.18s ease-in;
}

.g-ovl-slide-from {
  transform: translateX(100%);
}

.g-ovl-slide-from-rtl {
  transform: translateX(-100%);
}

.g-ovl-slide-to {
  transform: translateX(0);
}

/* ───────── cart drawer ───────── */
.sa-cart-panel.g-drawer {
  right: auto;
  inset-inline-end: 0;
  z-index: 50;
  border-left: 0;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.06);
}

[dir="rtl"] .sa-cart-panel.g-drawer {
  box-shadow: 24px 0 60px rgba(0, 0, 0, 0.45);
}


.g-drawer-count {
  margin-inline-start: 4px;
  color: #9ea4b1;
  font-size: 14px;
  font-weight: 500;
}

/* The close buttons of this area use the light "×" of the design's dialog. */
.sa-cart-panel .g-drawer-head button {
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}

.g-drawer-body {
  overscroll-behavior: contain;
}

/* Extra links under the checkout button: the cart page and "clear cart". */
.g-drawer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  margin-top: 14px;
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
}

.g-drawer-links a,
.g-drawer-links button {
  transition: color 0.15s linear;
}

.g-drawer-links a:hover {
  color: #fff;
}

.g-drawer-links button:hover,
.g-cart-clear:hover {
  color: color-mix(in srgb, rgb(var(--cl-error)) 62%, #fff);
}

/* ───────── cart: states and lines (drawer and page) ───────── */
.g-cart-loading {
  display: flex;
  justify-content: center;
  padding: 56px 0;
  color: var(--color-brand);
  font-size: 26px;
  line-height: 1;
}

.g-cart-empty > i {
  margin-bottom: 4px;
  font-size: 30px;
  line-height: 1;
}

.g-cart-empty .g-btn-ghost {
  margin-top: 6px;
}

/* Notices the shop sends with the cart (price changed, quantity adjusted): SellAuth "Warning" colour. */
.g-cart-notes {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.g-cart-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border: 1px dashed rgba(var(--cl-warning), 0.45);
  border-radius: var(--radius-box);
  background: rgba(var(--cl-warning), 0.08);
  color: color-mix(in srgb, rgb(var(--cl-warning)) 45%, #fff);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

.g-cart-note i {
  flex: 0 0 auto;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1;
}

.g-cart-error {
  margin-top: 14px;
  font-size: 13px;
}

.g-cart-line-art {
  background: var(--color-area-lighter);
}

/*
 * Artwork of a cart line without a product image: a small software box on the accent colour, drawn in CSS
 * (cart lines are built in the browser from the cart data, so the generated SVG artwork is not available here).
 */
.g-cart-line-noart {
  position: relative;
  display: block;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.5)),
    rgb(var(--cl-accent));
}

.g-cart-line-noart::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26%;
  height: 62%;
  border-radius: 1px;
  background: linear-gradient(135deg, #232a3d, #0d1019);
  box-shadow: -4px 0 0 #090b12, 0 7px 8px -5px rgba(0, 0, 0, 0.7);
  transform: translate(-42%, -50%);
}

.g-cart-line-noart::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12%;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-58%, 240%);
}

.g-cart-line-title a {
  transition: color 0.15s linear;
}

.g-cart-line-title a:hover {
  color: var(--color-brand);
}

.g-cart-line-variant {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Add-ons bought with a line. */
.g-cart-line-addons {
  margin-top: 2px;
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1.4;
}

/* Stepper and price share a row; a price block too wide for it moves under the stepper instead of breaking its text. */
.g-cart-line-row {
  flex-wrap: wrap;
  gap: 8px 12px;
}

.g-cart-step {
  flex: 0 0 auto;
}

.g-cart-step button i {
  font-size: 11px;
  line-height: 1;
}

.g-cart-step button:disabled {
  cursor: default;
}

/* Price block of a line: total, and the undiscounted total struck through while a volume discount applies. */
.g-cart-line-sum {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: 100%;
  margin-inline-start: auto;
  text-align: end;
}

.g-cart-line-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0 8px;
}

.g-cart-line-was {
  color: #9ea4b1;
  font-size: 12px;
  text-decoration: line-through;
}

.g-cart-line-note {
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1.4;
}

.g-cart-line-save,
.g-cart-sum[data-kind="discount"] > :last-child {
  color: rgb(var(--cl-success));
}

/* Totals: subtotal and discount rows above the design's large total. */
.g-cart-sums {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--color-area-lighter);
}

.g-cart-sum {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #c7d0e0;
  font-size: 13px;
  line-height: 2;
}

.g-cart-sum > :first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-cart-sum > :last-child {
  flex: 0 0 auto;
  font-weight: 600;
}

.g-cart-total {
  gap: 12px;
}


.g-cart-checkout:disabled {
  cursor: default;
}

/* ───────── cart page ───────── */
.g-cart-page .g-page-head[data-align="center"] {
  text-align: center;
}

.g-cart-page .g-page-head[data-align="right"] {
  text-align: end;
}

/* With a subtitle the box does not need the 7px the design reserves under a bare title. */
.g-cart-page .g-page-head[data-sub="true"] {
  padding-bottom: 26px;
}

.g-cart-eyebrow {
  margin-bottom: 6px;
  color: var(--color-brand);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* "Pill" eyebrow style of the theme settings. */
.g-cart-eyebrow[data-style="pill"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-area-lighter);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.g-cart-eyebrow[data-style="pill"]::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
}

.g-cart-sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.g-cart-page .g-cart-loading {
  padding: 64px 26px;
}

.g-cart-page .g-empty-icon i {
  font-size: 26px;
  line-height: 1;
}

.g-cart-page .g-empty p {
  margin-bottom: 22px;
}

.g-cart-list {
  padding: 26px;
}

.g-cart-page .g-cart-notes {
  margin-bottom: 16px;
}

.g-cart-line-text {
  min-width: 0;
}

.g-cart-page .g-cart-line-title {
  font-size: 15px;
}

.g-cart-page .g-cart-line-price {
  font-size: 16px;
}

/* Wide screens: a line has room for one row (artwork, name, stepper, price); the price column keeps the steppers aligned. */
@media (min-width: 1281px) {
  .g-cart-page .g-cart-line {
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
  }

  .g-cart-page .g-cart-line-art {
    flex-basis: 104px;
    height: 64px;
  }

  .g-cart-page .g-cart-line-info {
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .g-cart-page .g-cart-line-text {
    flex: 1 1 auto;
  }

  .g-cart-page .g-cart-line-row {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 26px;
    margin-top: 0;
  }

  .g-cart-page .g-cart-line-sum {
    flex: 0 0 150px;
    width: 150px;
  }
}

.g-cart-addons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.g-cart-addon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--color-area-lighter);
  color: #c7d0e0;
  font-size: 12px;
  line-height: 1.5;
}

.g-cart-addon b {
  color: #fff;
  font-weight: 600;
}

/* "Buy more, save more" offers that apply to this cart. */
.g-cart-deals {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-box);
  background: rgba(var(--cl-accent), 0.12);
  color: #c7d0e0;
  font-size: 13px;
  line-height: 1.6;
}

.g-cart-deals strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* Summary box in the side column. */
.g-cart-summary h2 {
  line-height: 1;
}

.g-cart-summary-body {
  padding: 18px 16px 16px;
}

.g-cart-tax {
  margin: -6px 0 14px;
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1.5;
}

.g-cart-summary .g-field-error {
  margin-top: 10px;
  font-size: 13px;
}

.g-cart-clear {
  display: block;
  width: 100%;
  margin-top: 12px;
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  text-align: center;
  transition: color 0.15s linear;
}

@media (min-width: 980px) {
  /* The summary stays in view while a long cart scrolls. */
  .g-cart-side {
    position: sticky;
    top: 26px;
  }

  body:has(.sa-header.sticky) .g-cart-side {
    top: calc(var(--header-top) + var(--header-nav) + 26px);
  }
}

@media (max-width: 979px) {
  /* Stacked under the lines, the summary lines up with them (the design indents its sidebar here). */
  .g-cols-side.g-cart-side {
    padding: 0 15px 20px;
  }
}

@media (max-width: 767px) {
  .g-cols-side.g-cart-side {
    padding: 0 10px 15px;
  }

  .g-cart-list {
    padding: 14px;
  }
}

/* ───────── customer login ───────── */
/* The sign-in panel of the design (form column, social column) used as the body of the dialog shell. */
.g-login .g-signin {
  position: static;
  width: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  line-height: 1.5;
  font-weight: 400;
}

.g-login .g-signin-main {
  flex: 1 1 0;
  min-width: 0;
  padding: 2px 20px 20px;
}

.g-login .g-signin-side {
  flex: 0 0 48%;
  padding: 2px 14px 20px;
  border-left: 0;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
}

.g-login-label {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.g-login-hint {
  display: block;
  margin: 2px 0 10px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* The address a code was sent to stands out in the hint. */
.g-login-hint b,
.g-login-hint strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.g-login .g-field-error {
  margin: -4px 0 12px;
}

.g-login .g-signin-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.g-login .g-signin-submit:disabled {
  background-image: none;
  cursor: default;
  opacity: 0.6;
}

.g-login .g-signin-submit i {
  font-size: 13px;
  line-height: 1;
}

/* Text links under the button: other ways to log in, forgotten password. */
.g-login-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  margin-top: 10px;
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
}

.g-login-links button {
  transition: color 0.15s linear;
}

.g-login-links button:hover:not(:disabled) {
  color: var(--color-brand);
}

.g-login-links button:disabled {
  cursor: default;
  opacity: 0.6;
}

.g-login-links button:only-child {
  margin-inline-start: auto;
}

/* Six boxes for the e-mailed code. Digits always run left to right. */
.g-login-otp {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  direction: ltr;
}

.g-login-otp .g-field {
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  text-align: center;
}

.g-login .g-social-btn:disabled {
  cursor: default;
  filter: none;
  opacity: 0.6;
}

.g-login .g-signin-side .g-field-error {
  margin: 10px 2px 0;
  text-align: center;
}

@media (max-width: 760px) {
  /* Stacked: the social column sits under the form, separated by the design's top rule. */
  .g-login .g-signin-side {
    padding: 16px 20px 20px;
    border-inline-start: 0;
  }
}

/* ───────── search dialog ───────── */
/*
 * The header's search box and its suggestion panel. Below 980px (and when the header has no search box) it opens
 * as a dialog near the top of the screen; from 980px on it opens in place of the header's box (further down).
 */
.g-ovl.g-ovl-top {
  padding-top: clamp(24px, 12vh, 115px);
}

.g-ovl > .g-search-dialog {
  position: relative;
  z-index: 50;
  display: block;
  flex: 0 0 auto;
  width: min(600px, 100%);
  margin: 0 auto auto;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.g-search-dialog:focus-within {
  border-color: rgba(var(--cl-accent), 0.6);
}

.g-search-dialog .g-search-input {
  align-self: stretch;
  height: auto;
  font-size: 15px;
}

/* Close button, where the design shows its scope filter. */
.g-search-close {
  display: flex;
  flex: 0 0 35px;
  align-items: center;
  justify-content: center;
  height: 35px;
  margin-inline-end: 6.5px;
  border-radius: var(--radius-box);
  background: var(--color-area-light);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
  transition: background-color 0.15s linear;
}

.g-search-close:hover {
  background: var(--color-brand);
}

.g-search-dialog .g-search-suggest {
  max-height: min(60vh, 460px);
  overflow-x: hidden;
  overflow-y: auto;
}

/*
 * Rows are shown and hidden by the search script, so the divider cannot hang on "the row after another row":
 * every row draws its line above itself and the panel clips the line of the first visible one.
 */
.g-search-dialog .g-search-suggest-item + .g-search-suggest-item {
  border-top: 0;
}

.g-search-dialog .g-search-suggest-item {
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.g-search-dialog .g-search-suggest-item:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  outline-offset: -2px;
}

.g-search-dialog .g-search-suggest-empty {
  line-height: 1.5;
}

/*
 * 980px and wider: the dialog lies exactly over the header's search box (x-g-search-anchor in
 * tools/js/60-overlays.js sets data-anchored and the box's position), so the field stays where it was and the
 * suggestions drop 7px under it, as in the design. The backdrop turns clear but still closes the search on a
 * click outside. The suggestion panel shows only once something is typed.
 */
@media (min-width: 980px) {
  .g-ovl-top[data-anchored="true"] > .g-backdrop.g-ovl-shade {
    background: transparent;
  }

  .g-ovl.g-ovl-top[data-anchored="true"] > .g-search-dialog {
    position: fixed;
    top: var(--g-anchor-top);
    left: var(--g-anchor-left);
    width: var(--g-anchor-width);
    height: var(--g-anchor-height);
    margin: 0;
    box-shadow: none;
  }

  /* In place, the field only fades in: no rise. */
  .g-ovl.g-ovl-top[data-anchored="true"] > .g-ovl-pop-from,
  .g-ovl.g-ovl-top[data-anchored="true"] > .g-ovl-pop-to {
    transform: none;
  }

  /* Typed text at the design's 13px (the placeholder keeps 15px). */
  .g-ovl-top[data-anchored="true"] .g-search-dialog .g-search-input {
    font-size: 13px;
  }

  .g-ovl-top[data-anchored="true"] .g-search-suggest[data-filled="false"] {
    display: none;
  }
}

/* ───────── toasts ───────── */
.g-toasts {
  left: auto;
  inset-inline-start: 24px;
  bottom: calc(24px + var(--g-toast-lift, 0px));
  z-index: 60;
}

.g-toast {
  background: var(--color-area);
  animation: g-toast-in 0.18s ease-out;
}

.g-toast[data-kind="success"] {
  border-left-color: rgb(var(--cl-success));
}

.g-toast[data-kind="error"] {
  border-left-color: rgb(var(--cl-error));
}

.g-toast > i {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 16px;
  line-height: 1;
}

.g-toast > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.g-toast button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 21px;
  line-height: 1;
  font-weight: 300;
  transition: color 0.15s linear;
}

@keyframes g-toast-in {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* A toast never covers a purchase notification that is showing in the same corner. */
#app:has(.g-proof[data-side="left"] .g-proof-card:not([style*="display: none"])) .g-toasts {
  --g-toast-lift: 96px;
}

@media (max-width: 979px) {
  .g-toasts {
    left: auto;
    inset-inline-start: 16px;
    bottom: calc(16px + var(--g-toast-lift, 0px));
  }

  /* Above the mobile tab bar, as the layout places it, plus the lift above. */
  body:has(.g-tabbar) .sa-toasts.g-toasts {
    bottom: calc(var(--tabbar-height) + 16px + var(--g-toast-lift, 0px));
  }
}

/* ───────── purchase notifications ───────── */
.g-proof {
  position: fixed;
  bottom: 24px;
  z-index: 30;
  width: min(340px, calc(100vw - 32px));
}

.g-proof[data-side="left"] {
  left: 24px;
}

.g-proof[data-side="right"] {
  right: 24px;
}

.g-proof-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 38px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--color-brand);
  border-radius: 8px;
  background: var(--color-area);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  color: #d8deef;
  font-size: 13px;
  line-height: 1.5;
}

.g-proof-art {
  display: flex;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: var(--radius-box);
  background: rgba(var(--cl-accent), 0.2);
  color: var(--color-brand);
  font-size: 18px;
  line-height: 1;
}

.g-proof-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-proof-text {
  display: block;
  min-width: 0;
}

.g-proof-text > span,
.g-proof-text > strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-proof-who {
  color: #9ea4b1;
  font-size: 12px;
}

.g-proof-text > strong {
  color: #fff;
  font-weight: 600;
}

.g-proof-meta {
  color: #9ea4b1;
  font-size: 12px;
}

.g-proof-meta i {
  margin-inline-end: 3px;
  color: rgb(var(--cl-success));
  font-size: 12px;
  line-height: 1;
}

.g-proof-meta b {
  color: rgb(var(--cl-success));
  font-weight: 600;
}

.g-proof-close {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  color: var(--color-muted);
  font-size: 21px;
  line-height: 1;
  font-weight: 300;
  transition: 0.2s linear;
}

.g-proof-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

@media (max-width: 979px) {
  .g-proof {
    bottom: 16px;
  }

  .g-proof[data-side="left"] {
    left: 16px;
  }

  .g-proof[data-side="right"] {
    right: 16px;
  }
}

/* ───────── language and currency ───────── */
/* Trigger button (header, mobile menu, footer). Header and footer set its height and fill where it sits in them. */
.g-locale-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--color-area-lighter);
  border-radius: var(--radius-box);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.15s linear;
}

.g-locale-btn:hover,
.g-locale-btn[aria-expanded="true"] {
  border-color: rgba(var(--cl-accent), 0.6);
}

.g-locale-btn-xs {
  gap: 6px;
  padding: 0 10px;
}

.g-locale-btn > i {
  color: #939cb1;
  font-size: 10px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.g-locale-btn[aria-expanded="true"] > i {
  transform: rotate(180deg);
}

.g-locale-code {
  text-transform: uppercase;
}

.g-locale-symbol {
  color: #939cb1;
}

.g-locale-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.15);
}

/* Picker dialog: one select-like field per choice, its option list opens under the field. */
.g-locale-body {
  display: grid;
  gap: 14px;
  padding: 0 20px 20px;
}

.g-locale-field {
  position: relative;
  display: grid;
  gap: 5px;
}

.g-locale-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.g-ovl .g-locale-select {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 47px;
  cursor: pointer;
  text-align: start;
}

.g-locale-select > i {
  flex: 0 0 auto;
  margin-inline-start: auto;
  color: #939cb1;
  font-size: 11px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.g-locale-select[aria-expanded="true"] > i {
  transform: rotate(180deg);
}

.g-locale-face {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.g-locale-face > span,
.g-locale-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-locale-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 10;
  max-height: 240px;
  padding: 5px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: var(--color-area);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Language dropdown used outside the dialog (footer, "separate" mode): right-aligned, above or below its button. */
.g-locale-menu-drop {
  left: auto;
  z-index: 40;
  width: 200px;
  max-height: 290px;
  inset-inline-end: 0;
}

[dir="rtl"] .g-locale-menu-drop {
  right: auto;
}

.g-locale-menu-up {
  top: auto;
  bottom: calc(100% + 6px);
}

.g-locale-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0.6em;
  border-radius: 4px;
  color: #d8deef;
  font-size: 13px;
  line-height: 1.5;
  text-align: start;
}

.g-locale-option:hover,
.g-locale-option:focus-visible {
  background: var(--color-area-light);
}

.g-locale-option[aria-selected="true"] {
  background: rgba(var(--cl-accent), 0.2);
  color: #fff;
  font-weight: 500;
}

.g-locale-option > i {
  flex: 0 0 auto;
  margin-inline-start: auto;
  color: var(--color-brand);
  font-size: 12px;
  line-height: 1;
}

.g-locale-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #939cb1;
  font-size: 12px;
  line-height: 1.5;
}

.g-locale-badge:empty {
  display: none;
}

.g-locale-default {
  flex: 0 0 auto;
  margin-inline-start: auto;
  color: #939cb1;
  font-size: 12px;
  font-weight: 400;
}

.g-locale-search {
  position: sticky;
  top: -5px;
  z-index: 1;
  margin: -5px -5px 5px;
  padding: 5px;
  background: var(--color-area);
}

.g-ovl .g-locale-search .g-field {
  height: 38px;
  padding: 8px 12px;
  font-size: 13px;
}

.g-locale-empty {
  padding: 0.6em;
  color: #939cb1;
  font-size: 13px;
}

/* ───────── coupon popup ───────── */
.g-coupon-inner {
  padding: 34px 26px 22px;
  text-align: center;
}

.g-coupon-logo {
  width: auto;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 4px;
}

.g-coupon-eyebrow {
  margin-bottom: 6px;
  color: var(--color-brand);
  font-size: 11px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g-coupon-title {
  color: #fff;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.g-coupon-text {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-line;
}

/* The code itself: click to copy. */
.g-coupon-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px dashed rgba(var(--cl-accent), 0.6);
  border-radius: var(--radius-box);
  background: rgba(var(--cl-accent), 0.1);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background-color 0.2s ease;
}

.g-coupon-code:hover {
  background: rgba(var(--cl-accent), 0.2);
}

.g-coupon-code span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.g-coupon-code i {
  flex: 0 0 auto;
  color: #9ea4b1;
  font-size: 14px;
  line-height: 1;
}

.g-coupon-code i.fa-check {
  color: rgb(var(--cl-success));
}

.g-coupon-hint {
  margin-top: 8px;
  color: #9ea4b1;
  font-size: 12px;
  line-height: 1.5;
}

.g-coupon-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
}

.g-coupon-actions .g-signup-submit {
  display: block;
  text-align: center;
}

.g-coupon-later {
  padding: 8px;
  color: #9ea4b1;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  transition: color 0.15s linear;
}

.g-coupon-later:hover {
  color: #fff;
}

/* ───────── maintenance page ───────── */
/* Stands alone: SellAuth renders no header or footer here. */
.g-maint {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 15px;
}

.g-maint-inner {
  width: min(560px, 100%);
}

.g-maint-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.g-maint .g-empty {
  padding: 52px 26px;
}

.g-maint .g-empty-icon i {
  font-size: 26px;
  line-height: 1;
}

.g-maint h1 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.g-maint .g-btn-ghost {
  gap: 8px;
}

.g-maint .g-btn-ghost i {
  font-size: 13px;
  line-height: 1;
}

.g-maint-form {
  padding: 0 20px 20px;
}

.g-maint-form .g-login-label {
  margin-bottom: 6px;
}

.g-maint-form .g-field {
  height: 47px;
}

.g-maint-form .g-field-error {
  margin-top: 8px;
}

.g-maint-form .g-signup-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.g-maint-form .g-signup-submit:disabled {
  background-image: none;
  cursor: default;
  opacity: 0.6;
}

.g-maint-form .g-signup-submit i {
  font-size: 13px;
  line-height: 1;
}

/* ───────── reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  .g-ovl-fade-enter,
  .g-ovl-fade-leave,
  .g-ovl-pop-enter,
  .g-ovl-pop-leave,
  .g-ovl-slide-enter,
  .g-ovl-slide-leave {
    transition-duration: 0.01ms;
  }

  .g-toast {
    animation: none;
  }
}


/* ═════════ customer account area (tools/css/70-customer.css) ═════════
 * The design only draws a small signed-out account page, so this area is "SellAuth features in the design
 * language". The markup uses the design's own classes wherever one exists (g-box, g-cols, g-page-head, g-side,
 * g-tabs-tab, g-field, g-check, g-dialog-*, g-empty, g-status-pill, g-qty, g-btn-primary, g-btn-ghost).
 * The rules below add what the account features need on top of that: stat tiles, list rows, tables, compact
 * buttons, notices, the ticket conversation and the dialog shell around the SellAuth dialog markup.
 */

/* ───────── scope ───────── */
/*
 * Set on every account section and on each account dialog (dialogs can sit outside the section).
 * Secondary text uses the "Muted Text" colour setting, which is lighter than the design's body grey
 * and stays readable at the small sizes of labels, hints and table headers.
 */
.g-acct {
  --acct-dim: rgb(var(--cl-t-muted));
  --acct-soft: #d8deef;
  --acct-ok: rgb(var(--cl-success));
  --acct-warn: rgb(var(--cl-warning));
  --acct-bad: rgb(var(--cl-error));
  --acct-info: var(--color-brand);
  --acct-idle: #9ea4b1;
  color: var(--acct-dim);
}

/* The status colours of the SellAuth settings are tuned for light pages; as text on dark boxes they get lightened. */
@supports (color: color-mix(in srgb, red 50%, blue)) {
  .g-acct {
    --acct-ok: color-mix(in srgb, rgb(var(--cl-success)) 70%, #fff);
    --acct-warn: color-mix(in srgb, rgb(var(--cl-warning)) 70%, #fff);
    --acct-bad: color-mix(in srgb, rgb(var(--cl-error)) 66%, #fff);
    --acct-info: var(--color-brand-soft);
  }
}

/* ───────── page skeleton ───────── */
/* Same measures as the design's two-column pages: fluid main column, 350px sidebar slot on the right. */
.g-acct-cols > .g-acct-side {
  order: 1;
}

/*
 * The boxes of the main column are spaced by a gap, not by bottom margins. The column is a flex item, so a margin
 * under the last box would stay inside it and add to the 26px the layout already leaves above the footer. A gap
 * also skips boxes hidden by Alpine and the fixed dialogs some pages render in this column.
 */
.g-acct-main {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.g-acct-main > * {
  margin-bottom: 0;
}

/* Next to the main column the navigation box ends flush too, so a short page keeps the same space above the footer. */
@media (min-width: 980px) {
  .g-acct-cols > .g-acct-side {
    padding-bottom: 0;
  }

  .g-acct-side > .g-acct-nav {
    margin-bottom: 0;
  }
}

@media (max-width: 979px) {
  /* Like the design's page container: boxes run to the 15px (10px on phones) padding of the main column. */
  .g-acct-page.g-wrap {
    padding-inline: 0;
  }

  /* The navigation comes first in the markup, so it stays above the content when the columns stack. */
  .g-acct-cols > .g-acct-side {
    width: auto;
    padding: 15px 15px 0;
  }
}

@media (max-width: 767px) {
  .g-acct-cols > .g-acct-side {
    padding: 0;
  }
}

/* ───────── navigation: sidebar box (980px and up) ───────── */
.g-acct-nav-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  padding-inline-end: 12px;
  border-bottom: 1px solid var(--line);
}

.g-acct-avatar {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: var(--radius-box);
  background: rgba(var(--cl-accent), 0.2);
  color: var(--acct-info);
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.g-acct-nav-who {
  flex: 1 1 auto;
  min-width: 0;
}

.g-acct-nav-who .g-side-title {
  padding: 0;
  border: 0;
  border-radius: 0;
}

.g-acct-nav-mail {
  margin-top: 6px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The "Balance" row carries the current balance at its right end. */
.g-acct-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.g-acct-nav-amount {
  flex: 0 0 auto;
  color: var(--color-price);
  font-weight: 600;
}

.g-side-item[aria-current="page"] .g-acct-nav-amount {
  color: #fff;
}

.g-acct-logout {
  gap: 8px;
  width: 100%;
  margin-top: 12px;
}

.g-acct-logout i {
  font-size: 13px;
}

/* ───────── navigation: tab row (979px and below) ───────── */
/* The design's account tab row, with the options button kept at its right end while the tabs wrap. */
.g-acct-tabsbox {
  display: none;
  align-items: flex-start;
  gap: 8px;
  padding: 19.5px;
}

.g-acct-tabsbox .g-acct-tabs {
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  padding: 0;
  border-bottom: 0;
}

.g-acct-tabsbox .g-tabs-tab {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.g-acct-tabsbox .g-tabs-tab[aria-current="page"] {
  background: var(--color-brand);
}

@media (max-width: 979px) {
  .g-acct-nav {
    display: none;
  }

  .g-acct-tabsbox {
    display: flex;
  }
}

@media (max-width: 767px) {
  /* Phones: an edge-to-edge strip, like the page head below it. */
  .g-acct-tabsbox {
    gap: 6px;
    padding: 13px 10px;
    border-radius: 0;
  }

  .g-acct-tabsbox .g-acct-tabs {
    gap: 6px;
  }

  /*
   * The design stacks tabs as full-width blocks on phones. With four to seven account pages that list would
   * push every page's content a screen down, so here the tabs stay compact and wrap.
   */
  .g-acct-tabsbox .g-tabs-tab {
    display: inline-flex;
    width: auto;
    height: 38px;
    padding: 0 12px;
    font-size: 13px;
    line-height: 1;
  }

  .g-acct-tabsbox .g-tabs-tab + .g-tabs-tab {
    margin-top: 0;
  }
}

/* ───────── account options menu ───────── */
.g-acct-menu-wrap {
  position: relative;
  flex: 0 0 auto;
}

.g-acct-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  color: var(--acct-dim);
  font-size: 15px;
  line-height: 1;
  transition: 0.2s linear;
}

.g-acct-menu-btn:hover,
.g-acct-menu-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* In the tab row the button is as tall as a tab. */
.g-acct-menu-btn--solid {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  color: #fff;
}

.g-acct-menu-btn--solid:hover,
.g-acct-menu-btn--solid[aria-expanded="true"] {
  background: var(--color-brand);
}

/* The design's dropdown panel (g-nav-menu), anchored under the button instead of under the header. */
.g-acct-menu {
  top: 100%;
  right: auto;
  left: auto;
  inset-inline-end: 0;
  z-index: 40;
  margin-top: 6px;
  padding: 8px 0;
}

.g-acct-menu button i {
  flex: 0 0 16px;
  width: 16px;
  color: var(--acct-dim);
  font-size: 13px;
  text-align: center;
}

.g-acct-menu button:hover i {
  color: inherit;
}

.g-acct-menu button[data-tone="danger"],
.g-acct-menu button[data-tone="danger"] i {
  color: var(--acct-bad);
}

.g-acct-menu button[data-tone="danger"]:hover {
  background: rgba(var(--cl-error), 0.12);
  color: var(--acct-bad);
}

@media (max-width: 767px) {
  .g-acct-menu-btn--solid {
    width: 38px;
    height: 38px;
  }
}

/* ───────── page head ───────── */
.g-acct-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 26px;
}

/* The design's head is 7px deeper under a lone title; with a subtitle the box is padded evenly. */
.g-acct-head--sub {
  padding-bottom: 26px;
}

.g-acct-head-text {
  flex: 1 1 280px;
  min-width: 0;
}

.g-acct-head .g-page-title {
  overflow-wrap: anywhere;
}

.g-acct-head-sub {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
}

.g-acct-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  transition: color 0.2s ease;
}

.g-acct-back:hover {
  color: #fff;
}

.g-acct-back i {
  font-size: 12px;
}

.g-acct-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Neutral chip: the design's grey pill (product page pills). */
.g-acct-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 0.75em 1em;
  border-radius: var(--radius-pill);
  background: var(--color-area-lighter);
  color: #d5d5d5;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}

.g-acct-chip i {
  color: var(--color-brand);
  font-size: 11px;
}

/* Round "remove" button inside a chip (active filter). */
.g-acct-chip-x {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-block: -3px;
  margin-inline: 0 -4px;
  border-radius: 50%;
  transition: 0.2s linear;
}

.g-acct-chip .g-acct-chip-x i {
  color: inherit;
}

.g-acct-chip-x:hover {
  background: rgba(var(--cl-error), 0.2);
  color: var(--acct-bad);
}

a.g-acct-chip {
  transition: color 0.2s ease;
}

a.g-acct-chip:hover {
  color: #fff;
}

/* ───────── status pills ───────── */
/* Tones for pills whose state is switched in the browser; server-rendered pills get the same colours inline. */
.g-acct-pill--ok {
  color: var(--acct-ok);
}

.g-acct-pill--warn {
  color: var(--acct-warn);
}

.g-acct-pill--info {
  color: var(--acct-info);
}

.g-acct .g-status-pill {
  flex: 0 0 auto;
}

/* Icon + text of a pill whose label is swapped in the browser. */
.g-acct-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

.g-acct-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: g-acct-pulse 1.6s ease-in-out infinite;
}

@keyframes g-acct-pulse {
  50% {
    opacity: 0.35;
  }
}

/* ───────── stat tiles ───────── */
/* Three or four tiles share one row; on narrower columns they form two columns. */
.g-acct-stats {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: var(--gap);
}

.g-acct-stat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 26px;
  transition: box-shadow 0.2s linear;
}

.g-acct-stat .g-why-icon {
  flex: 0 0 40px;
}

.g-acct-stat-text {
  min-width: 0;
  max-width: 100%;
}

.g-acct-stat-value {
  overflow: hidden;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-acct-stat-label {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.5;
}

/* Small action in the corner of a tile ("Top up"). */
.g-acct-stat-link {
  position: absolute;
  top: 12px;
  inset-inline-end: 14px;
  color: var(--acct-info);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.g-acct-stat-link:hover {
  color: #fff;
}

/* A tile that is a link gets the design's card hover (blue border with a soft ring). */
a.g-acct-stat:hover,
a.g-acct-stat:focus-visible,
a.g-acct-tile:hover,
a.g-acct-tile:focus-visible {
  box-shadow: 0 0 0 1px rgba(var(--cl-accent), 0.7), 0 0 0 4px rgba(var(--cl-accent), 0.1);
}

/* Four tiles in a row get tight below 1500px: the icon moves above the text. */
@media (min-width: 1151px) and (max-width: 1500px) {
  .g-acct-stats > .g-acct-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
  }
}

@media (max-width: 1150px) {
  .g-acct-stats {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .g-acct-stats > :last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .g-acct-stats {
    gap: 13px;
  }

  .g-acct-stats > .g-acct-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .g-acct-stat-value {
    max-width: 100%;
    font-size: 20px;
  }
}

/* ───────── panels ───────── */
/* A box with an optional title bar; table rows and body text share its 26px inset. */
.g-acct-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 16px 26px;
  border-bottom: 1px solid var(--line);
}

.g-acct-panel-title {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.g-acct-panel-sub {
  flex: 1 1 100%;
  font-size: 13px;
  line-height: 1.5;
}

.g-acct-panel-body {
  padding: 26px;
}

.g-acct-panel-foot {
  padding: 20px 26px 26px;
  border-top: 1px solid var(--line);
}

.g-acct-panel-foot > .sa-pagination,
.g-acct-pager > .sa-pagination {
  margin-top: 0;
}

.g-acct-text {
  font-size: 13px;
  line-height: 1.6;
}

.g-acct-text strong {
  color: #fff;
  font-weight: 600;
}

.g-acct-text + .g-acct-text {
  margin-top: 6px;
}

.g-acct-text--faint {
  opacity: 0.75;
}

/* Highlighted box (current balance): the design's card focus look, always on. */
.g-acct-highlight {
  box-shadow: inset 0 0 0 1px rgba(var(--cl-accent), 0.7), 0 0 0 4px rgba(var(--cl-accent), 0.1);
}

.g-acct-figure {
  overflow: hidden;
  color: #fff;
  font-size: 35px;
  line-height: 1;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-acct-figure--sm {
  font-size: 24px;
}

/* Two boxes side by side (balance + top up, affiliate link + tier, reseller channels). */
.g-acct-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.g-acct-grid > .g-acct-grid-wide {
  grid-column: 1 / -1;
}

.g-acct-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
}

.g-acct-card > .g-why-icon {
  margin-bottom: 16px;
}

.g-acct-card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.g-acct-card-title + .g-acct-text,
.g-acct-figure + .g-acct-text {
  margin-top: 8px;
}

.g-acct-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* Small spacing and text helpers shared by cards and dialogs. */
.g-acct-top {
  margin-top: 16px;
}

.g-acct-flush {
  margin: 0;
}

.g-acct-pre {
  white-space: pre-line;
}

.g-acct-bad {
  color: var(--acct-bad);
}

/* Card with a picture beside its text (reseller tier). */
.g-acct-card--media {
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.g-acct-media {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-box);
  object-fit: cover;
}

.g-acct-card-text {
  min-width: 0;
}

.g-acct-next {
  margin-top: 12px;
}

.g-acct-next img {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 2px;
  border-radius: 4px;
  object-fit: cover;
  vertical-align: middle;
}

/* Boxes of one page section, stacked with the design's 26px gap. */
.g-acct-stack-boxes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}

/* Target of "#reseller-catalog" links; clears the header when the merchant makes it stick. */
.g-acct-anchor {
  scroll-margin-top: var(--gap);
}

body:has(.sa-header.sticky) .g-acct-anchor {
  scroll-margin-top: calc(var(--header-top) + var(--header-nav) + var(--gap));
}

/* Pushes the actions of side-by-side cards onto one line. */
.g-acct-card > .g-acct-grow {
  flex: 1 1 auto;
}

.g-acct-divided {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Label + value pairs (tier commission, connected store). */
.g-acct-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 16px;
}

.g-acct-fact-label {
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g-acct-fact-value {
  margin-top: 5px;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-acct-fact-value a:hover {
  color: var(--color-brand);
}

/* Small tiles inside a box (tier lists). */
.g-acct-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 13px;
}

.g-acct-tile {
  display: block;
  min-width: 0;
  padding: 16px;
  border-radius: var(--radius-box);
  background: var(--color-area-light);
  transition: box-shadow 0.2s linear;
}

.g-acct-tile[data-current="true"] {
  box-shadow: inset 0 0 0 1px rgba(var(--cl-accent), 0.7), 0 0 0 4px rgba(var(--cl-accent), 0.1);
}

.g-acct-tile-title {
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.g-acct-tile-value {
  margin-top: 6px;
  color: var(--acct-info);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
}

.g-acct-tile-meta {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
}

.g-acct-tile-img {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: var(--radius-box);
  object-fit: cover;
}

.g-acct-tiles--center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.g-acct-tiles--center .g-acct-tile {
  flex: 0 1 220px;
  text-align: center;
}

@media (max-width: 767px) {
  .g-acct-panel-head {
    padding: 16px 18px;
  }

  .g-acct-panel-body,
  .g-acct-card {
    padding: 18px;
  }

  .g-acct-panel-foot {
    padding: 16px 18px 18px;
  }

  .g-acct-figure {
    font-size: 30px;
  }
}

/* One column where the main column is narrow: next to the sidebar below 1150px, and on phones. */
@media (min-width: 980px) and (max-width: 1150px), (max-width: 640px) {
  .g-acct-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ───────── list rows (orders, tickets) ───────── */
/* The design's list look: rows are lighter tiles inside the box, like the "Categories" rows. */
.g-acct-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
}

.g-acct-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  min-width: 0;
  padding: 16px 20px;
  border-radius: var(--radius-box);
  background: var(--color-area-light);
}

.g-acct-row-main {
  flex: 1 1 280px;
  min-width: 0;
}

.g-acct-row-title {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

a.g-acct-row-title:hover {
  color: var(--color-brand);
}

.g-acct-row-meta {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.g-acct-row-meta strong {
  color: #fff;
  font-weight: 600;
}

.g-acct-row-tag {
  margin-inline-start: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.g-acct-row-side {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

@media (max-width: 767px) {
  .g-acct-rows {
    padding: 13px;
  }

  .g-acct-row {
    padding: 14px 16px;
  }
}

/* ───────── links ───────── */
.g-acct-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--acct-info);
  font-weight: 600;
  transition: color 0.2s ease;
}

.g-acct-link:hover,
.g-acct-link:focus-visible {
  color: #fff;
}

.g-acct-link i {
  font-size: 11px;
}

.g-acct-link--dim {
  color: var(--acct-dim);
  font-weight: 500;
}

.g-acct-link--danger:hover,
.g-acct-link--danger:focus-visible {
  color: var(--acct-bad);
}

.g-acct-link:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ───────── compact buttons ───────── */
/* The design's dark button (product card "Buy Now": dark fill, blue on hover) at a size that fits rows and tables. */
.g-acct-btn {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.15s linear;
}

.g-acct-btn:hover:not(:disabled),
.g-acct-btn:focus-visible:not(:disabled) {
  background: var(--color-brand);
  color: #fff;
}

.g-acct-btn i {
  font-size: 12px;
  line-height: 1;
}

.g-acct-btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.g-acct-btn--primary {
  background: var(--color-brand);
}

.g-acct-btn--primary:hover:not(:disabled),
.g-acct-btn--primary:focus-visible:not(:disabled) {
  background-image: linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08));
}

/* Blue wash, solid on hover (the design's stepper buttons). */
.g-acct-btn--soft {
  background: rgba(var(--cl-accent), 0.2);
  color: var(--acct-info);
}

/* Red wash, solid on hover (the design's "remove" button in the cart). */
.g-acct-btn--danger {
  background: rgba(var(--cl-error), 0.15);
  color: var(--acct-bad);
}

.g-acct-btn--danger:hover:not(:disabled),
.g-acct-btn--danger:focus-visible:not(:disabled) {
  background: rgb(var(--cl-error));
  color: #fff;
}

.g-acct-btn--danger-solid {
  background: rgb(var(--cl-error));
}

.g-acct-btn--danger-solid:hover:not(:disabled),
.g-acct-btn--danger-solid:focus-visible:not(:disabled) {
  background: rgb(var(--cl-error));
  background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
}

.g-acct-btn--icon {
  width: 36px;
  padding: 0;
}

/* A label that stays in place while its spinner shows (keeps the button width). */
.g-acct-btn-hold {
  position: relative;
}

.g-acct-label {
  transition: opacity 0.15s linear;
}

.g-acct-label--busy {
  opacity: 0;
}

.g-acct-spin-over {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g-acct .g-btn-primary:disabled,
.g-acct .g-signup-submit:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.g-acct .g-btn-primary,
.g-acct .g-btn-ghost {
  gap: 8px;
}

/* ───────── tables ───────── */
/*
 * Wide boxes show a table. Where the box is too narrow for every column (phones, tablets, and next to the sidebar
 * on small laptops) each row becomes a card of "label: value" lines instead, see "tables as cards" below.
 * The catalog has more columns and switches earlier, so its wrapper carries its own container name.
 */
.g-acct-table-wrap {
  container: g-acct-table / inline-size;
  overflow-x: auto;
}

.g-acct-table-wrap[data-cols="many"] {
  container-name: g-acct-table-wide;
}

.g-acct-table {
  width: 100%;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-align: start;
}

.g-acct-table th {
  padding: 14px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--acct-dim);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: start;
  text-transform: uppercase;
  white-space: nowrap;
}

.g-acct-table td {
  padding: 14px 26px;
  vertical-align: middle;
}

.g-acct-table tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.g-acct-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.g-acct-nowrap {
  white-space: nowrap;
}

.g-acct-dim {
  color: var(--acct-dim);
}

.g-acct-strong {
  font-weight: 600;
}

.g-acct-caps {
  text-transform: capitalize;
}

.g-acct-end {
  text-align: end;
}

.g-acct-struck {
  text-decoration: line-through;
}

.g-acct-table a.g-acct-strong {
  transition: color 0.2s ease;
}

.g-acct-table a.g-acct-strong:hover {
  color: var(--color-brand);
}

/* A cell with free text keeps a readable width when the table scrolls sideways. */
.g-acct-table .g-acct-cell-wide {
  min-width: 190px;
}

.g-acct-cell-sub {
  display: block;
  margin-top: 4px;
  color: var(--acct-dim);
  font-size: 11px;
  line-height: 1.4;
}

.g-acct-cell-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
}

.g-acct-save {
  margin-inline-start: 6px;
  color: var(--acct-ok);
  font-size: 12px;
  font-weight: 600;
}

/* First column of the reseller catalog: product thumbnail. */
.g-acct-table .g-acct-thumb-cell {
  width: 62px;
  padding-inline-end: 0;
}

.g-acct-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: var(--radius-box);
  background: rgba(var(--cl-accent), 0.1);
  color: var(--color-brand);
  font-size: 14px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .g-acct-table th,
  .g-acct-table td {
    padding: 12px 18px;
  }

  .g-acct-table .g-acct-thumb-cell {
    width: 54px;
    padding-inline-end: 0;
  }
}

/* ───────── tables as cards ───────── */
/*
 * Below 860px of box width (1120px for the catalog) the rows become tiles like the order rows: a grid of cards,
 * one "label: value" line per cell, the label taken from the cell's data-label. The column headers stay in the
 * page for screen readers, and the table roles in the markup keep the table semantics while the cells are blocks.
 * Two copies of one rule set, one per threshold (a container query names a single container).
 */
@container g-acct-table (max-width: 859px) {
  .g-acct-table,
  .g-acct-table tbody {
    display: block;
  }

  .g-acct-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .g-acct-table tbody {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 10px;
    padding: 26px;
  }

  .g-acct-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
    gap: 0 12px;
    min-width: 0;
    padding: 8px 16px;
    border-radius: var(--radius-box);
    background: var(--color-area-light);
  }

  .g-acct-table tbody td,
  .g-acct-table tbody tr + tr td,
  .g-acct-table tbody tr:hover td {
    display: flex;
    flex: 1 1 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    padding: 7px 0;
    border: 0;
    background: none;
    text-align: end;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .g-acct-table tbody td::before {
    content: attr(data-label);
    content: attr(data-label) / "";
    flex: 0 0 auto;
    max-width: 50%;
    color: var(--acct-dim);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: start;
    text-transform: uppercase;
    overflow-wrap: normal;
  }

  .g-acct-table .g-acct-cell-val,
  .g-acct-table .g-acct-cell-actions {
    min-width: 0;
  }

  .g-acct-table .g-acct-cell-actions {
    justify-content: flex-end;
  }

  .g-acct-table .g-acct-cell-sub {
    margin-top: 6px;
  }

  .g-acct-table tbody td.g-acct-cell-wide {
    min-width: 0;
  }

  /* The name of the row (subscription, product, customer) is the card's title line, without a label. */
  .g-acct-table tbody td.g-acct-cell-head {
    display: block;
    flex: 1 1 0%;
    padding-block: 9px 7px;
    font-size: 14px;
    text-align: start;
  }

  .g-acct-table tbody td.g-acct-cell-head::before,
  .g-acct-table tbody td.g-acct-thumb-cell::before {
    content: none;
  }

  /* Catalog thumbnail: beside the title line. */
  .g-acct-table tbody td.g-acct-thumb-cell {
    flex: 0 0 auto;
    width: auto;
    padding-block: 9px 7px;
  }

  /* Secondary cells (transaction id) close the card. */
  .g-acct-table tbody td.g-acct-cell-late {
    order: 1;
  }

  /* An actions cell without an action for this row. */
  .g-acct-table tbody td[data-empty="true"] {
    display: none;
  }
}

@container g-acct-table-wide (max-width: 1119px) {
  .g-acct-table,
  .g-acct-table tbody {
    display: block;
  }

  .g-acct-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .g-acct-table tbody {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 10px;
    padding: 26px;
  }

  .g-acct-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
    gap: 0 12px;
    min-width: 0;
    padding: 8px 16px;
    border-radius: var(--radius-box);
    background: var(--color-area-light);
  }

  .g-acct-table tbody td,
  .g-acct-table tbody tr + tr td,
  .g-acct-table tbody tr:hover td {
    display: flex;
    flex: 1 1 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    padding: 7px 0;
    border: 0;
    background: none;
    text-align: end;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .g-acct-table tbody td::before {
    content: attr(data-label);
    content: attr(data-label) / "";
    flex: 0 0 auto;
    max-width: 50%;
    color: var(--acct-dim);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: start;
    text-transform: uppercase;
    overflow-wrap: normal;
  }

  .g-acct-table .g-acct-cell-val,
  .g-acct-table .g-acct-cell-actions {
    min-width: 0;
  }

  .g-acct-table .g-acct-cell-actions {
    justify-content: flex-end;
  }

  .g-acct-table .g-acct-cell-sub {
    margin-top: 6px;
  }

  .g-acct-table tbody td.g-acct-cell-wide {
    min-width: 0;
  }

  .g-acct-table tbody td.g-acct-cell-head {
    display: block;
    flex: 1 1 0%;
    padding-block: 9px 7px;
    font-size: 14px;
    text-align: start;
  }

  .g-acct-table tbody td.g-acct-cell-head::before,
  .g-acct-table tbody td.g-acct-thumb-cell::before {
    content: none;
  }

  .g-acct-table tbody td.g-acct-thumb-cell {
    flex: 0 0 auto;
    width: auto;
    padding-block: 9px 7px;
  }

  .g-acct-table tbody td.g-acct-cell-late {
    order: 1;
  }

  .g-acct-table tbody td[data-empty="true"] {
    display: none;
  }
}

/* Phones: the cards run closer to the box edge, like the order rows. */
@container g-acct-table (max-width: 479px) {
  .g-acct-table tbody {
    padding: 13px;
  }
}

@container g-acct-table-wide (max-width: 479px) {
  .g-acct-table tbody {
    padding: 13px;
  }
}

/* ───────── notices ───────── */
.g-acct-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 16px 20px;
  border-radius: var(--radius-box);
  background: rgba(var(--cl-accent), 0.1);
  color: var(--acct-soft);
  font-size: 13px;
  line-height: 1.5;
}

.g-acct-note > i {
  flex: 0 0 auto;
  color: var(--acct-info);
  font-size: 16px;
}

.g-acct-note > p {
  flex: 1 1 260px;
  min-width: 0;
}

/* Error / success message of a form or request. */
.g-acct-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(var(--cl-error), 0.4);
  border-radius: var(--radius-box);
  background: rgba(var(--cl-error), 0.1);
  color: var(--acct-bad);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.g-acct-alert i {
  flex: 0 0 auto;
  margin-top: 3px;
  font-size: 13px;
}

.g-acct-alert[data-tone="success"] {
  border-color: rgba(var(--cl-success), 0.4);
  background: rgba(var(--cl-success), 0.1);
  color: var(--acct-ok);
}

.g-acct-error {
  margin-top: 8px;
  color: var(--acct-bad);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.g-acct-error.g-acct-error--row {
  margin: 0 0 12px;
}

.g-acct-error.g-acct-flush {
  margin: 0;
}

/* ───────── empty and state boxes ───────── */
.g-acct .g-empty-icon i {
  font-size: 26px;
  line-height: 1;
}

.g-acct .g-empty p {
  color: var(--acct-dim);
}

.g-acct .g-empty > :last-child {
  margin-bottom: 0;
}

.g-acct .g-empty-icon[data-tone="danger"] {
  background: rgba(var(--cl-error), 0.14);
  color: var(--acct-bad);
}

.g-acct .g-empty .g-status-pill {
  margin-bottom: 0;
}

.g-acct .g-empty .g-acct-tiles {
  width: 100%;
  margin-top: 10px;
  text-align: start;
}

.g-acct .g-empty .g-acct-tiles--center {
  text-align: center;
}

@media (max-width: 767px) {
  .g-acct .g-empty {
    padding: 44px 18px;
  }

  .g-acct .g-empty h2 {
    font-size: 20px;
  }
}

/* ───────── fields ───────── */
.g-acct .g-field {
  display: block;
}

/* Single-line fields: 41px on pages (the design's sign-in size), 47px in dialogs (its sign-up size). */
.g-acct input.g-field {
  height: var(--acct-field, 41px);
}

.g-acct textarea.g-field {
  min-height: 96px;
  resize: vertical;
}

.g-acct .g-field:disabled {
  opacity: 0.6;
}

.g-acct .g-field[readonly] {
  color: var(--acct-dim);
}

.g-acct-field--locked {
  pointer-events: none;
}

.g-acct-field--center {
  text-align: center;
}

.g-acct-hint {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
}

/* A field with a button beside it (transfer amount, e-mail code). */
.g-acct-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g-acct-inline > .g-field {
  flex: 1 1 auto;
  min-width: 0;
}

.g-acct-inline > .g-acct-btn {
  height: var(--acct-field, 41px);
  padding: 0 18px;
}

.g-acct-inline--short > .g-field {
  flex: 0 1 200px;
}

/* A field with an icon or symbol inside its leading edge, and an optional button at its trailing edge. */
.g-acct-affix {
  position: relative;
}

.g-acct-affix > .g-acct-affix-mark {
  position: absolute;
  top: 50%;
  inset-inline-start: 14px;
  color: var(--acct-dim);
  font-size: 14px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.g-acct-affix > .g-field {
  padding-inline-start: 38px;
}

.g-acct-affix > .g-acct-affix-clear {
  position: absolute;
  top: 50%;
  inset-inline-end: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  color: var(--acct-dim);
  transform: translateY(-50%);
  transition: 0.2s linear;
}

.g-acct-affix > .g-acct-affix-clear:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.g-acct-search {
  width: 100%;
  max-width: 320px;
  margin-top: 12px;
}

.g-acct .g-acct-search > .g-field {
  height: 41px;
  padding-inline-end: 44px;
}

/* Checkbox with a title and a description line (design's g-check). */
.g-acct-check {
  position: relative;
  align-items: flex-start;
  gap: 10px;
}

.g-acct-check-title {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.g-acct-check-desc {
  display: block;
  font-size: 12px;
  line-height: 1.5;
}

/* ───────── copy field (affiliate link) ───────── */
.g-acct-copy {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  height: var(--acct-field, 41px);
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-box);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  text-align: start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.g-acct-copy:hover,
.g-acct-copy:focus-visible {
  border-color: var(--color-brand);
}

.g-acct-copy > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.g-acct-copy > i {
  flex: 0 0 auto;
  color: var(--acct-dim);
  font-size: 14px;
}

.g-acct-copy:hover > i {
  color: var(--color-brand);
}

.g-acct-copy > i.fa-check {
  color: var(--acct-ok);
}

.g-acct-inline > .g-acct-btn--icon {
  width: var(--acct-field, 41px);
  padding: 0;
  font-size: 14px;
}

/* ───────── top-up amounts ───────── */
/* Option buttons in the design's style: dark tile, blue wash on hover, solid blue when chosen. */
.g-acct-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.g-acct-amount {
  min-width: 0;
  padding: 14px 8px;
  border-radius: var(--radius-box);
  background: var(--color-area-lighter);
  color: #fff;
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  text-align: center;
  transition: 0.15s linear;
}

.g-acct-amount:hover {
  background: rgba(var(--cl-accent), 0.2);
}

.g-acct-amount--on,
.g-acct-amount--on:hover {
  background: var(--color-brand);
}

.g-acct-amount small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.75;
}

.g-acct-topup .g-acct-affix {
  margin-top: 10px;
}

.g-acct-topup .g-signup-submit {
  margin-top: 16px;
}

/* ───────── quantity stepper in the reseller catalog ───────── */
.g-acct-buy {
  display: flex;
  align-items: center;
  gap: 8px;
}

.g-qty.g-acct-qty {
  width: 112px;
  height: 36px;
  padding: 3px;
  background: transparent;
}

.g-qty.g-acct-qty button {
  flex-basis: 28px;
  height: 28px;
}

.g-qty.g-acct-qty button i {
  font-size: 11px;
}

.g-qty.g-acct-qty input {
  height: 28px;
  background: transparent;
  color: #fff;
  font-size: 13px;
}

/* ───────── ticket conversation ───────── */
/* Built on the design's chat window: grey bubbles for the shop, blue bubbles for the customer. */
.g-acct-chat {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.g-acct-chat-log {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: clamp(320px, 60vh, 640px);
  padding: 26px;
  overflow-y: auto;
  scrollbar-width: none;
}

.g-acct-chat-log::-webkit-scrollbar {
  display: none;
}

.g-acct-msg {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.g-acct-msg--me {
  flex-direction: row-reverse;
}

.g-acct-msg-avatar {
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-area-lighter);
  color: var(--acct-soft);
  font-size: 13px;
  object-fit: cover;
}

.g-acct-msg--me .g-acct-msg-avatar {
  background: rgba(var(--cl-accent), 0.2);
  color: var(--acct-info);
}

.g-acct-msg-bubble {
  min-width: 0;
  max-width: min(82%, 640px);
  padding: 10px 14px;
  border-radius: 12px;
  border-end-start-radius: 4px;
  background: var(--color-area-lighter);
  color: var(--acct-soft);
}

.g-acct-msg--me .g-acct-msg-bubble {
  border-end-start-radius: 12px;
  border-end-end-radius: 4px;
  background: var(--color-brand);
  color: #fff;
}

.g-acct-msg-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.g-acct-msg-name {
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}

.g-acct-msg-time {
  font-size: 11px;
  line-height: 1.5;
  opacity: 0.7;
}

.g-acct-msg-text {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.g-acct-msg-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.g-acct-msg-files img {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-box);
  background: rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

.g-acct-chat-foot {
  padding: 12px;
  border-top: 1px solid var(--line);
}

.g-acct-chat-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px;
}

.g-acct .g-acct-chat-form > textarea.g-field {
  flex: 1 1 0%;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 40px;
  max-height: 120px;
  padding: 9px 12px;
  font-size: 13px;
  resize: none;
  scrollbar-width: none;
}

.g-acct-chat-form > .g-acct-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 14px;
}

.g-acct-chat-form > .g-acct-btn i {
  font-size: 14px;
}

.g-acct-chat-form > .g-acct-btn--primary {
  border-radius: 10px;
}

.g-acct-chat-form > .g-acct-error {
  flex: 1 1 100%;
  margin-top: 0;
  font-size: 12px;
}

.g-acct-chat-closed {
  padding: 4px 0;
  font-size: 13px;
  text-align: center;
}

/* Images picked for upload (ticket reply and new ticket). */
.g-acct-files {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
}

.g-acct-file {
  position: relative;
  flex: 0 0 auto;
}

.g-acct-file img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-box);
  object-fit: cover;
}

.g-acct-file button {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgb(var(--cl-error));
  color: #fff;
  font-size: 10px;
}

.g-acct-attach {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--acct-soft);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.g-acct-attach:hover:not(:disabled) {
  color: #fff;
}

.g-acct-attach:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.g-acct-attach > span:last-child {
  color: var(--acct-dim);
  font-size: 12px;
}

@media (max-width: 767px) {
  .g-acct-chat-log {
    padding: 18px;
  }

  .g-acct-msg-bubble {
    max-width: 86%;
  }
}

/* ───────── dialogs ───────── */
/*
 * SellAuth's dialog markup (wrapper, backdrop, panel, all bindings) is kept; the panel wears the design's
 * dialog look. The backdrop keeps the theme's overlay colour setting.
 */
.g-acct-dialog {
  --acct-field: 47px;
  position: relative;
  max-width: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: var(--color-area-light);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  color: var(--acct-dim);
  text-align: start;
}

.g-acct-dialog[data-size="lg"] {
  max-width: 600px;
}

/* Motion of the design's dialog (Alpine x-transition classes): the backdrop fades, the panel rises 10px. */
.g-acct-fade-enter {
  transition: opacity 0.15s ease-out;
}

.g-acct-fade-leave {
  transition: opacity 0.15s ease-in;
}

.g-acct-fade-from {
  opacity: 0;
}

.g-acct-fade-to {
  opacity: 1;
}

.g-acct-pop-enter {
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.g-acct-pop-leave {
  transition: opacity 0.14s ease-in, transform 0.14s ease-in;
}

.g-acct-pop-from {
  opacity: 0;
  transform: translateY(10px);
}

.g-acct-pop-to {
  opacity: 1;
  transform: translateY(0);
}

/* Title and close button follow the reading direction. */
.g-acct-dialog .g-dialog-title {
  padding: 0;
  padding-inline: 20px 48px;
  overflow-wrap: anywhere;
}

.g-acct-dialog .g-dialog-close {
  right: auto;
  inset-inline-end: 14px;
}

.g-acct-dialog .g-dialog-close:disabled {
  opacity: 0.5;
}

.g-acct-dialog-text {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.g-acct-dialog-text a {
  color: var(--acct-info);
  font-weight: 600;
}

.g-acct-dialog-text a:hover {
  color: #fff;
}

.g-acct-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.g-acct-form-aside {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
  font-size: 12px;
}

/* Inset panel inside a dialog (e-mail code step, setup steps, new API key). */
.g-acct-subpanel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-box);
  background: rgba(0, 0, 0, 0.18);
  font-size: 13px;
  line-height: 1.5;
}

.g-acct-subpanel[data-tone="accent"] {
  background: rgba(var(--cl-accent), 0.1);
}

.g-acct-subpanel[data-tone="danger"] {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(var(--cl-error), 0.4);
  background: rgba(var(--cl-error), 0.1);
  color: #fff;
}

.g-acct-subpanel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.g-acct-code {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-box);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
  user-select: all;
}

.g-acct-code--block {
  letter-spacing: 0.5px;
  text-align: center;
  white-space: pre-wrap;
}

textarea.g-acct-code {
  width: 100%;
  border: 0;
  outline: 0;
  resize: vertical;
  user-select: text;
}

.g-acct-steps {
  counter-reset: g-acct-step;
}

.g-acct-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  counter-increment: g-acct-step;
}

.g-acct-steps li::before {
  content: counter(g-acct-step);
  display: flex;
  flex: 0 0 22px;
  align-items: center;
  justify-content: center;
  height: 22px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.g-acct-qr {
  width: 168px;
  height: 168px;
  margin: 0 auto;
  padding: 8px;
  border-radius: var(--radius-box);
  background: #fff;
}

.g-acct-center {
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.g-acct-center code {
  color: #fff;
  overflow-wrap: anywhere;
}

/* Full-width dialog buttons: the design's submit, plus a dark and a red partner for it. */
.g-acct-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.g-acct-submit i {
  font-size: 14px;
}

.g-acct-submit--dark {
  border-color: var(--color-area-lighter);
  background: var(--color-area-lighter);
}

.g-acct-submit--dark:hover {
  background-color: #363c4a;
  background-image: none;
}

.g-acct-submit--danger {
  border-color: rgb(var(--cl-error));
  background: rgb(var(--cl-error));
}

.g-acct-submit--danger-line {
  border-color: rgba(var(--cl-error), 0.6);
  background: transparent;
  color: var(--acct-bad);
}

.g-acct-submit--danger-line:hover {
  background-color: rgba(var(--cl-error), 0.12);
  background-image: none;
}

.g-acct-dialog-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

/* Dialog buttons that keep their own width (several actions in one row). */
.g-acct-actions > .g-signup-submit {
  width: auto;
  padding-inline: 18px;
}

.g-acct-dialog-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.g-acct-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}

.g-acct-split > :first-child {
  flex: 1 1 220px;
  min-width: 0;
}

.g-acct-split-title {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

/* Order summary of the reseller purchase dialog (the design's checkout summary). */
.g-acct-summary {
  padding: 14px;
  border-radius: var(--radius-box);
  background: var(--color-area);
}

.g-acct-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--acct-soft);
  font-size: 13px;
  line-height: 2;
}

.g-acct-summary-row > :last-child {
  flex: 0 0 auto;
  white-space: nowrap;
}

.g-acct-summary-row[data-kind="total"] {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed #2d2f39;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.g-acct-summary-row[data-kind="note"] {
  justify-content: flex-end;
  color: var(--acct-dim);
  font-size: 12px;
}

.g-acct-summary-row[data-kind="dim"] {
  color: var(--acct-dim);
}

.g-acct-summary-row strong {
  color: #fff;
  font-weight: 600;
}

.g-acct-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.g-acct-stack > .g-acct-dialog-foot {
  margin-top: 4px;
}

/* Delivered keys of a reseller purchase. */
.g-acct-keys {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

/* Reseller application form inside the centred program box. */
.g-acct-apply {
  width: 100%;
  max-width: 460px;
  margin-top: 26px;
  text-align: start;
}

.g-acct-apply .g-signup-submit {
  margin-top: 14px;
}

@media (max-width: 480px) {
  .g-acct-dialog-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ═════════ generic sections (tools/css/80-sections.css) ═════════
 * The components a merchant adds in the visual editor (hero, stats, steps, trust badges, text blocks,
 * social links, custom HTML, MyVouches), the two snippets every section shares (section header, button
 * group), the editor note and the announcement bar.
 * The design has no page made of these, so they are built from its own parts: the 1600px grid, boxes,
 * centred headings with an accent word, the cards of the "why choose" row and of the support page.
 */

/* ───────── section shell ───────── */
/* Blocks follow each other at the design's 26px rhythm. "Section Gap" from the theme settings adds to it. */
.g-sec {
  position: relative;
  padding-bottom: var(--gap);
}

/* A section that opens with a heading on the page background gets the air the design gives its carousels. */
.g-sec[data-air="true"] {
  padding-top: clamp(10px, calc(4vw - 26px), 30px);
}

/*
 * The design's carousels end without space below them (on its pages they are always last),
 * so a section that follows one supplies it.
 */
.component:has(> .g-wrap > .g-rail) + .g-sec {
  padding-top: var(--gap);
}

.component:has(> .g-wrap > .g-rail) + .g-sec[data-air="true"] {
  padding-top: clamp(36px, 4vw, 56px);
}

/* Inside another container (account pages) a section must not add a second gutter. */
.g-wrap .g-sec > .g-wrap,
.wrap .g-sec > .g-wrap {
  padding-inline: 0;
}

/* ───────── boxes ───────── */
/* The panel of the design: 34px / 36px padding, 10px corners. Used together with .g-box. */
.g-sec-box {
  position: relative;
  padding: 34px 36px;
  overflow: hidden;
  border-radius: var(--radius-card);
}

/* Decorative layers lie under the content by source order, so the content needs no z-index of its own. */
.g-sec-box > * {
  position: relative;
}

.g-sec-box > .sfx,
.g-sec-box > .g-sec-layer {
  position: absolute;
  inset: 0;
  z-index: auto;
}

/* "Accent tint": the wash of the design's "why choose" cards. */
.g-sec-box[data-tone="accent"] {
  background: rgba(var(--cl-accent), 0.1);
}

/* Picture behind the content ("background image" variants). The shade on top of it is the theme's overlay colour. */
img.g-sec-layer {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ───────── section header (snippets/section-header.njk) ───────── */
.g-sec-head {
  margin-bottom: var(--gap);
  text-align: center;
}

.g-sec-head[data-align="left"] {
  text-align: left;
}

.g-sec-head[data-align="right"] {
  text-align: right;
}

/* Small label above the title, in the accent colour like the labels of the theme's page heads. */
.g-sec-eyebrow {
  margin: 0 0 6px;
  color: var(--color-brand);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* "Pill" style: a chip with an accent dot; in the hero it may carry a badge and be a link. */
.g-sec-eyebrow[data-style="pill"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-area-lighter);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  text-align: left;
  transition: background 0.2s;
}

a.g-sec-eyebrow[data-style="pill"]:hover,
a.g-sec-eyebrow[data-style="pill"]:focus-visible {
  background: var(--color-brand);
}

.g-sec-eyebrow-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand);
}

a.g-sec-eyebrow[data-style="pill"]:hover .g-sec-eyebrow-dot,
a.g-sec-eyebrow[data-style="pill"]:focus-visible .g-sec-eyebrow-dot {
  background: #fff;
}

/* Short accent chip inside a pill label ("New"). */
.g-sec-eyebrow-badge {
  flex: 0 0 auto;
  margin: -3px 0 -3px -8px;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-brand);
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

a.g-sec-eyebrow[data-style="pill"]:hover .g-sec-eyebrow-badge,
a.g-sec-eyebrow[data-style="pill"]:focus-visible .g-sec-eyebrow-badge {
  background: rgba(0, 0, 0, 0.25);
}

.g-sec-eyebrow[data-style="pill"] i {
  font-size: 10px;
  line-height: 1;
}

/* The title takes its type from the design (.g-rail-title, .g-why-title); alignment follows the header. */
.g-sec-title {
  margin: 0;
  overflow-wrap: break-word;
  text-align: inherit;
  text-wrap: balance;
}

/* Highlight style "side line": the line hugs the title instead of the edge of the block. */
.g-sec-title.hl-side,
.g-sec-promo-title.hl-side {
  display: inline-block;
}

.g-sec-title[data-size="display"] {
  color: #fff;
  font-size: clamp(30px, 3vw, 60px);
  line-height: 1.2;
  font-weight: 700;
}

/* Line under the title: the small grey line of the design's rows on the page background. */
.g-sec-sub {
  max-width: 720px;
  margin: 6px auto 0;
  color: var(--color-muted);
  font-size: 14.3px;
  line-height: 1.5;
  text-wrap: pretty;
}

.g-sec-head[data-align="left"] > .g-sec-sub {
  margin-left: 0;
}

.g-sec-head[data-align="right"] > .g-sec-sub {
  margin-right: 0;
}

/* On a box the design prints secondary lines larger and in a lighter grey. */
.g-box .g-sec-sub,
.g-sec-box .g-sec-sub {
  margin-top: 8px;
  color: #b0b0b0;
  font-size: 15px;
  line-height: 1.6;
}

/* ───────── buttons (snippets/buttons.njk) ───────── */
.g-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.g-cta-row[data-align="center"] {
  justify-content: center;
}

.g-cta-row[data-align="right"] {
  justify-content: flex-end;
}

/* Shared shape. "Solid" buttons add .g-btn-primary or .g-btn-ghost (the design's two buttons). */
.g-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  max-width: 100%;
  padding: 13px 26px;
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  border-radius: var(--radius-button, var(--radius-box));
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  transition: var(--ease-button);
}

.g-cta.g-btn-primary {
  border-color: var(--color-brand);
}

.g-cta[data-size="sm"] {
  padding: 9px 16px;
  font-size: 12px;
}

.g-cta[data-size="lg"] {
  padding: 16px 30px;
  font-size: 14px;
}

.g-cta i {
  font-size: 1em;
  line-height: 1;
}

.g-cta:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.g-cta[data-kind="primary-outline"] {
  border-color: rgba(var(--cl-accent), 0.7);
  background: transparent;
  color: #fff;
}

.g-cta[data-kind="primary-outline"]:hover {
  border-color: var(--color-brand);
  background: var(--color-brand);
}

.g-cta[data-kind="primary-ghost"] {
  background: transparent;
  color: var(--color-brand-soft);
}

.g-cta[data-kind="primary-ghost"]:hover {
  background: rgba(var(--cl-accent), 0.2);
  color: #fff;
}

.g-cta[data-kind="secondary-outline"] {
  border-color: var(--color-area-lighter);
  background: transparent;
  color: #fff;
}

.g-cta[data-kind="secondary-outline"]:hover {
  background: var(--color-area-lighter);
}

.g-cta[data-kind="secondary-ghost"] {
  background: transparent;
  color: #fff;
}

.g-cta[data-kind="secondary-ghost"]:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Over a picture the dark button needs a border to stay visible. */
[data-on="image"] .g-cta.g-btn-ghost,
[data-on="image"] .g-cta[data-kind="secondary-outline"] {
  border-color: rgba(255, 255, 255, 0.35);
}

[data-on="image"] .g-cta[data-kind="primary-ghost"] {
  color: #fff;
}

.g-sec-actions {
  margin-top: 26px;
}

/* ───────── text content ───────── */
/* Measure of a text block; "Width" in the editor picks one. The box around it always spans the grid. */
.g-sec-text {
  max-width: 880px;
}

.g-sec-text[data-width="narrow"] {
  max-width: 640px;
}

.g-sec-text[data-width="wide"] {
  max-width: 1180px;
}

.g-sec-text[data-width="full"] {
  max-width: none;
}

.g-sec-text[data-align="center"] {
  margin-inline: auto;
  text-align: center;
}

.g-sec-text[data-align="right"] {
  margin-left: auto;
  text-align: right;
}

.g-sec-text > .g-sec-head {
  margin-bottom: 16px;
}

/* Running text: the design's grey on the page background, its lighter grey inside a box. */
.g-sec-body {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.75;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.g-sec-box .g-sec-body {
  color: #c6c6c8;
}

@media (min-width: 768px) {
  .g-sec-body[data-columns="2"] {
    columns: 2;
    column-gap: 40px;
    text-align: left;
  }
}

/* Text over a picture is white, as on the banner. */
[data-on="image"] .g-sec-title,
[data-on="image"] .g-sec-promo-title {
  color: #fff;
}

[data-on="image"] .g-sec-eyebrow:not([data-style="pill"]),
[data-on="image"] .g-sec-sub,
[data-on="image"] .g-sec-promo-sub,
[data-on="image"] .g-sec-body {
  color: rgba(255, 255, 255, 0.85);
}

/* ───────── text next to a picture or a video ───────── */
.g-sec-split {
  display: flex;
  align-items: center;
  gap: 40px;
}

.g-sec-split[data-media="left"] {
  flex-direction: row-reverse;
}

.g-sec-split-text,
.g-sec-split-media {
  flex: 1 1 0%;
  min-width: 0;
}

.g-sec-split-text > .g-sec-head {
  margin-bottom: 16px;
}

/* Picture above the text ("Top"). */
.g-sec-stack {
  max-width: 880px;
  margin-inline: auto;
}

.g-sec-stack > .g-sec-figure {
  margin-bottom: 26px;
}

.g-sec-stack > .g-sec-head {
  margin-bottom: 16px;
}

/* A picture gets the frame of the design's video card and keeps its own proportions. */
.g-sec-media {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.04);
  object-fit: cover;
}

/* A YouTube video sits in the design's video card (.g-video): the embed fills the 16:9 frame without its own title bar. */
.g-sec .g-video > lite-youtube {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

.g-sec .g-video > lite-youtube::before {
  display: none;
}

/*
 * Play button of the design instead of the red YouTube badge. The embed's own stylesheet loads after this one,
 * so the rule needs the longer selector to win.
 */
.g-sec .g-video lite-youtube > .lyt-playbtn.g-video-play {
  display: flex;
  width: 68px;
  height: 48px;
  background: var(--color-brand);
  filter: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.g-sec .g-video:hover lite-youtube > .lyt-playbtn.g-video-play,
.g-sec .g-video lite-youtube > .lyt-playbtn.g-video-play:focus-visible {
  filter: brightness(1.12);
  transform: translate(-50%, -50%) scale(1.05);
}

.g-sec-caption {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.g-sec-box .g-sec-caption {
  color: #98a3ba;
}

/* ───────── hero: an optional promo box under the banner ───────── */
.g-sec-promo {
  padding-block: 56px;
}

.g-sec-promo[data-height="short"] {
  padding-block: 34px;
}

.g-sec-promo[data-height="tall"] {
  padding-block: 96px;
}

/* Canvas's "glow" and "grid" backdrops, kept inside the box. */
.g-sec-promo > .g-sec-layer {
  overflow: hidden;
  pointer-events: none;
}

.g-sec-promo-text {
  max-width: 760px;
}

.g-sec-promo-text[data-align="center"] {
  margin-inline: auto;
  text-align: center;
}

.g-sec-split .g-sec-promo-text {
  max-width: none;
}

/* Type of the design's "why choose" heading (.g-why-title), aligned with its text block. */
.g-sec-promo-title {
  margin: 0;
  overflow-wrap: break-word;
  text-align: inherit;
  text-wrap: balance;
}

.g-sec-promo-sub {
  margin-top: 12px;
  color: #b0b0b0;
  font-size: 17.6px;
  line-height: 1.53;
  text-wrap: pretty;
}

.g-sec-promo-search {
  display: flex;
  margin-top: 26px;
}

.g-sec-promo-text[data-align="center"] .g-sec-promo-search {
  justify-content: center;
}

/* Checkmarked reassurances under the buttons: the check list of the design's feature boxes, as one row. */
.g-sec-promo-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 22px;
  color: #fff;
  font-size: 14px;
  line-height: 24px;
}

.g-sec-promo-trust li {
  display: flex;
  align-items: center;
  gap: 7.5px;
}

.g-sec-promo-trust i {
  color: var(--color-feature);
  font-size: 14px;
  line-height: 1;
}

.g-sec-promo-chips {
  margin-top: 18px;
  gap: 10px;
}

.g-sec-promo-text[data-align="center"] .g-sec-promo-trust,
.g-sec-promo-text[data-align="center"] .g-sec-promo-chips {
  justify-content: center;
}

/* Product spotlight: one product card of the listing next to the text. */
.g-sec-promo-spot {
  flex: 0 1 420px;
  min-width: 0;
}

/* ───────── stats ───────── */
/* "Cards": the wash cards of the "why choose" row. Up to four in a row; a last short row stretches. */
.g-sec-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.g-sec-stats > .g-sec-stat {
  flex: 1 1 max(170px, calc(25% - 18px));
  min-width: 0;
}

/* "Row": one box, cells divided by hairlines (the 1px gaps let the line colour of the box show through). */
.g-sec-statrow {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--line);
}

.g-sec-statrow > .g-sec-stat {
  flex: 1 1 max(170px, calc(25% - 1px));
  min-width: 0;
  padding: 26px 19.5px;
  background: var(--color-area);
}

.g-sec-stat {
  text-align: center;
}

.g-sec-stat-value {
  display: block;
  color: #fff;
  font-family: var(--ff-heading);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.g-sec-stat-label {
  margin-top: 6px;
  font-size: 14.3px;
  line-height: 1.5;
}

/* "Inline": value and label side by side, thin rules between the pairs. */
.g-sec-statline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 0;
}

.g-sec-statline > .g-sec-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 0 34px;
  text-align: left;
}

.g-sec-statline > .g-sec-stat + .g-sec-stat {
  border-left: 1px solid var(--color-area-lighter);
}

.g-sec-statline .g-sec-stat-value {
  font-size: 26px;
}

.g-sec-statline .g-sec-stat-label {
  margin-top: 0;
}

/* ───────── steps ───────── */
/* "Timeline": the numbered rows of the design's guides (.g-faq-item), unchanged; the last one ends flush with the box padding. */
.g-sec-steps[data-variant="timeline"] > :last-child {
  margin-bottom: 0;
}

.g-sec-steps[data-variant="timeline"] .g-faq-a {
  white-space: pre-line;
}

/* A step without a text is a title row only. */
.g-sec-steps[data-variant="timeline"] .g-faq-q:last-child h3 {
  margin: 0.25em 0;
}

/* "Grid": the numbered cards of the support page (.g-sup-card) with its gaps; the header above brings the distance. */
.g-sec-steps[data-variant="grid"] {
  margin-top: 0;
}

.g-sec-steps[data-cols="1"] {
  grid-template-columns: minmax(0, 1fr);
}

.g-sec-steps[data-cols="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.g-sec-steps[data-cols="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.g-sec-steps .g-sup-card > :last-child {
  margin-bottom: 0;
}

.g-sec-steps .g-sup-card p {
  white-space: pre-line;
}

.g-sec-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.g-sec-step-top > .g-sup-badge {
  margin-bottom: 0;
}

/* Icon of a step: quiet next to the number, the lead element when numbers are off. */
.g-sec-step-icon {
  color: var(--color-brand);
  font-size: 20px;
  line-height: 1;
}

.g-sec-step-icon.g-why-icon {
  color: #fff;
  font-size: 17px;
}

/* ───────── trust badges ───────── */
.g-sec-trust {
  display: flex;
  align-items: center;
  gap: 16px 26px;
}

/* "Inline": a slim centred row on the page background. */
.g-sec-trust[data-variant="inline"] {
  flex-wrap: wrap;
  justify-content: center;
}

/* "Split": text on the left, payment methods on the right. */
.g-sec-trust[data-variant="split"] {
  justify-content: space-between;
  padding: 19.5px 26px;
  border-radius: var(--radius-card);
}

/* "Card": everything centred in one box. */
.g-sec-trust[data-variant="card"] {
  flex-direction: column;
  text-align: center;
}

.g-sec-trust-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.g-sec-trust[data-variant="card"] .g-sec-trust-title {
  font-size: 19.2px;
  font-weight: 600;
}

.g-sec-trust-title i {
  color: var(--color-feature);
  font-size: 0.95em;
  line-height: 1;
}

.g-sec-trust-sub {
  font-size: 13px;
  line-height: 1.5;
}

.g-box .g-sec-trust-sub,
.g-box.g-sec-trust .g-sec-trust-sub {
  color: #b0b0b0;
}

.g-sec-trust-rule {
  flex: 0 0 auto;
  width: 1px;
  height: 22px;
  background: var(--color-area-lighter);
}

/* Payment methods: each logo on a small tile, like the footer's social buttons. */
.g-sec-pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.g-sec-pay-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-card);
  background: var(--color-area-light);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.g-sec-pay-item img {
  display: block;
  width: auto;
  max-width: 72px;
  height: 22px;
  border-radius: 2px;
}

.g-sec-pay[data-size="lg"] .g-sec-pay-item {
  min-width: 60px;
  height: 46px;
  font-size: 26px;
}

.g-sec-pay[data-size="lg"] .g-sec-pay-item img {
  height: 26px;
}

/* ───────── social links ───────── */
.g-sec-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.g-sec-socials[data-align="left"] {
  justify-content: flex-start;
}

.g-sec-socials[data-align="right"] {
  justify-content: flex-end;
}

/* "Icons" and "Chips": the footer's social button, alone or with the name next to it. */
.g-sec-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: #1b1f27;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease;
}

.g-sec-social[data-variant="chip"] {
  padding: 0 18px 0 14px;
}

.g-sec-social i {
  font-size: 18px;
  line-height: 1;
}

.g-sec-social[data-variant="chip"] i {
  color: var(--color-brand);
}

.g-sec-social:hover {
  background: #242a35;
  transform: translateY(-1px);
}

.g-sec-social:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

/* ───────── embeds ───────── */
.g-sec-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: var(--radius-card);
}

/* ───────── editor note (snippets/builder-note.njk), shown in the visual editor only ───────── */
.g-sec-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px;
  border: 1px dashed var(--color-area-lighter);
  border-radius: var(--radius-box);
  color: #8b93a7;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.g-sec-note i {
  flex: 0 0 auto;
  color: var(--color-brand);
  font-size: 14px;
  line-height: 1;
}

/* ───────── announcement bar (components/announcement.njk), above the two header rows ───────── */
.sa-announcement {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* "Neutral": the darkest tone of the design with a hairline, instead of the accent colour. */
.sa-announcement--neutral {
  border-bottom-color: var(--line);
  background: var(--color-header);
  color: #fff;
}

.sa-announcement-item {
  color: inherit;
}

.sa-announcement-item i {
  margin-left: 6px;
  font-size: 11px;
  line-height: 1;
  transition: transform 0.15s ease;
}

a.sa-announcement-item:hover i {
  transform: translateX(2px);
}

/* ───────── responsive ───────── */
@media (max-width: 1100px) {
  .g-sec-steps[data-cols="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 979px) {
  /* No breadcrumb bar here: the first block starts 15px under the banner's edge, like the design's main column. */
  .g-main > .components > .g-sec:first-child {
    padding-top: 15px;
  }

  .g-sec-split,
  .g-sec-split[data-media="left"] {
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
  }

  .g-sec-split-text,
  .g-sec-split-media {
    flex: 0 0 auto;
  }

  .g-sec-promo-spot {
    flex: 0 0 auto;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  .g-sec-promo {
    padding-block: 40px;
  }

  .g-sec-promo[data-height="short"] {
    padding-block: 26px;
  }

  .g-sec-promo[data-height="tall"] {
    padding-block: 64px;
  }
}

@media (max-width: 900px) {
  .g-sec-steps[data-cols="2"],
  .g-sec-steps[data-cols="4"] {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .g-sec > .g-wrap {
    padding-inline: 10px;
  }

  .g-main > .components > .g-sec:first-child {
    padding-top: 10px;
  }

  .g-sec-trust[data-variant="split"] {
    flex-direction: column;
    text-align: center;
  }

  .g-sec-trust-rule {
    display: none;
  }

  .g-sec-statline > .g-sec-stat {
    padding: 0 18px;
  }
}

@media (max-width: 640px) {
  .g-sec-box {
    padding: 26px 18px;
  }

  .g-sec-promo,
  .g-sec-promo[data-height="short"] {
    padding-block: 26px;
  }

  .g-sec-promo[data-height="tall"] {
    padding-block: 48px;
  }

  .g-sec-promo-sub {
    font-size: 16px;
  }

  .g-sec-trust[data-variant="split"] {
    padding: 19.5px 18px;
  }

  .g-sec-statline > .g-sec-stat + .g-sec-stat {
    border-left: 0;
  }
}

@media (max-width: 480px) {
  /* Long labels may wrap on a phone instead of pushing the page wider. */
  .g-cta {
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }
}

