@charset "UTF-8";
/* =========================================================================
   G-Mart skin — gm-base.css
   Shared structure for BOTH visual directions. Load order:
     1. /g-mart.css            (legacy; still needed by legacy body content
                                 and by legacy JS that toggles display-none etc.)
     2. css/gm-base.css        (this file)
     3. css/gm-theme-front.css  OR  css/gm-theme-comic.css
   Rules:
   - Every selector is prefixed gm- . Nothing here styles a bare element
     except inside .gm-content (new body content). Legacy body content goes
     inside .gm-legacy and is left alone.
   - Works in standards mode AND quirks mode (no doctype), see GAPS-ANSWERS #18.
   - Breakpoints match g-mart.css: phone <=479, tablet 480-999, desktop >=1000.
   ========================================================================= */
/* ---------- 1. Tokens (theme files override these) ---------------------- */
.gm-body {
  --gm-red-logo: #ff3333;
  /* $color-red-logo: logo + large accents only */
  --gm-blue: #005fb2;
  /* $color-blue-brand */
  --gm-blue-hover: #00427d;
  --gm-ink: #141414;
  --gm-text-2: #333333;
  --gm-text-3: #555555;
  /* 7.5:1 on white */
  --gm-rule: #dddddd;
  --gm-rule-soft: #e6e6e6;
  --gm-faint: #f5f5f5;
  /* legacy "veryfaint" whitesmoke */
  --gm-yellow: #ffff66;
  /* discount tags, captions */
  --gm-bg: #ffffff;
  /* status colors (legacy: palegreen / lemonchiffon / darksalmon) */
  --gm-ok-bg: #e3f6e3;
  --gm-ok-line: #2e7d32;
  --gm-warn-bg: #fff9cc;
  --gm-warn-line: #9a7b00;
  --gm-err-bg: #fde4dc;
  --gm-err-line: #b3261e;
  /* error text #b3261e: 6.5:1 */
  --gm-info-bg: #e8f1fa;
  --gm-info-line: #005fb2;
  /* price-tier chips: SAME meanings as today's button_*.gif (keep colors).
     Confirm exact hexes against the current gifs. */
  --gm-chip-sale: #00ffff;
  /* classic button_sale.gif: cyan field (see .gm-chip--sale) */
  --gm-chip-green: #2fb344;
  --gm-chip-yellow: #ffd400;
  --gm-chip-red: #d0021b;
  --gm-chip-none: #ffffff;
  --gm-font: "Libre Franklin", Arial, sans-serif;
  --gm-font-display: var(--gm-font);
  --gm-display-transform: none;
  --gm-fs: 15px;
  --gm-radius: 0px;
  --gm-border: 1px solid var(--gm-rule);
  --gm-panel-border: 1px solid var(--gm-rule);
  --gm-page-max: none;
  /* no maximum page width: a big monitor gets used */
  --gm-pad: 32px;
  --gm-gap: 20px;
  --gm-tap: 44px;
  margin: 0;
  background: var(--gm-bg);
  color: var(--gm-ink);
  font-family: var(--gm-font); }

@media (max-width: 999px) {
  .gm-body {
    --gm-pad: 20px; } }
@media (max-width: 479px) {
  .gm-body {
    --gm-pad: 12px;
    --gm-gap: 12px; } }
/* box sizing only for skin elements (legacy tables keep their sizing) */
[class^="gm-"], [class*=" gm-"],
[class^="gm-"]::before, [class*=" gm-"]::before,
[class^="gm-"]::after, [class*=" gm-"]::after {
  box-sizing: border-box; }

/* ---------- 2. Utilities ------------------------------------------------- */
.gm-wrap {
  max-width: var(--gm-page-max);
  margin: 0 auto;
  padding-left: var(--gm-pad);
  padding-right: var(--gm-pad); }

.gm-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; }

.gm-display {
  font-family: var(--gm-font-display);
  text-transform: var(--gm-display-transform); }

.gm-accent {
  color: var(--gm-red-logo); }

.gm-muted {
  color: var(--gm-text-3); }

.gm-num {
  font-variant-numeric: tabular-nums; }

.gm-link {
  color: var(--gm-blue);
  text-decoration: none; }

.gm-link:hover {
  color: var(--gm-blue-hover);
  text-decoration: underline; }

.gm-icon {
  width: 22px;
  height: 22px;
  display: block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round; }

.gm-iconsprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden; }

.gm-icon--sm {
  width: 16px;
  height: 16px; }

/* show/hide by regime */
@media (min-width: 1000px) {
  .gm-compact-only {
    display: none !important; } }
@media (max-width: 999px) {
  .gm-desktop-only {
    display: none !important; } }
@media (max-width: 479px) {
  .gm-tablet-up {
    display: none !important; } }
@media (min-width: 480px) {
  .gm-phone-only {
    display: none !important; } }
@media (max-width: 479px) {
  .gm-notphone {
    display: none !important; } }
/* the large-screen twin of a .gm-phone-only link */
/* ---------- 3. Buttons, tags, chips, prices ------------------------------ */
.gm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--gm-tap);
  padding: 0 18px;
  margin: 0;
  font-family: var(--gm-font-display);
  text-transform: var(--gm-display-transform);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--gm-blue);
  border-radius: var(--gm-radius);
  background: var(--gm-blue);
  color: #fff;
  cursor: pointer; }

.gm-btn:hover {
  background: var(--gm-blue-hover);
  border-color: var(--gm-blue-hover);
  color: #fff;
  text-decoration: none; }

.gm-btn--secondary {
  background: #fff;
  color: var(--gm-blue); }

.gm-btn--secondary:hover {
  background: var(--gm-info-bg);
  color: var(--gm-blue-hover); }

.gm-btn--quiet {
  background: transparent;
  border-color: transparent;
  color: var(--gm-blue);
  padding: 0 8px; }

.gm-btn--quiet:hover {
  background: var(--gm-faint);
  border-color: transparent;
  color: var(--gm-blue-hover); }

.gm-btn--sm {
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px; }

.gm-btn--block {
  display: flex;
  width: 100%; }

.gm-btn[disabled], .gm-btn--disabled {
  background: var(--gm-faint);
  border-color: var(--gm-rule);
  color: var(--gm-text-3);
  cursor: not-allowed; }

/* subscribe / pre-order: same weight, different label; "on" = chosen */
.gm-btn--sub, .gm-btn--pre {
  background: #fff;
  color: var(--gm-blue); }

.gm-btn--sub[aria-pressed="true"], .gm-btn--pre[aria-pressed="true"] {
  background: var(--gm-blue);
  color: #fff; }

.gm-tag {
  /* "10% OFF", "save 40%" */
  display: inline-block;
  padding: 1px 6px;
  border-radius: var(--gm-radius);
  background: var(--gm-yellow);
  color: var(--gm-ink);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: middle; }

.gm-tag--lg {
  font-size: 14px;
  padding: 2px 8px; }

.gm-tag--black {
  background: var(--gm-ink);
  color: #fff; }

/* event dressing */
.gm-tag--soldout {
  background: var(--gm-faint);
  color: var(--gm-text-3);
  border: 1px solid var(--gm-rule); }

.gm-tag--soon {
  background: var(--gm-info-bg);
  color: var(--gm-blue); }

.gm-tag--ratio {
  background: #d9fbfc;
  border: 1px solid #00a3b4;
  color: #00444d;
  font-weight: 800;
  border-radius: 3px; }

/* "1:50", "250-copy min. order": toned-down classic aqua */
.gm-tag--new, .gm-tag--pre {
  background: transparent;
  color: var(--gm-text-2);
  border: 1px solid var(--gm-rule); }

/* cart line kind */
.gm-chip {
  /* price-tier chip; color meaning unchanged */
  display: inline-block;
  width: 14px;
  height: 10px;
  border-radius: 2px;
  flex: none;
  border: 1px solid rgba(0, 0, 0, 0.35);
  vertical-align: middle; }

/* classic button_sale: a cyan field, a small fuchsia center, a black border */
.gm-chip--sale {
  background: linear-gradient(#ff00ff, #ff00ff) center/6px 4px no-repeat var(--gm-chip-sale);
  border-color: #000; }

.gm-chip--green {
  background: var(--gm-chip-green); }

.gm-chip--yellow {
  background: var(--gm-chip-yellow); }

.gm-chip--red {
  background: var(--gm-chip-red); }

.gm-chip--none {
  background: var(--gm-chip-none); }

.gm-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums; }

.gm-price s {
  font-weight: 400;
  color: var(--gm-text-3); }

/* the classic SOLD OUT marker: white box, black outline */
.gm-price--out {
  display: inline-block;
  padding: 1px 6px;
  background: #fff;
  border: 1px solid var(--gm-ink);
  border-radius: 5px;
  color: var(--gm-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.4;
  white-space: nowrap;
  text-align: center; }

/* centered: in a card it stretches to the card width */
/* icon toggle buttons: cart quick-add, want-list heart */
.gm-qa {
  width: 36px;
  height: 36px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: transparent;
  color: var(--gm-text-2);
  cursor: pointer; }

.gm-qa:hover {
  background: var(--gm-faint); }

.gm-qa .gm-icon {
  width: 20px;
  height: 20px; }

.gm-qa[aria-pressed="true"] {
  color: var(--gm-blue); }

.gm-qa--heart[aria-pressed="true"] {
  color: var(--gm-red-logo); }

.gm-qa[aria-pressed="true"] .gm-icon {
  fill: currentColor; }

/* ---------- 4. Staff bar (employees only) -------------------------------- */
.gm-staffbar {
  background: #2b2b2b;
  color: #eee;
  font-size: 12px; }

.gm-staffbar .gm-wrap {
  display: flex;
  gap: 6px 18px;
  flex-wrap: wrap;
  align-items: center;
  min-height: 30px; }

.gm-staffbar strong {
  color: var(--gm-yellow);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px; }

.gm-staffbar a {
  color: #fff;
  text-decoration: none; }

.gm-staffbar a:hover {
  text-decoration: underline; }

/* ---------- 5. Header ---------------------------------------------------- */
.gm-header {
  background: #fff;
  border-bottom: var(--gm-header-rule, 1px solid var(--gm-rule));
  position: relative;
  z-index: 20; }

.gm-header__bar {
  display: grid;
  align-items: center;
  gap: 10px 22px;
  /* desktop: logo spans two rows (as on the legacy site); account/cart tools
     top right; sections + search on the second row */
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "logo tools tools" "logo sections search";
  padding-top: 8px;
  padding-bottom: 8px; }

.gm-header__tools {
  justify-self: end; }

.gm-header__menu {
  grid-area: menu;
  display: none; }

.gm-header__brand {
  grid-area: logo;
  display: flex;
  align-items: center; }

/* the logo and tagline */
.gm-header__motto {
  grid-area: motto;
  display: none;
  margin: 0; }

/* a design shows it in its wide masthead */
.gm-header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gm-ink);
  text-decoration: none; }

.gm-header__logo img {
  height: 60px;
  width: auto;
  display: block; }

.gm-header__tagline {
  display: none; }

.gm-header__edition {
  grid-area: edition;
  display: none;
  margin: 0;
  font-size: 13px;
  color: var(--gm-text-3); }

.gm-header__promo {
  grid-area: promo;
  display: none;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--gm-text-2); }

/* admin header promo (legacy navpromo-bubble) */
.gm-header__promo strong {
  color: var(--gm-ink); }

.gm-header__sections {
  grid-area: sections; }

.gm-header__search {
  grid-area: search; }

.gm-header__tools {
  grid-area: tools;
  display: flex;
  align-items: center;
  gap: 4px; }

/* top-level sections + dropdowns (desktop) */
.gm-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 18px;
  margin: 0;
  padding: 0;
  list-style: none; }

.gm-nav > li {
  position: relative; }

.gm-nav__link, .gm-nav summary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: var(--gm-tap);
  padding: 0 2px;
  font-family: var(--gm-font-display);
  text-transform: var(--gm-display-transform);
  font-size: 15px;
  font-weight: 600;
  color: var(--gm-ink);
  text-decoration: none;
  cursor: pointer;
  list-style: none; }

.gm-nav summary::-webkit-details-marker {
  display: none; }

.gm-nav__link:hover, .gm-nav summary:hover {
  color: var(--gm-blue); }

.gm-nav__link[aria-current="page"], .gm-nav [aria-current="page"] > summary {
  box-shadow: inset 0 -3px 0 var(--gm-red-logo); }

.gm-dd {
  position: relative; }

.gm-dd > summary {
  list-style: none;
  cursor: pointer; }

.gm-dd > summary::-webkit-details-marker {
  display: none; }

.gm-dd__caret {
  width: 10px;
  height: 10px;
  flex: none;
  transition: transform .1s; }

.gm-dd[open] .gm-dd__caret {
  transform: rotate(180deg); }

.gm-dd__panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin-top: 4px;
  padding: 4px 0;
  background: #fff;
  border: var(--gm-panel-border);
  border-radius: var(--gm-radius);
  box-shadow: var(--gm-pop-shadow, 0 10px 28px rgba(0, 0, 0, 0.16));
  z-index: 30; }

.gm-dd__panel--right {
  left: auto;
  right: 0; }

.gm-dd__panel a, .gm-dd__panel .gm-dd__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 14px;
  min-height: 32px;
  align-items: center;
  color: var(--gm-ink);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500; }

.gm-dd__panel a:hover {
  background: var(--gm-faint);
  color: var(--gm-blue); }

.gm-dd__panel hr {
  border: 0;
  border-top: 1px solid var(--gm-rule-soft);
  margin: 4px 0; }

.gm-dd__label {
  display: block;
  padding: 6px 14px 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gm-text-3); }

/* search */
.gm-search {
  display: flex;
  margin: 0; }

.gm-search input[type="search"] {
  width: 240px;
  height: var(--gm-tap);
  padding: 0 12px;
  margin: 0;
  font: inherit;
  font-size: 14px;
  color: var(--gm-ink);
  border: 1px solid #b5b5b5;
  border-right: 0;
  border-radius: var(--gm-radius) 0 0 var(--gm-radius);
  background: #fff; }

.gm-search button {
  width: 46px;
  height: var(--gm-tap);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #b5b5b5;
  border-radius: 0 var(--gm-radius) var(--gm-radius) 0;
  background: #fff;
  color: var(--gm-ink);
  cursor: pointer; }

.gm-search__adv {
  display: block;
  font-size: 12px;
  margin-top: 2px; }

/* tool buttons (account, help, heart, cart) */
.gm-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--gm-tap);
  min-width: var(--gm-tap);
  padding: 0 8px;
  color: var(--gm-ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--gm-radius);
  position: relative; }

summary.gm-tool {
  list-style: none;
  cursor: pointer; }

summary.gm-tool::-webkit-details-marker {
  display: none; }

.gm-tool:hover {
  background: var(--gm-faint);
  color: var(--gm-blue); }

.gm-tool__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap; }

.gm-tool__sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--gm-text-3); }

.gm-badge {
  /* count / alert badge on a tool icon */
  position: absolute;
  top: 3px;
  left: 19px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--gm-red-logo);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center; }

.gm-badge--blue {
  background: var(--gm-blue); }

/* a long member name: one line, cut with an ellipsis */
.gm-tool__name {
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }

/* the cart tool: "Cart · 1 item, $1.50" on one line (the badge carries the count at any width) */
#cart_global_navcart .gm-tool__text {
  flex-direction: row;
  gap: 6px;
  white-space: nowrap; }

#cart_global_navcart .gm-tool__sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--gm-ink); }

/* the total reads as the label */
.gm-dd__panel hr {
  margin: 6px 0;
  border: 0;
  border-top: 1px solid var(--gm-rule-soft); }

.gm-tool--heart[data-full="true"] .gm-icon {
  fill: var(--gm-red-logo);
  color: var(--gm-red-logo); }

/* member subscription summary (legacy navsub bubble) */
.gm-subsum {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px;
  min-height: var(--gm-tap);
  color: var(--gm-ink);
  text-decoration: none;
  font-size: 12px;
  line-height: 1.3;
  border-radius: var(--gm-radius); }

.gm-subsum:hover {
  background: var(--gm-faint); }

.gm-subsum strong {
  display: block;
  font-size: 13px; }

/* a member's subscription summary in the masthead's promo spot (a div of separate links) */
.gm-header__promo.gm-subsum {
  display: block;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  font-size: 13px; }

.gm-header__promo.gm-subsum:hover {
  background: none; }

.gm-header__promo.gm-subsum strong {
  display: inline;
  font-size: inherit; }

.gm-subsum__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gm-text-3); }

.gm-subsum img {
  width: 22px;
  height: 32px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--gm-rule); }

/* tablet section strip (480-999): one scrollable line under the bar */
.gm-tabs {
  display: none; }

/* compact header (< 1000px): menu | logo | (search) | tools */
@media (max-width: 999px) {
  .gm-header__bar {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "menu logo search tools";
    gap: 6px;
    padding-top: 6px;
    padding-bottom: 6px; }

  .gm-header__menu {
    display: block; }

  .gm-header__sections, .gm-header__edition, .gm-header__promo {
    display: none !important; }

  .gm-header__logo img {
    height: 46px; }

  .gm-header__motto {
    display: none !important; }

  .gm-header__search {
    justify-self: end; }

  .gm-search input[type="search"] {
    width: 200px; }

  .gm-search__adv {
    display: none; }

  .gm-tool__text, .gm-subsum {
    display: none; }

  .gm-header {
    position: sticky;
    top: 0; }

  .gm-tabs {
    display: block;
    border-top: 1px solid var(--gm-rule-soft); }

  .gm-tabs ul {
    display: flex;
    gap: 22px;
    margin: 0;
    padding: 0 var(--gm-pad);
    list-style: none;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; }

  .gm-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-family: var(--gm-font-display);
    text-transform: var(--gm-display-transform);
    font-size: 14px;
    font-weight: 600;
    color: var(--gm-ink);
    text-decoration: none; }

  .gm-tabs a[aria-current="page"] {
    box-shadow: inset 0 -3px 0 var(--gm-red-logo); } }
@media (max-width: 479px) {
  .gm-header__bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "menu logo tools"; }

  .gm-header__brand {
    justify-self: center; }

  .gm-header__search {
    display: none; }

  /* phone: search icon in tools instead */
  .gm-tabs {
    display: none; }

  /* phone: everything is in the menu */ }
/* hamburger menu (compact) — <details>, nested <details> for levels */
.gm-menu > summary {
  list-style: none;
  cursor: pointer;
  width: var(--gm-tap);
  height: var(--gm-tap);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gm-ink); }

.gm-menu > summary::-webkit-details-marker {
  display: none; }

.gm-menu__panel {
  position: absolute;
  left: 0;
  top: 100%;
  width: min(340px, 100vw);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  background: #fff;
  border: var(--gm-panel-border);
  box-shadow: var(--gm-pop-shadow, 0 10px 28px rgba(0, 0, 0, 0.18));
  padding: 0 0 6px; }

/* compact rows: tall enough to tap (36px) but not roomy; sections are told apart
   by a shaded heading band rather than by empty space */
.gm-menu__panel a, .gm-menu__panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 0 16px;
  color: var(--gm-ink);
  text-decoration: none;
  font-family: var(--gm-font-display);
  text-transform: var(--gm-display-transform);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  list-style: none;
  cursor: pointer; }

.gm-menu__panel summary::-webkit-details-marker {
  display: none; }

.gm-menu__panel details details a, .gm-menu__panel details > div > a {
  padding-left: 32px;
  min-height: 32px;
  font-weight: 500;
  font-size: 15px; }

.gm-menu__panel hr {
  border: 0;
  border-top: 1px solid var(--gm-rule-soft);
  margin: 4px 0; }

.gm-menu__panel .gm-dd__label {
  margin-top: 6px;
  padding: 4px 16px;
  background: var(--gm-faint);
  border-top: 1px solid var(--gm-rule-soft);
  border-bottom: 1px solid var(--gm-rule-soft); }

/* ---------- 6. Announcements (admin-configured) -------------------------- */
.gm-announce {
  background: var(--gm-info-bg);
  color: var(--gm-ink);
  font-size: 14px;
  border-bottom: 1px solid var(--gm-rule-soft); }

.gm-announce .gm-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 16px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
  text-align: center; }

.gm-announce a {
  color: var(--gm-blue);
  font-weight: 700; }

.gm-announce--blue {
  background: var(--gm-blue);
  color: #fff; }

.gm-announce--blue a {
  color: #fff;
  text-decoration: underline; }

.gm-announce--yellow {
  background: var(--gm-yellow); }

.gm-announce--black {
  background: var(--gm-ink);
  color: #fff; }

@media (min-width: 1000px) {
  .gm-announce--narrow {
    display: none; } }
/* the masthead carries the event on a wide screen */
.gm-announce--black a {
  color: var(--gm-yellow); }

.gm-announce strong {
  font-weight: 800; }

.gm-countdown {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
  font-weight: 800; }

.gm-countdown__unit {
  display: inline-flex;
  align-items: baseline;
  gap: 1px; }

.gm-countdown__unit small {
  font-size: 11px;
  font-weight: 600;
  opacity: .85; }

.gm-announce--black .gm-countdown {
  color: var(--gm-yellow); }

/* member alert strip (e.g. "3 items ready to ship") */
.gm-alertbar {
  background: var(--gm-ok-bg);
  border-bottom: 1px solid var(--gm-rule-soft);
  font-size: 14px; }

.gm-alertbar .gm-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  min-height: 40px; }

/* admin pills (store_sale_display bubbles): the colour is the border and dot, the label is always ink */
.gm-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 4px;
  padding: 0;
  list-style: none; }

.gm-pill {
  --pill: #ff3333;
  --pill-dot: var(--pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 2px solid var(--pill);
  border-radius: 18px;
  background: #fff;
  color: var(--gm-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2; }

.gm-pill::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pill-dot);
  flex: none; }

a.gm-pill:hover {
  background: #f5f5f5;
  color: var(--gm-ink);
  text-decoration: underline; }

.gm-pill--static {
  cursor: default; }

.gm-pill--sale {
  --pill: #ff3333; }

.gm-pill--red {
  --pill: #d0021b; }

.gm-pill--pink {
  --pill: #ff00ff; }

.gm-pill--orange {
  --pill: #ff8c00; }

.gm-pill--yellow {
  --pill: #ffd700; }

.gm-pill--green {
  --pill: #32cd32; }

.gm-pill--blue {
  --pill: #00bfff; }

.gm-pill--purple {
  --pill: #8a2be2; }

.gm-pill--brown {
  --pill: #a0522d; }

.gm-pill--gray {
  --pill: #808080; }

.gm-pill--black {
  --pill: #141414; }

.gm-pill--clearance {
  --pill: #00ffff;
  --pill-dot: #ff00ff; }

@media (max-width: 479px) {
  .gm-pill {
    font-size: 13px;
    min-height: 34px;
    padding: 0 12px; } }
/* ---- home banners (store_sale_display), one component for all 10 styles ---- */
.gm-banners {
  display: flex;
  flex-direction: column;
  gap: 2px; }

.gm-banner {
  --bn-bg: var(--gm-blue);
  --bn-fg: #fff;
  --bn-link: #fff;
  background: var(--bn-bg);
  color: var(--bn-fg); }

.gm-banner__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding-top: 10px;
  padding-bottom: 10px; }

.gm-banner__body {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.45; }

.gm-banner__body p, .gm-banner__lines {
  margin: 0; }

.gm-banner a {
  color: var(--bn-link); }

/* on inner pages a banner sits inside the page column (the home page runs edge to edge) */
.gm-legacy .gm-banner {
  margin: 0 0 16px;
  border-radius: 6px; }

.gm-legacy .gm-banner__inner.gm-wrap {
  max-width: none;
  padding-left: 16px;
  padding-right: 16px; }

.gm-banner__lead {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .9; }

.gm-banner__title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2; }

.gm-banner__title a {
  text-decoration: underline;
  text-underline-offset: 3px; }

.gm-banner__lines {
  list-style: none;
  padding: 0;
  margin-top: 4px; }

.gm-banner__lines li {
  margin: 2px 0; }

.gm-banner__help {
  font-size: 12px;
  opacity: .9; }

.gm-banner__note {
  font-size: 12px; }

.gm-banner__more {
  font-size: 12px;
  margin-top: 4px; }

.gm-banner__deco {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  align-self: stretch;
  justify-content: center; }

.gm-banner__deco img {
  display: block;
  height: auto;
  max-width: 100%; }

.gm-banner__phone-only {
  display: none !important; }

/* the extra picture classic shows only on a phone */
.gm-banner--fcbd {
  --bn-bg: #005fb2; }

/* Black Friday / Cyber Monday: the pictures stand on the bottom edge of the bar (as the classic table does) */
.gm-banner--blackfriday, .gm-banner--cybermonday {
  --bn-bg: #000; }

.gm-banner--blackfriday .gm-banner__inner, .gm-banner--cybermonday .gm-banner__inner {
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 0; }

.gm-banner--blackfriday .gm-banner__body, .gm-banner--cybermonday .gm-banner__body {
  align-self: center;
  padding: 10px 0; }

.gm-banner--blackfriday .gm-banner__deco, .gm-banner--cybermonday .gm-banner__deco {
  justify-content: flex-end; }

.gm-banner--cybermonday {
  --bn-fg: #ff3333;
  --bn-link: #ff3333; }

.gm-banner--christmas {
  --bn-bg: #007a29; }

.gm-banner--christmas .gm-banner__deco {
  background: #e7474e;
  width: 32px;
  margin: -10px 0; }

.gm-banner--sale {
  --bn-bg: #8f5f5f; }

.gm-banner--sale2 {
  --bn-bg: #3a6b94; }

.gm-banner--sale .gm-banner__deco, .gm-banner--sale2 .gm-banner__deco {
  background: #ffff66;
  color: #ff3333;
  font-weight: 900;
  font-size: 20px;
  padding: 0 14px;
  margin: -10px 0;
  letter-spacing: .04em; }

.gm-banner--plain-center {
  --bn-bg: #005fb2; }

.gm-banner--plain-left {
  --bn-bg: #005fb2; }

.gm-banner--plain-left .gm-banner__body {
  text-align: left; }

.gm-banner--new-arrivals, .gm-banner--spotlight {
  --bn-bg: #e6e6e6;
  --bn-fg: var(--gm-ink);
  --bn-link: var(--gm-ink); }

.gm-banner--new-arrivals .gm-banner__body, .gm-banner--spotlight .gm-banner__body {
  text-align: left; }

@media (max-width: 999px) {
  .gm-banner__deco img {
    max-height: 80px;
    width: auto; }

  .gm-banner--fcbd .gm-banner__deco img {
    max-height: 40px; }

  .gm-banner--new-arrivals .gm-banner__deco img, .gm-banner--spotlight .gm-banner__deco img {
    max-height: 64px; } }
@media (max-width: 479px) {
  .gm-banner__inner {
    flex-direction: column;
    gap: 8px; }

  .gm-banner__deco--right {
    display: none; }

  .gm-banner__deco img {
    max-height: 64px; }

  .gm-banner--fcbd .gm-banner__deco img {
    width: 180px;
    max-height: 30px; }

  .gm-banner__title {
    font-size: 17px; }

  /* Black Friday / Cyber Monday: the title picture and the man sit side by side on the bottom edge, right picture hidden */
  .gm-banner__phone-only {
    display: block !important; }

  /* phone: the pictures come after the text, standing on the bar's bottom edge (as in classic) */
  .gm-banner--blackfriday .gm-banner__inner, .gm-banner--cybermonday .gm-banner__inner {
    gap: 0; }

  .gm-banner--blackfriday .gm-banner__deco, .gm-banner--cybermonday .gm-banner__deco {
    order: 1;
    flex-direction: row;
    align-items: flex-end;
    align-self: center;
    gap: 6px; }

  .gm-banner--blackfriday .gm-banner__body, .gm-banner--cybermonday .gm-banner__body {
    padding-bottom: 10px; }

  .gm-banner--christmas .gm-banner__inner {
    flex-direction: row; }

  .gm-banner--christmas .gm-banner__deco {
    width: 6px; }

  .gm-banner--christmas .gm-banner__deco img {
    display: none; }

  .gm-banner--christmas .gm-banner__deco--right {
    display: flex; }

  .gm-banner--sale .gm-banner__deco, .gm-banner--sale2 .gm-banner__deco {
    margin: 0;
    padding: 2px 10px;
    font-size: 16px;
    align-self: center; }

  .gm-banner--new-arrivals .gm-banner__inner, .gm-banner--spotlight .gm-banner__inner {
    flex-direction: row;
    align-items: flex-start; }

  .gm-banner--new-arrivals .gm-banner__deco img, .gm-banner--spotlight .gm-banner__deco img {
    max-height: 48px; }

  .gm-banner--spotlight .gm-banner__deco--right {
    display: flex; }

  /* classic shows both spotlight pictures on a phone */ }
/* ---------- 7. Breadcrumb ribbon + page title ---------------------------- */
.gm-crumbs {
  border-bottom: 0; }

.gm-crumbs .gm-wrap {
  padding-top: 10px;
  padding-bottom: 6px; }

/* one line: Home / ... / page title (the H1 is the last item) */
/* the H1 must be inline: as a block it pushes the "/" (a ::before of its li) onto a line of its own */
.gm-crumbs ol .gm-crumbs__title h1 {
  display: inline;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800; }

@media (max-width: 479px) {
  .gm-crumbs ol .gm-crumbs__title h1 {
    font-size: 18px; } }
/* a long title (e.g. a sale name) stays on the crumbs' line and wraps inside its own box,
   instead of jumping to a line of its own because it is wider than the space left */
.gm-crumbs ol .gm-crumbs__title {
  flex: 1 1 10em;
  min-width: 0; }

.gm-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--gm-text-3); }

.gm-crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--gm-rule); }

.gm-crumbs a {
  color: var(--gm-text-3);
  text-decoration: none; }

.gm-crumbs a:hover {
  color: var(--gm-blue);
  text-decoration: underline; }

.gm-crumbs h1, .gm-pagetitle {
  margin: 0;
  font-family: var(--gm-font-display);
  text-transform: var(--gm-display-transform);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--gm-ink); }

.gm-crumbs--black {
  background: var(--gm-ink);
  border-bottom-color: var(--gm-ink); }

.gm-crumbs--black, .gm-crumbs--black h1, .gm-crumbs--black a, .gm-crumbs--black ol {
  color: #fff; }

@media (max-width: 479px) {
  .gm-crumbs h1 {
    font-size: 24px; } }
/* the home page greeting is a long sentence: one line on any phone (the size
   follows the screen width; the clip is only a safety net) */
@media (max-width: 767px) {
  .gm-crumbs h1.gm-home-greeting {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(13px, 4.6vw, 30px); } }
/* desktop navigation never wraps onto a second line; if space is short the
   search box gives way first (see the narrow-desktop rules in each theme) */
@media (min-width: 1000px) {
  /* the menu button (same menu as the phone hamburger) leads the section links */
  .gm-header__sections {
    display: flex;
    align-items: center;
    gap: 10px; }

  .gm-header__sections .gm-nav {
    flex: 1; }

  .gm-menu--desktop {
    position: relative;
    flex: none; }

  .gm-menu--desktop .gm-menu__panel {
    width: 300px;
    z-index: 40; }

  .gm-header--black .gm-menu--desktop > summary {
    color: #fff; }

  .gm-header--black .gm-menu--desktop > summary:hover {
    color: var(--gm-yellow); }

  .gm-nav {
    flex-wrap: nowrap; }

  .gm-nav__link, .gm-nav summary {
    white-space: nowrap; } }
/* Event dressing (Black Friday / Cyber Monday): the navigation line itself goes
   from black-on-white to white-on-black, together with the breadcrumb ribbon
   (.gm-crumbs--black). The header carries .gm-header--black. */
.gm-header--black .gm-nav__link, .gm-header--black .gm-nav > li > details > summary {
  color: #fff; }

.gm-header--black .gm-nav__link:hover, .gm-header--black .gm-nav > li > details > summary:hover {
  color: var(--gm-yellow); }

.gm-header--black .gm-header__sections {
  background: var(--gm-ink);
  padding-left: 10px;
  padding-right: 10px; }

.gm-header--black .gm-tabs {
  background: var(--gm-ink);
  border-top-color: var(--gm-ink); }

.gm-header--black .gm-tabs a {
  color: #fff; }

/* ---------- 8. Page body ------------------------------------------------- */
.gm-main {
  padding-top: 14px;
  padding-bottom: 48px; }

.gm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px; }

@media (min-width: 1000px) {
  .gm-layout--aside {
    grid-template-columns: minmax(0, 1fr) 300px; } }
/* legacy body content (.gm-legacy): deliberately unstyled. No overflow rule:
   it would clip the legacy .menu-dropdown menus, and classic has no such guard
   either ("no worse than old behavior"). */
/* NEW body content: element base styles live only here */
.gm-content {
  font-size: var(--gm-fs);
  line-height: 1.5;
  color: var(--gm-ink); }

.gm-content h1, .gm-content h2, .gm-content h3 {
  font-family: var(--gm-font-display);
  text-transform: var(--gm-display-transform);
  color: var(--gm-ink);
  line-height: 1.15; }

.gm-content h1 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 16px; }

.gm-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 28px 0 12px; }

.gm-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 20px 0 8px; }

.gm-content p {
  margin: 0 0 12px; }

.gm-content ul, .gm-content ol {
  margin: 0 0 12px;
  padding-left: 22px; }

.gm-content li {
  margin: 4px 0; }

.gm-content a:not([class]) {
  color: var(--gm-blue); }

/* plain links only; components keep their own colors */
.gm-content a:not([class]):hover {
  color: var(--gm-blue-hover); }

.gm-content img {
  max-width: 100%;
  height: auto; }

.gm-content hr {
  border: 0;
  border-top: 1px solid var(--gm-rule);
  margin: 24px 0; }

.gm-content small {
  font-size: 13px;
  color: var(--gm-text-3); }

.gm-content table {
  font-size: inherit;
  color: inherit; }

/* quirks mode does not inherit into tables */
/* section header: title + rule + link */
.gm-sechead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 16px;
  margin: 28px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gm-ink); }

.gm-sechead:first-child {
  margin-top: 0; }

.gm-sechead h2, .gm-sechead__title {
  margin: 0;
  font-family: var(--gm-font-display);
  text-transform: var(--gm-display-transform);
  font-size: 22px;
  font-weight: 800; }

.gm-sechead a {
  font-size: 14px;
  font-weight: 600; }

.gm-sechead .gm-sechead__date {
  margin-left: 8px;
  font-size: inherit;
  font-weight: 400;
  color: var(--gm-text-3);
  text-decoration: none; }

.gm-sechead .gm-sechead__date:hover {
  color: var(--gm-blue); }

.gm-sechead__note {
  font-size: 14px;
  font-weight: 600; }

.gm-sechead__note a {
  font-size: inherit; }

.gm-sechead__sub {
  margin: -8px 0 16px;
  font-size: 14px;
  color: var(--gm-text-2); }

.gm-sechead__title a, .gm-sechead__title strong {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-decoration: none; }

.gm-sechead__title a:hover {
  text-decoration: underline; }

.gm-sechead__links {
  margin: 0;
  font-size: 14px;
  color: var(--gm-text-3); }

.gm-sechead .gm-sechead__links a {
  font-weight: 600;
  color: var(--gm-blue);
  text-decoration: none; }

.gm-sechead .gm-sechead__links a:hover {
  text-decoration: underline; }

@media (max-width: 479px) {
  .gm-sechead__title {
    font-size: 19px; }

  .gm-sechead__links {
    flex: 1 1 100%; }

  /* the links line wraps under the title */ }
/* publisher group heading inside lists */
.gm-group {
  margin: 22px 0 6px;
  font-family: var(--gm-font-display);
  text-transform: var(--gm-display-transform);
  font-size: 16px;
  font-weight: 800; }

.gm-group small {
  font-weight: 500;
  text-transform: none; }

/* ---------- 9. Tables ---------------------------------------------------- */
.gm-tablewrap {
  overflow-x: auto;
  margin: 0 0 16px; }

.gm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px; }

.gm-table th, .gm-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gm-rule-soft); }

.gm-table thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gm-text-3);
  border-bottom: 1px solid var(--gm-ink); }

.gm-table .gm-num, .gm-table td.gm-right, .gm-table th.gm-right {
  text-align: right;
  white-space: nowrap; }

.gm-table tbody tr:hover {
  background: #fafafa; }

.gm-table__section th {
  padding-top: 18px;
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gm-ink);
  background: var(--gm-faint); }

.gm-table__total td, .gm-table__total th {
  font-weight: 800;
  border-top: 1px solid var(--gm-ink); }

.gm-table--compact th, .gm-table--compact td {
  padding: 6px 8px; }

@media (max-width: 479px) {
  .gm-table th, .gm-table td {
    padding: 8px 6px; } }
/* ---------- 10. Forms ---------------------------------------------------- */
.gm-form {
  max-width: 720px; }

.gm-field {
  margin: 0 0 16px; }

.gm-field > label, .gm-label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gm-ink); }

.gm-req {
  color: var(--gm-err-line);
  margin-left: 2px; }

.gm-hint {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--gm-text-3); }

.gm-input, .gm-select, .gm-textarea {
  display: block;
  width: 100%;
  max-width: 480px;
  min-height: var(--gm-tap);
  padding: 8px 12px;
  margin: 0;
  font: inherit;
  font-size: 15px;
  color: var(--gm-ink);
  background: #fff;
  border: 1px solid #8f8f8f;
  border-radius: var(--gm-radius); }

.gm-input--qty {
  width: 64px;
  text-align: center;
  padding: 6px; }

.gm-textarea {
  min-height: 120px; }

.gm-input:focus, .gm-select:focus, .gm-textarea:focus {
  outline: 3px solid rgba(0, 95, 178, 0.35);
  outline-offset: 1px;
  border-color: var(--gm-blue); }

.gm-field--error .gm-input, .gm-field--error .gm-select, .gm-field--error .gm-textarea {
  border-color: var(--gm-err-line);
  background: #fffafa; }

.gm-error {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gm-err-line); }

.gm-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 32px;
  margin: 4px 0;
  font-size: 15px;
  cursor: pointer; }

.gm-choice input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--gm-blue);
  flex: none; }

.gm-fieldset {
  border: 1px solid var(--gm-rule);
  border-radius: var(--gm-radius);
  padding: 12px 16px 8px;
  margin: 0 0 16px; }

.gm-fieldset legend {
  padding: 0 6px;
  font-size: 14px;
  font-weight: 700; }

.gm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px; }

/* sticky action bar for long order forms */
.gm-actionbar {
  position: sticky;
  bottom: 0;
  z-index: 10;
  margin-top: 20px;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--gm-ink);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between; }

.gm-actionbar .gm-actions {
  margin: 0; }

@media (max-width: 479px) {
  .gm-actionbar .gm-actions {
    width: 100%; }

  .gm-actionbar .gm-actions .gm-btn {
    flex: 1 1 0;
    padding: 0 8px; } }
/* ---------- 11. Notices, FAQ, popups ------------------------------------- */
.gm-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  margin: 0 0 16px;
  border-left: 4px solid var(--gm-info-line);
  background: var(--gm-info-bg);
  font-size: 14px;
  line-height: 1.5;
  border-radius: var(--gm-radius); }

.gm-notice p {
  margin: 0; }

.gm-notice strong {
  display: block; }

.gm-notice--ok {
  border-color: var(--gm-ok-line);
  background: var(--gm-ok-bg); }

.gm-notice--warn {
  border-color: var(--gm-warn-line);
  background: var(--gm-warn-bg); }

.gm-notice--error {
  border-color: var(--gm-err-line);
  background: var(--gm-err-bg); }

.gm-notice--error strong {
  color: var(--gm-err-line); }

.gm-faq {
  margin: 0 0 16px;
  border: 1px solid var(--gm-rule);
  background: var(--gm-faint);
  border-radius: var(--gm-radius);
  font-size: 14px; }

.gm-faq > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--gm-tap);
  padding: 0 14px;
  cursor: pointer;
  font-weight: 600;
  list-style: none; }

.gm-faq > summary::-webkit-details-marker {
  display: none; }

.gm-faq > summary::before {
  content: "?";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gm-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none; }

.gm-faq__body {
  padding: 0 14px 12px 42px;
  line-height: 1.5; }

.gm-faq__body p {
  margin: 0 0 8px; }

.gm-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 8px 0;
  padding: 0;
  list-style: none; }

.gm-legend li {
  display: flex;
  align-items: center;
  gap: 6px; }

/* popup: native <dialog> (cover zoom, confirmations). Legacy: img-modal / expandable-img */
.gm-modal {
  border: var(--gm-panel-border);
  border-radius: var(--gm-radius);
  padding: 0;
  max-width: min(560px, 92vw);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }

.gm-modal::backdrop {
  background: rgba(0, 0, 0, 0.55); }

.gm-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  border-bottom: 1px solid var(--gm-rule-soft);
  font-weight: 700; }

.gm-modal__body {
  padding: 16px; }

.gm-modal__body img {
  display: block;
  width: 100%;
  height: auto; }

/* ---------- 12. Comic card (cover-first) --------------------------------- */
.gm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 28px 20px; }

@media (max-width: 479px) {
  .gm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px; } }
.gm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  color: var(--gm-ink); }

.gm-card__link {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px; }

.gm-card__link:hover .gm-card__title {
  text-decoration: underline; }

.gm-card__cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--gm-faint);
  box-shadow: var(--gm-cover-shadow, 0 1px 3px rgba(0, 0, 0, 0.25)); }

.gm-card__flag {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  max-width: calc(100% - 12px);
  white-space: normal; }

.gm-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere; }

/* a long word breaks rather than widening the page */
@media (max-width: 479px) {
  .gm-price--out {
    font-size: 10px;
    padding: 1px 4px;
    letter-spacing: 0; } }
/* fits the narrow phone cards */
.gm-card__credit {
  font-size: 12px;
  line-height: 1.3;
  color: var(--gm-text-3); }

.gm-card__desc {
  /* the store's short line about the book: at most 3 lines */
  font-size: 12px;
  line-height: 1.4;
  color: var(--gm-text-3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden; }

.gm-card {
  height: 100%; }

/* cards of a row are as tall as the tallest */
.gm-card__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 6px; }

/* price and links line up along the bottom */
a.gm-card__price {
  color: var(--gm-ink);
  text-decoration: none; }

a.gm-card__price:hover {
  color: var(--gm-blue); }

.gm-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap; }

.gm-card__price {
  font-size: 14px;
  flex-wrap: wrap;
  row-gap: 2px; }

/* a tag that does not fit goes on its own line */
.gm-card__title .gm-tag {
  white-space: normal;
  max-width: 100%; }

/* a long ratio tag wraps instead of widening the page */
.gm-card__actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center; }

.gm-card__more {
  font-size: 13px;
  font-weight: 600;
  color: var(--gm-blue);
  text-decoration: none; }

.gm-card__more:hover {
  text-decoration: underline; }

/* states */
.gm-card--soldout .gm-card__cover {
  opacity: .85;
  filter: none; }

.gm-card--soon .gm-card__cover {
  opacity: .85; }

.gm-card--incart .gm-card__cover {
  outline: 3px solid var(--gm-blue);
  outline-offset: 2px; }

@media (max-width: 479px) {
  .gm-card__credit, .gm-card__desc {
    display: none; } }
/* horizontal card: cover beside text (story panel). Comic theme borders it. */
.gm-hcard {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gm-rule-soft);
  color: var(--gm-ink);
  min-width: 0; }

.gm-hcard__cover {
  width: 104px;
  height: 156px;
  object-fit: cover;
  display: block;
  background: var(--gm-faint);
  box-shadow: var(--gm-cover-shadow, 0 1px 3px rgba(0, 0, 0, 0.25)); }

.gm-hcard__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0; }

.gm-hcard__title {
  font-family: var(--gm-font-display);
  text-transform: var(--gm-display-transform);
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
  color: inherit;
  text-decoration: none; }

a.gm-hcard__title:hover {
  text-decoration: underline; }

.gm-hcard__credit {
  font-size: 13px;
  color: var(--gm-text-3); }

.gm-hcard__desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--gm-text-2); }

.gm-hcard__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between; }

.gm-hcards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 0 28px; }

/* swipe row: native horizontal scroll + snap (no carousel script) */
.gm-swipe {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin: 0;
  list-style: none;
  padding-left: 0; }

.gm-swipe > * {
  flex: 0 0 150px;
  scroll-snap-align: start; }

@media (max-width: 479px) {
  .gm-swipe > * {
    flex-basis: 124px; } }
/* ---------- 13. Compact list rows: now in gm-row.scss (gm-row.css) ---------- */
/* ---------- 14. Pre-order / subscription rows ---------------------------- */
.gm-orders {
  margin: 0;
  padding: 0;
  list-style: none; }

.gm-order {
  display: grid;
  grid-template-columns: 75px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--gm-rule-soft); }

.gm-order__cover {
  width: 75px;
  height: 113px;
  object-fit: cover;
  display: block;
  background: var(--gm-faint);
  box-shadow: var(--gm-cover-shadow, 0 1px 3px rgba(0, 0, 0, 0.25)); }

.gm-order__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px; }

.gm-order__title {
  font-family: var(--gm-font-display);
  text-transform: var(--gm-display-transform);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0; }

.gm-order__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center; }

.gm-order__choice {
  display: inline-flex;
  align-items: center;
  gap: 6px; }

.gm-order__choice .gm-input--qty {
  min-height: 36px; }

.gm-order__series {
  font-size: 13px;
  color: var(--gm-text-3); }

.gm-order details {
  font-size: 14px;
  color: var(--gm-text-2); }

.gm-order details > summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--gm-blue);
  width: max-content; }

.gm-order__code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  color: var(--gm-text-3); }

.gm-order--on {
  background: var(--gm-info-bg);
  box-shadow: inset 4px 0 0 var(--gm-blue); }

/* legacy div-bubble-quantity-compact */
.gm-order--inactive .gm-order__title {
  color: var(--gm-text-3); }

@media (max-width: 479px) {
  .gm-order {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 4px; }

  .gm-order__cover {
    width: 60px;
    height: 90px; } }
/* ---------- 15. Product detail ------------------------------------------ */
.gm-detail {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px; }

.gm-detail__cover {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
  box-shadow: var(--gm-cover-shadow, 0 2px 8px rgba(0, 0, 0, 0.25));
  cursor: zoom-in; }

.gm-detail__buy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--gm-rule);
  border-bottom: 1px solid var(--gm-rule);
  margin: 12px 0 18px; }

.gm-detail__buy .gm-price {
  font-size: 22px; }

.gm-facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 6px 16px;
  margin: 0;
  font-size: 14px; }

.gm-facts dt {
  font-weight: 700;
  color: var(--gm-text-3); }

.gm-facts dd {
  margin: 0; }

@media (max-width: 999px) {
  .gm-detail {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px; } }
@media (max-width: 479px) {
  .gm-detail {
    grid-template-columns: minmax(0, 1fr); }

  .gm-detail__cover {
    width: 220px;
    margin: 0 auto; } }
/* ---------- 16. Account menu list ---------------------------------------- */
.gm-menulist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none; }

.gm-menulist a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: var(--gm-panel-border);
  border-radius: var(--gm-radius);
  color: var(--gm-ink);
  text-decoration: none;
  min-height: 88px; }

.gm-menulist a:hover {
  border-color: var(--gm-blue); }

.gm-menulist strong {
  font-size: 16px; }

.gm-menulist span {
  font-size: 13px;
  color: var(--gm-text-3); }

/* ---------- 17. Event hero (Black Friday, FCBD …) ------------------------ */
.gm-event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  margin: 0 0 24px;
  background: var(--gm-faint);
  border-radius: var(--gm-radius); }

.gm-event__mark {
  font-family: var(--gm-font-display);
  font-size: 34px;
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase; }

.gm-event__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800; }

.gm-event ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px; }

.gm-content .gm-event__title {
  margin-top: 0; }

.gm-event--black {
  background: var(--gm-ink);
  color: #fff; }

.gm-content .gm-event--black .gm-event__title {
  color: #fff; }

.gm-event--black .gm-event__mark {
  color: var(--gm-red-logo); }

.gm-event--black a {
  color: var(--gm-yellow); }

@media (max-width: 479px) {
  .gm-event {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px; } }
/* ---------- 18. Footer ---------------------------------------------------- */
.gm-footer {
  border-top: var(--gm-footer-rule, 1px solid var(--gm-ink));
  font-size: 14px;
  color: var(--gm-text-3); }

.gm-footer .gm-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px 32px;
  padding-top: 28px;
  padding-bottom: 32px; }

.gm-footer h2 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gm-ink); }

.gm-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px; }

.gm-footer a {
  color: var(--gm-text-2);
  text-decoration: none; }

.gm-footer a:hover {
  color: var(--gm-blue);
  text-decoration: underline; }

/* home page: the search-engine link directory, first block of the footer */
.gm-footer .gm-footer__directory {
  grid-column: 1 / -1;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gm-rule-soft); }

.gm-footer .gm-footer__dirtitle {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--gm-ink);
  text-transform: none;
  letter-spacing: 0; }

.gm-footer .gm-footer__dirlist {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 3 220px;
  column-gap: 32px;
  font-size: 13px; }

.gm-footer .gm-footer__dirlist li {
  break-inside: avoid;
  margin: 0 0 4px; }

.gm-footer .gm-footer__dirlist ul {
  display: block;
  margin: 4px 0 0;
  padding: 0 0 0 14px;
  list-style: none; }

.gm-footer .gm-footer__dirlist a {
  color: var(--gm-text-2);
  text-decoration: none; }

.gm-footer .gm-footer__dirlist a:hover {
  color: var(--gm-blue);
  text-decoration: underline; }

.gm-footer .gm-footer__dirlist .gm-muted {
  color: var(--gm-text-3); }

.gm-footer .gm-footer__dirextra {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px; }

.gm-footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px; }

.gm-footer__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--gm-rule-soft);
  font-size: 12px; }

/* inner pages: just the copyright / page id line under the single footer rule */
.gm-footer--compact .gm-wrap {
  padding-top: 0;
  padding-bottom: 0; }

.gm-footer--compact .gm-footer__legal {
  border-top: 0;
  padding: 10px 0 16px; }

.gm-main:has(+ .gm-footer--compact) {
  padding-bottom: 20px; }

.gm-footer__pageid {
  font-family: ui-monospace, Consolas, monospace; }

/* legacy "Store.35" */
/* ---------- 19. Print ---------------------------------------------------- */
@media print {
  .gm-staffbar, .gm-header, .gm-announce, .gm-tabs, .gm-actionbar, .gm-footer {
    display: none !important; } }

/*# sourceMappingURL=gm-base.css.map */
