:root {
  --tm-obsidian: #0a0a0a;
  --tm-steel: #171a1f;
  --tm-steel-hi: #22262d;
  --tm-gold: #d6a84b;
  --tm-hourglass: #ffd98a;
  --tm-rift: #6bc7ff;
  --tm-red: #c41e1e;
  --tm-muted: #9ba1aa;
}

.product-card.time-money-card {
  overflow: visible;
  content-visibility: visible;
}

.product-card.time-money-card:hover,
.product-card.time-money-card:focus-within {
  z-index: 30;
}

.tm-shop-preview {
  position: relative;
  margin-top: 10px;
  border: 1px solid rgba(214, 168, 75, .48);
  border-radius: 7px;
  background: rgba(10, 10, 10, .84);
}

.tm-preview-toggle {
  position: relative;
  width: 100%;
  padding: 9px 34px 9px 12px;
  border: 0;
  background: transparent;
  color: var(--tm-hourglass);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .45px;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
}

.tm-preview-toggle::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--tm-rift);
  font-size: 1rem;
  transform: translateY(-50%);
}

.tm-preview-toggle[aria-expanded="true"]::after {
  content: "−";
}

.tm-preview-toggle:focus-visible,
.tm-full-toggle:focus-visible,
.tm-preview-link:focus-visible,
.tm-filter:focus-visible,
.tm-machine-entries > summary:focus-visible,
.tm-primary-action:focus-visible,
.tm-secondary-action:focus-visible {
  outline: 2px solid var(--tm-rift);
  outline-offset: 3px;
}

.tm-shop-preview__panel {
  position: static;
  width: auto;
  padding: 17px;
  border: 1px solid rgba(214, 168, 75, .72);
  border-radius: 10px;
  background:
    linear-gradient(125deg, rgba(107, 199, 255, .08), transparent 34%),
    radial-gradient(circle at 82% 0, rgba(214, 168, 75, .15), transparent 38%),
    #0b0d10;
  box-shadow: 0 22px 56px rgba(0, 0, 0, .78), 0 0 30px rgba(214, 168, 75, .12);
}

.tm-shop-preview [hidden] {
  display: none !important;
}

.tm-delivery-notice {
  margin: 10px 0;
  padding: 10px 11px;
  border-left: 3px solid var(--tm-rift);
  border-radius: 4px;
  background: rgba(107, 199, 255, .08);
  color: #d9eaf4;
  font-size: .68rem;
  line-height: 1.45;
}

.tm-full-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid rgba(107, 199, 255, .45);
  border-radius: 5px;
  background: rgba(107, 199, 255, .08);
  color: var(--tm-rift);
  font: inherit;
  font-size: .68rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.tm-full-panel {
  padding: 0 17px 17px;
}

.tm-full-list {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.tm-full-group {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 5px;
  background: rgba(23, 26, 31, .72);
}

.tm-full-group__ordinal {
  color: var(--tm-gold);
  font-size: .65rem;
  font-weight: 800;
}

.tm-full-group__copy strong,
.tm-full-group__copy small {
  display: block;
}

.tm-full-group__copy strong {
  color: #f2eee4;
  font-size: .68rem;
}

.tm-full-group__copy small {
  margin-top: 2px;
  color: var(--tm-muted);
  font-size: .58rem;
  line-height: 1.3;
}

.tm-preview-heading,
.tm-preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tm-preview-heading {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(214, 168, 75, .22);
}

.tm-preview-heading span {
  color: var(--tm-rift);
  font-size: .66rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.tm-preview-heading strong {
  color: var(--tm-hourglass);
  font-size: .82rem;
}

.tm-time-rail {
  position: relative;
}

.tm-featured-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-featured-list::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 6px;
  width: 1px;
  background: linear-gradient(var(--tm-rift), var(--tm-gold), var(--tm-red));
  box-shadow: 0 0 9px rgba(107, 199, 255, .5);
}

.tm-featured-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 54px;
  gap: 9px;
  padding: 7px 8px 7px 17px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 7px;
  background: rgba(23, 26, 31, .88);
}

.tm-rail-node {
  position: absolute;
  left: 2px;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid var(--tm-hourglass);
  border-radius: 50%;
  background: var(--tm-obsidian);
  box-shadow: 0 0 8px rgba(255, 217, 138, .72);
  transform: translateY(-50%);
}

.tm-featured-icon,
.tm-catalog-icon {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(214, 168, 75, .32);
  background: #08090b;
}

.tm-featured-icon {
  width: 42px;
  height: 42px;
  border-radius: 6px;
}

.tm-featured-icon img,
.tm-catalog-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tm-featured-icon--glyph,
.tm-catalog-icon--glyph {
  color: var(--tm-hourglass);
}

.tm-featured-copy {
  min-width: 0;
}

.tm-featured-copy strong,
.tm-featured-copy small {
  display: block;
}

.tm-featured-copy strong {
  overflow: hidden;
  color: #f2eee4;
  font-size: .72rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-featured-copy small {
  overflow: hidden;
  margin-top: 3px;
  color: var(--tm-muted);
  font-size: .61rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--tm-hourglass);
  white-space: nowrap;
}

.tm-price small {
  margin-bottom: 2px;
  color: #787e88;
  font-size: .53rem;
  font-weight: 500;
}

.tm-price strong {
  font-size: .72rem;
}

.tm-price--exclusive {
  max-width: 94px;
  color: var(--tm-rift);
  font-size: .62rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
  white-space: normal;
}

.tm-preview-footer {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(214, 168, 75, .22);
  color: var(--tm-muted);
  font-size: .68rem;
}

.tm-preview-footer strong {
  color: var(--tm-hourglass);
}

.tm-preview-link {
  color: var(--tm-hourglass) !important;
  font-weight: 800;
  text-decoration: none;
}

.tm-preview-link:hover {
  color: #fff2c9 !important;
}

@media (min-width: 721px) {
  .product-card.time-money-card .tm-shop-preview__panel {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    z-index: 60;
    width: min(680px, calc(100vw - 40px));
  }
}

.tm-preview-error {
  margin: 10px 0 0;
  color: #d7b7b7;
  font-size: .68rem;
}

/* Dedicated catalog page */
.tm-page {
  min-height: 100vh;
  margin: 0;
  color: #e8e8e8;
  background:
    radial-gradient(circle at 50% -10%, rgba(214, 168, 75, .08), transparent 35%),
    var(--tm-obsidian);
}

.tm-page *,
.tm-page *::before,
.tm-page *::after {
  box-sizing: border-box;
}

.tm-page a {
  color: var(--tm-gold);
}

.tm-page .nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: 70px;
  border-bottom: 1px solid rgba(196, 30, 30, .72);
  background: rgba(10, 10, 10, .94);
}

.tm-page .nav::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: repeating-linear-gradient(-45deg, var(--tm-gold) 0 5px, transparent 5px 10px);
}

.tm-page .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.tm-page .nav-logo {
  flex: 0 0 auto;
  color: var(--tm-red);
  font-family: var(--font-display, "Russo One", Impact, sans-serif);
  font-size: clamp(1.25rem, 1.6vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 2px;
  text-decoration: none;
}

.tm-page .nav-links {
  display: flex;
  align-items: center;
  gap: clamp(9px, 1.1vw, 20px);
}

.tm-page .nav-links a {
  color: #8e949d;
  font-size: clamp(.66rem, .7vw, .8rem);
  text-decoration: none;
  white-space: nowrap;
}

.tm-page .nav-links a:hover,
.tm-page .nav-links a.active {
  color: var(--tm-red);
}

.tm-page .nav-burger {
  display: none;
  padding: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.tm-page .nav-burger span {
  display: block;
  width: 27px;
  height: 2px;
  margin: 5px 0;
  background: var(--tm-red);
}

.tm-page .nav-mobile {
  display: none;
}

.tm-pack-main {
  padding-top: 70px;
}

.tm-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  min-height: 500px;
  overflow: hidden;
  border-bottom: 1px solid rgba(214, 168, 75, .22);
  background:
    linear-gradient(90deg, #08090b 0%, rgba(8, 9, 11, .95) 43%, rgba(8, 9, 11, .34) 72%, #08090b 100%),
    url("../img/shop/wargm_offer_990009.webp?v=1F8F4895F0F2C6D1C6F72593D87B2446EB2F36E9D273EA20F66B09ACBC8AC4B1") right 28% center / min(52vw, 720px) auto no-repeat;
}

.tm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-conic-gradient(from 0deg at 76% 50%, rgba(214, 168, 75, .08) 0 1deg, transparent 1deg 15deg),
    radial-gradient(circle at 76% 50%, transparent 0 18%, rgba(107, 199, 255, .08) 18.2% 18.6%, transparent 19% 30%, rgba(214, 168, 75, .09) 30.2% 30.6%, transparent 31%);
  mask-image: linear-gradient(90deg, transparent 32%, #000 72%);
}

.tm-hero__content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 760px;
  padding: clamp(54px, 8vw, 112px) clamp(22px, 6vw, 92px);
}

.tm-eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 16px;
  color: var(--tm-rift);
  font-size: .76rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tm-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--tm-rift);
  box-shadow: 0 0 8px var(--tm-rift);
}

.tm-hero h1 {
  max-width: 690px;
  margin: 0;
  color: var(--tm-hourglass);
  font-family: var(--font-display, "Russo One", Impact, sans-serif);
  font-size: clamp(2.25rem, 5.4vw, 5.4rem);
  line-height: .98;
  letter-spacing: .5px;
  text-shadow: 0 0 28px rgba(214, 168, 75, .22);
}

.tm-hero__lead {
  max-width: 670px;
  margin: 22px 0 0;
  color: #aeb2b9;
  font-size: clamp(.92rem, 1.4vw, 1.08rem);
  line-height: 1.65;
}

.tm-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.tm-hero__facts li {
  min-width: 128px;
  padding: 10px 13px;
  border-left: 2px solid var(--tm-gold);
  background: rgba(23, 26, 31, .78);
}

.tm-hero__facts strong,
.tm-hero__facts span {
  display: block;
}

.tm-hero__facts strong {
  color: #f8f0db;
  font-size: 1.05rem;
}

.tm-hero__facts span {
  margin-top: 2px;
  color: #777e88;
  font-size: .64rem;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.tm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.tm-primary-action,
.tm-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: 800;
  text-decoration: none;
}

.tm-primary-action {
  color: #120e06 !important;
  background: linear-gradient(135deg, var(--tm-hourglass), var(--tm-gold));
}

.tm-secondary-action {
  border: 1px solid rgba(107, 199, 255, .45);
  color: var(--tm-rift) !important;
  background: rgba(107, 199, 255, .05);
}

.tm-policy-note {
  width: 100%;
  margin: 0;
  color: #878d96;
  font-size: .72rem;
}

.tm-catalog-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) 22px 90px;
}

.tm-catalog-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.tm-catalog-header h2 {
  margin: 4px 0 0;
  color: #f2eee4;
  font-size: clamp(1.7rem, 3.3vw, 3rem);
}

.tm-catalog-header p {
  max-width: 620px;
  margin: 10px 0 0;
  color: #858b94;
}

.tm-catalog-seal {
  padding: 10px 13px;
  border: 1px solid rgba(107, 199, 255, .32);
  color: var(--tm-rift);
  font-size: .67rem;
  letter-spacing: .7px;
}

.tm-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.tm-filter {
  padding: 8px 12px;
  border: 1px solid #2c3037;
  border-radius: 999px;
  color: #9ba1aa;
  background: #111317;
  font: inherit;
  font-size: .72rem;
  cursor: pointer;
}

.tm-filter:hover {
  border-color: rgba(214, 168, 75, .66);
  color: #ede5d3;
}

.tm-filter.is-active {
  border-color: var(--tm-gold);
  color: #171006;
  background: var(--tm-hourglass);
}

.tm-status {
  margin: 0 0 24px;
  color: #6f7680;
  font-size: .72rem;
}

.tm-catalog-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 34px;
  padding-left: 23px;
}

.tm-catalog-grid::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 7px;
  width: 1px;
  background: linear-gradient(var(--tm-rift), var(--tm-gold) 45%, var(--tm-red));
  box-shadow: 0 0 12px rgba(107, 199, 255, .38);
}

.tm-catalog-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: start;
  gap: 15px;
  min-height: 132px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 8px;
  background:
    linear-gradient(110deg, rgba(107, 199, 255, .035), transparent 35%),
    var(--tm-steel);
}

.tm-catalog-card:hover,
.tm-catalog-card:focus-within {
  border-color: rgba(214, 168, 75, .4);
  background-color: var(--tm-steel-hi);
}

.tm-catalog-card > .tm-rail-node {
  left: -20px;
}

.tm-catalog-card__ordinal {
  position: absolute;
  top: 8px;
  right: 10px;
  color: rgba(214, 168, 75, .22);
  font-size: 1.15rem;
  font-weight: 800;
}

.tm-catalog-icon {
  width: 70px;
  height: 70px;
  border-radius: 8px;
}

.tm-catalog-copy {
  min-width: 0;
}

.tm-catalog-filter {
  margin: 0 0 5px !important;
  color: var(--tm-rift) !important;
  font-size: .58rem !important;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.tm-catalog-copy h2 {
  max-width: calc(100% - 26px);
  margin: 0;
  color: #eee9dd;
  font-size: .9rem;
  line-height: 1.25;
}

.tm-catalog-copy > p:not(.tm-catalog-filter) {
  margin: 7px 0 0;
  color: #8c929c;
  font-size: .68rem;
  line-height: 1.45;
}

.tm-catalog-details {
  margin-top: 11px;
}

.tm-catalog-details > span {
  display: block;
  color: var(--tm-gold);
  font-size: .6rem;
  letter-spacing: .65px;
  text-transform: uppercase;
}

.tm-catalog-details ul {
  display: grid;
  gap: 5px;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.tm-catalog-details li {
  position: relative;
  padding-left: 12px;
  color: #a5abb4;
  font-size: .66rem;
  line-height: 1.42;
}

.tm-catalog-details li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--tm-gold);
  font-size: .48rem;
}

.tm-catalog-price {
  align-self: end;
  padding-top: 26px;
}

.tm-catalog-price .tm-price strong {
  font-size: .82rem;
}

.tm-machine-entries {
  margin-top: 10px;
  color: #777e88;
  font-size: .62rem;
}

.tm-machine-entries > summary {
  width: max-content;
  max-width: 100%;
  color: #a8aeb6;
  cursor: pointer;
}

.tm-machine-entries ul {
  display: grid;
  gap: 4px;
  max-height: 180px;
  margin: 8px 0 0;
  padding: 8px;
  overflow: auto;
  border: 1px solid #2a2e34;
  list-style: none;
  background: #0d0f12;
}

.tm-machine-entries li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.tm-machine-entries code {
  overflow-wrap: anywhere;
  color: #bec4cb;
}

.tm-machine-entries span {
  flex: 0 0 auto;
  color: var(--tm-hourglass);
}

.tm-load-error {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px solid rgba(196, 30, 30, .5);
  color: #d6b4b4;
  text-align: center;
  background: rgba(196, 30, 30, .06);
}

.tm-page-footer {
  padding: 28px 22px;
  border-top: 1px solid #24272d;
  color: #707680;
  font-size: .72rem;
  text-align: center;
  background: #08090b;
}

@media (max-width: 980px) {
  .tm-hero {
    grid-template-columns: 1fr;
    min-height: 470px;
    background:
      linear-gradient(90deg, rgba(8, 9, 11, .98), rgba(8, 9, 11, .75)),
      url("../img/shop/wargm_offer_990009.webp?v=1F8F4895F0F2C6D1C6F72593D87B2446EB2F36E9D273EA20F66B09ACBC8AC4B1") right center / auto 100% no-repeat;
  }

  .tm-catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .tm-page .nav-links {
    display: none;
  }

  .tm-page .nav-burger {
    display: block;
  }

  .tm-page .nav-mobile {
    position: fixed;
    inset: 70px 0 0;
    z-index: 999;
    flex-direction: column;
    gap: 0;
    overflow: auto;
    padding: 18px 22px 36px;
    background: rgba(8, 9, 11, .98);
  }

  .tm-page .nav-mobile.open {
    display: flex;
  }

  .tm-page .nav-mobile a {
    padding: 12px 8px;
    border-bottom: 1px solid #24272d;
    color: #b3b7be;
    text-decoration: none;
  }

  .tm-page .nav-mobile a.active {
    color: var(--tm-red);
  }
}

@media (max-width: 720px) {
  .product-card.time-money-card {
    overflow: hidden;
  }

  .tm-shop-preview__panel {
    position: static;
    width: auto;
    padding: 12px;
    border-width: 1px 0 0;
    border-radius: 0 0 7px 7px;
    box-shadow: none;
  }

  .tm-featured-list {
    grid-template-columns: 1fr;
  }

  .tm-featured-copy strong,
  .tm-featured-copy small {
    white-space: normal;
  }

  .tm-preview-heading,
  .tm-preview-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .tm-pack-main {
    padding-top: 70px;
  }

  .tm-hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(8, 9, 11, .74), #08090b 66%),
      url("../img/shop/wargm_offer_990009.webp?v=1F8F4895F0F2C6D1C6F72593D87B2446EB2F36E9D273EA20F66B09ACBC8AC4B1") top center / 100% auto no-repeat;
  }

  .tm-hero__content {
    padding-top: 180px;
  }

  .tm-catalog-header {
    grid-template-columns: 1fr;
  }

  .tm-catalog-seal {
    width: max-content;
  }

  .tm-catalog-card {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .tm-catalog-icon {
    width: 58px;
    height: 58px;
  }

  .tm-catalog-price {
    grid-column: 2;
    justify-self: start;
    padding-top: 0;
  }

  .tm-catalog-price .tm-price {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-shop-preview *,
  .tm-page * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
