/* Homepage design v1 — local staging. Scoped components keep existing catalog pages stable. */

.header-v1 {
  height: auto;
  grid-template-columns: max-content max-content minmax(300px, 1fr) max-content;
  gap: 18px;
  min-height: 76px;
}

.header-v1 .brand img {
  width: 42px;
  height: 42px;
  box-shadow: 0 0 24px rgb(199 255 46 / 14%);
}

.header-category-button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--lime);
  border-radius: 9px;
  color: var(--lime);
  background: rgb(199 255 46 / 4%);
  font-size: .84rem;
  font-weight: 780;
}

.header-category-button:hover,
.header-category-button.active {
  color: #071014;
  background: var(--lime);
  box-shadow: 0 0 24px rgb(199 255 46 / 18%);
}

.header-v1 .header-search {
  width: 100%;
  justify-self: stretch;
}

.header-v1 .header-actions {
  display: flex;
  width: auto;
  justify-content: flex-end;
  gap: 0;
  overflow: visible;
}

.header-v1 .header-actions > a,
.header-v1 .header-actions > span {
  position: relative;
  display: inline-grid;
  min-width: 88px;
  min-height: 46px;
  padding: 2px 14px;
  align-content: center;
  justify-items: center;
  gap: 1px;
  border-left: 1px solid var(--line-soft);
  color: #f1f4f2;
  font-size: .7rem;
  font-weight: 650;
  white-space: nowrap;
}

.header-v1 .header-actions > a {
  padding-block: 2px;
}

.header-v1 .header-actions > a::after {
  bottom: -15px;
}

.header-v1 .header-actions > :first-child {
  border-left: 0;
}

.header-v1 .header-actions > * > span:first-child,
.header-v1 .header-actions > a > span:first-child {
  color: var(--lime);
  font-size: 1.3rem;
  line-height: 1;
}

.header-action-disabled {
  cursor: default;
  opacity: .68;
}

.header-action-disabled small {
  color: #748087;
  font-size: .48rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.home-v1 {
  overflow: clip;
}

.home-v1-hero {
  position: relative;
  padding: 42px 0 22px;
  border-bottom: 1px solid rgb(255 255 255 / 4%);
  background:
    radial-gradient(circle at 61% 32%, rgb(199 255 46 / 8%), transparent 22rem),
    radial-gradient(circle at 82% 36%, rgb(0 217 230 / 6%), transparent 24rem),
    linear-gradient(180deg, #071014 0%, #050b0e 100%);
}

.home-v1-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(199 255 46 / 2.4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(199 255 46 / 2.4%) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  mask-image: linear-gradient(90deg, transparent 18%, black 55%, transparent 94%);
  pointer-events: none;
}

.home-v1-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 470px);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
}

.home-v1-hero-copy h1 {
  max-width: 760px;
  margin: 8px 0 12px;
  font-size: clamp(3.1rem, 5.2vw, 5.7rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.home-v1-hero-copy h1 span {
  color: var(--lime-bright);
  text-shadow: 0 0 34px rgb(184 255 0 / 14%);
}

.home-v1-hero-copy > p {
  max-width: 670px;
  margin: 0;
  color: #c7cfd2;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.55;
}

.home-v1-search {
  display: grid;
  max-width: 700px;
  margin-top: 24px;
  grid-template-columns: 1fr max-content;
  overflow: hidden;
  border: 1px solid #3b494f;
  border-radius: 10px;
  background: rgb(5 9 11 / 82%);
  box-shadow: 0 18px 46px rgb(0 0 0 / 22%);
}

.home-v1-search:focus-within {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgb(199 255 46 / 8%), 0 18px 46px rgb(0 0 0 / 22%);
}

.home-v1-search input,
.home-v1-search button {
  min-height: 52px;
  border: 0;
}

.home-v1-search input {
  min-width: 0;
  padding: 0 19px;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.home-v1-search input::placeholder {
  color: #828e94;
}

.home-v1-search button {
  padding: 0 22px;
  cursor: pointer;
  color: #071014;
  background: var(--lime);
  font-weight: 850;
}

.home-v1-search button span {
  margin-left: 8px;
  font-size: 1.25rem;
}

.home-v1-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 24px;
}

.home-v1-proof > span {
  display: grid;
  grid-template-columns: 34px max-content;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 9px;
}

.home-v1-proof i {
  display: grid;
  width: 34px;
  height: 34px;
  grid-row: 1 / 3;
  place-items: center;
  border: 1px solid var(--lime);
  border-radius: 50%;
  color: var(--lime);
  font-style: normal;
}

.home-v1-proof b {
  font-size: .76rem;
}

.home-v1-proof small {
  color: var(--muted);
  font-size: .62rem;
}

.home-v1-radar {
  position: relative;
  display: grid;
  width: min(100%, 430px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(199 255 46 / 10%) 0, rgb(199 255 46 / 2%) 42%, transparent 70%);
  filter: drop-shadow(0 0 24px rgb(199 255 46 / 10%));
}

.home-v1-radar::before,
.home-v1-radar::after {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  content: "";
  opacity: .72;
}

.home-v1-radar::before {
  width: 88%;
  height: 1px;
}

.home-v1-radar::after {
  width: 1px;
  height: 88%;
}

.home-v1-radar-grid {
  position: absolute;
  width: 82%;
  height: 82%;
  border: 1px solid rgb(199 255 46 / 38%);
  border-radius: 50%;
  background: conic-gradient(from 220deg, transparent 0 34%, rgb(199 255 46 / 14%) 36% 49%, transparent 51% 100%);
  animation: home-radar-sweep 8s linear infinite;
}

.home-v1-radar-ring {
  position: absolute;
  border: 1px solid rgb(199 255 46 / 32%);
  border-radius: 50%;
}

.home-v1-radar-ring.ring-one { width: 62%; height: 62%; }
.home-v1-radar-ring.ring-two { width: 42%; height: 42%; }
.home-v1-radar-ring.ring-three { width: 22%; height: 22%; }

.home-v1-radar b {
  position: relative;
  z-index: 2;
  color: var(--lime);
  font-size: 5.5rem;
  line-height: 1;
  text-shadow: 0 0 28px rgb(199 255 46 / 45%);
}

.home-v1-radar small {
  position: absolute;
  bottom: 6%;
  color: #77858b;
  font-size: .56rem;
  font-weight: 780;
  letter-spacing: .16em;
}

@keyframes home-radar-sweep {
  to { transform: rotate(360deg); }
}

.home-v1-quick-grid {
  position: relative;
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-v1-quick {
  display: grid;
  min-height: 154px;
  padding: 16px;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto 1fr auto;
  align-items: center;
  column-gap: 12px;
  overflow: hidden;
  border: 1px solid #344249;
  border-radius: 12px;
  background: linear-gradient(145deg, rgb(17 26 31 / 95%), rgb(8 14 18 / 96%));
  box-shadow: 0 14px 34px rgb(0 0 0 / 22%);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.home-v1-quick:hover {
  border-color: var(--lime);
  box-shadow: 0 16px 40px rgb(0 0 0 / 30%), 0 0 22px rgb(199 255 46 / 8%);
  transform: translateY(-3px);
}

.home-v1-quick > i {
  display: grid;
  width: 48px;
  height: 48px;
  grid-row: 1 / 4;
  place-items: center;
  color: var(--lime);
  font-size: 2.25rem;
  font-style: normal;
}

.home-v1-quick > b {
  color: var(--lime);
  font-size: .88rem;
}

.home-v1-quick > span {
  align-self: start;
  color: #a8b1b5;
  font-size: .68rem;
  line-height: 1.35;
}

.home-v1-quick > em {
  display: flex;
  min-height: 30px;
  padding: 0 10px;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
  color: #071014;
  background: var(--lime);
  font-size: .68rem;
  font-style: normal;
  font-weight: 850;
}

.home-v1-quick-cyan > i,
.home-v1-quick-cyan > b { color: var(--cyan); }
.home-v1-quick-cyan > em { background: var(--cyan); }
.home-v1-quick-danger > i,
.home-v1-quick-danger > b { color: var(--red); }
.home-v1-quick-danger > em { color: #fff; background: var(--red); }
.home-v1-quick-hot > i,
.home-v1-quick-hot > b { color: #f7e22c; }
.home-v1-quick-hot > em { background: #f7e22c; }

.home-v1-section-head {
  display: flex;
  min-height: 48px;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.home-v1-section-head > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.home-v1-section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -.035em;
}

.home-v1-section-head small {
  color: var(--muted);
  font-size: .66rem;
}

.home-v1-section-head > a {
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 700;
}

.home-v1-section-head > a span {
  margin-left: 8px;
  color: var(--lime);
  font-size: 1.1rem;
}

.home-v1-kicker {
  width: 100%;
  color: var(--lime);
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .15em;
}

.home-v1-categories,
.home-v1-deals,
.home-v1-how,
.home-v1-community,
.home-v1-trust {
  padding-top: 28px;
}

.home-v1-category-strip {
  display: grid;
  margin-top: 12px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0b1317;
}

.home-v1-category-strip > a,
.home-v1-category-strip > span {
  position: relative;
  display: grid;
  min-height: 104px;
  padding: 13px 5px;
  place-items: center;
  align-content: center;
  gap: 7px;
  border-right: 1px solid var(--line-soft);
  color: #bac4c8;
  font-size: .67rem;
  text-align: center;
}

.home-v1-category-strip > :last-child {
  border-right: 0;
}

.home-v1-category-strip i {
  color: #aeb9be;
  font-size: 1.7rem;
  font-style: normal;
}

.home-v1-category-strip > a:hover {
  color: var(--lime);
  background: rgb(199 255 46 / 5%);
}

.home-v1-category-strip > a:hover i {
  color: var(--lime);
}

.home-v1-category-disabled {
  opacity: .48;
}

.home-v1-category-disabled small {
  position: absolute;
  top: 5px;
  right: 5px;
  color: #7f8c91;
  font-size: .43rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-v1-live {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgb(199 255 46 / 75%);
}

.home-v1-deals .home-deal-grid {
  margin-top: 12px;
}

.home-v1-deals .deal-card {
  background: linear-gradient(145deg, #111a1f, #0a1115);
}

.home-v1-deals .deal-image {
  height: 172px;
}

.home-v1-deals .deal-body {
  min-height: 178px;
}

.home-v1-deals .deal-cta {
  color: #071014;
  border-color: var(--lime);
  background: var(--lime);
}

.home-v1-how {
  padding-bottom: 0;
}

.home-v1-how-grid {
  display: grid;
  margin-top: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #091115;
}

.home-v1-how-grid article {
  display: grid;
  min-height: 138px;
  padding: 22px;
  grid-template-columns: 34px 48px 1fr;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--line-soft);
}

.home-v1-how-grid article:last-child {
  border-right: 0;
}

.home-v1-how-grid article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--lime);
  border-radius: 50%;
  color: var(--lime);
  font-weight: 850;
}

.home-v1-how-grid article > i {
  color: var(--cyan);
  font-size: 2.2rem;
  font-style: normal;
}

.home-v1-how-grid b {
  font-size: .92rem;
}

.home-v1-how-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.45;
}

.home-v1-community {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.home-v1-community article {
  display: grid;
  min-height: 158px;
  padding: 24px;
  grid-template-columns: 64px 1fr max-content;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.home-v1-community article > i {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #22d2e2, #078a9c);
  box-shadow: 0 0 30px rgb(0 217 230 / 25%);
  font-size: 2rem;
  font-style: normal;
}

.home-v1-community h2 {
  margin: 3px 0 5px;
  font-size: 1.25rem;
}

.home-v1-community p {
  margin: 0;
  color: #aab4b8;
  font-size: .72rem;
  line-height: 1.45;
}

.home-v1-community article > a,
.home-v1-stage {
  display: inline-flex;
  min-height: 38px;
  padding: 0 16px;
  align-items: center;
  gap: 12px;
  border-radius: 7px;
  color: #071014;
  background: var(--cyan);
  font-size: .72rem;
  font-weight: 850;
}

.home-v1-account {
  background: linear-gradient(135deg, rgb(199 255 46 / 7%), rgb(8 21 19 / 92%));
}

.home-v1-account > i {
  color: var(--lime) !important;
  border: 1px solid var(--lime);
  background: rgb(199 255 46 / 5%) !important;
  box-shadow: 0 0 30px rgb(199 255 46 / 13%) !important;
}

.home-v1-stage {
  color: var(--lime);
  border: 1px solid var(--lime);
  background: transparent;
}

.home-v1-trust {
  padding-bottom: 38px;
}

.home-v1-trust-grid {
  display: grid;
  margin-top: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #091115;
}

.home-v1-trust-grid article {
  display: grid;
  min-height: 150px;
  padding: 22px;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto 1fr;
  align-content: center;
  column-gap: 12px;
  border-right: 1px solid var(--line-soft);
}

.home-v1-trust-grid article:last-child {
  border-right: 0;
}

.home-v1-trust-grid i {
  display: grid;
  width: 40px;
  height: 40px;
  grid-row: 1 / 3;
  place-items: center;
  color: var(--lime);
  border: 1px solid var(--lime);
  border-radius: 50%;
  font-style: normal;
}

.home-v1-trust-grid b {
  font-size: .82rem;
}

.home-v1-trust-grid p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.45;
}

.home-v1-bottom-nav {
  display: none;
}

.footer-v1 {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, minmax(0, 1fr));
  gap: 36px;
}

.footer-v1 > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-v1 > div > span:first-child {
  margin-bottom: 4px;
  color: var(--text);
  font-size: .72rem;
  font-weight: 800;
}

.footer-v1 .footer-brand .brand {
  margin-bottom: 4px;
  color: var(--text);
}

.footer-v1 .footer-brand .brand img {
  width: 32px;
  height: 32px;
}

.footer-v1 p {
  margin: 0;
  line-height: 1.55;
}

.footer-disabled {
  color: #657178 !important;
}

.footer-bottom {
  display: flex;
  padding: 14px 0 22px;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line-soft);
  color: #647077;
  font-size: .64rem;
}

@media (max-width: 1320px) {
  .header-v1 {
    grid-template-columns: max-content max-content 1fr;
    grid-template-rows: auto auto;
    row-gap: 6px;
    padding-top: 8px;
  }

  .header-v1 .header-actions {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
    border-top: 1px solid var(--line-soft);
  }

  .header-v1 .header-actions > a,
  .header-v1 .header-actions > span {
    min-width: 130px;
  }

  .home-v1-hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .home-v1-category-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .home-v1-category-strip > :nth-child(6) {
    border-right: 0;
  }

  .home-v1-category-strip > :nth-child(-n+6) {
    border-bottom: 1px solid var(--line-soft);
  }

  .footer-v1 {
    grid-template-columns: 1.5fr repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .header-v1 {
    grid-template-columns: max-content max-content 1fr;
    padding: 10px 0;
  }

  .header-v1 .header-actions {
    display: none;
  }

  .home-v1-hero-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .home-v1-radar {
    width: 300px;
  }

  .home-v1-quick-grid {
    grid-template-columns: repeat(5, 220px);
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .home-v1-quick {
    scroll-snap-align: start;
  }

  .home-v1-how-grid,
  .home-v1-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-v1-how-grid article:nth-child(2) {
    border-right: 0;
  }

  .home-v1-how-grid article:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-soft);
  }

  .home-v1-community {
    grid-template-columns: 1fr;
  }

  .home-v1-trust-grid article:nth-child(2) {
    border-right: 0;
  }

  .home-v1-trust-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 720px) {
  .header-v1 {
    grid-template-columns: 1fr max-content;
    grid-template-rows: auto auto;
    gap: 9px 12px;
    padding: 9px 0;
  }

  .header-v1 .brand {
    min-width: 0;
  }

  .header-v1 .brand img {
    width: 36px;
    height: 36px;
  }

  .header-v1 .brand span {
    font-size: .92rem;
  }

  .header-category-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: .72rem;
  }

  .header-v1 .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    border-radius: 8px;
  }

  .header-v1 .header-search input {
    padding-left: 14px;
    font-size: .78rem;
  }

  .home-v1-hero {
    padding: 30px 0 18px;
  }

  .home-v1-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-v1-hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .home-v1-radar {
    display: none;
  }

  .home-v1-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-v1-quick-grid {
    margin-top: 24px;
  }

  .home-v1-category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-v1-category-strip > :nth-child(n) {
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }

  .home-v1-category-strip > :nth-child(3n) {
    border-right: 0;
  }

  .home-v1-category-strip > :nth-last-child(-n+3) {
    border-bottom: 0;
  }

  .home-v1-section-head {
    align-items: end;
  }

  .home-v1-how-grid,
  .home-v1-trust-grid {
    grid-template-columns: 1fr;
  }

  .home-v1-how-grid article:nth-child(n),
  .home-v1-trust-grid article:nth-child(n) {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .home-v1-how-grid article:last-child,
  .home-v1-trust-grid article:last-child {
    border-bottom: 0;
  }

  .home-v1-community article {
    grid-template-columns: 54px 1fr;
    padding: 20px;
  }

  .home-v1-community article > i {
    width: 54px;
    height: 54px;
  }

  .home-v1-community article > a,
  .home-v1-community .home-v1-stage {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .home-v1-bottom-nav {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: hidden;
    border: 1px solid #35434a;
    border-radius: 13px;
    background: rgb(5 10 13 / 94%);
    box-shadow: 0 18px 45px rgb(0 0 0 / 55%);
    backdrop-filter: blur(16px);
  }

  .home-v1-bottom-nav > a,
  .home-v1-bottom-nav > span {
    position: relative;
    display: grid;
    min-height: 62px;
    place-items: center;
    align-content: center;
    gap: 2px;
    color: #c4cdd0;
    font-size: .55rem;
  }

  .home-v1-bottom-nav > a.active {
    color: var(--lime);
  }

  .home-v1-bottom-nav i {
    font-size: 1.12rem;
    font-style: normal;
  }

  .home-v1-bottom-nav small {
    color: #69757a;
    font-size: .4rem;
    text-transform: uppercase;
  }

  .home-v1-bottom-nav > span {
    opacity: .48;
  }

  body footer {
    padding-bottom: 86px;
  }

  .footer-v1 {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-v1 .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .home-v1-hero-copy h1 {
    font-size: 3rem;
  }

  .home-v1-search {
    grid-template-columns: 1fr 50px;
  }

  .home-v1-search button {
    padding: 0;
    font-size: 0;
  }

  .home-v1-search button span {
    margin: 0;
    font-size: 1.4rem;
  }

  .home-v1-section-head > a {
    max-width: 110px;
    text-align: right;
  }

  .home-v1-category-strip > a,
  .home-v1-category-strip > span {
    min-height: 94px;
  }

  .home-v1-how-grid article {
    padding: 18px 14px;
    grid-template-columns: 32px 38px 1fr;
    gap: 10px;
  }

  .home-v1-community article {
    grid-template-columns: 1fr;
  }

  .home-v1-community article > i {
    display: none;
  }

  .footer-v1 {
    grid-template-columns: 1fr;
  }

  .footer-v1 .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-v1-radar-grid {
    animation: none;
  }

  .home-v1-quick,
  .deal-card {
    transition: none;
  }
}

/* Four-level catalog taxonomy sourced from category-taxonomy-v1. */
.expanded-taxonomy-sidebar {
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #48565d transparent;
}

.expanded-taxonomy-sidebar nav a {
  min-height: 50px;
  font-size: .76rem;
}

.expanded-taxonomy-sidebar nav small {
  color: #667279;
}

.expanded-root-grid,
.expanded-node-grid {
  align-items: stretch;
}

.expanded-taxonomy-card,
.expanded-taxonomy-card .taxonomy-card-copy {
  min-height: 300px;
}

.expanded-taxonomy-card .taxonomy-card-copy {
  background:
    radial-gradient(circle at 91% 84%, rgb(0 217 230 / 10%), transparent 35%),
    linear-gradient(145deg, rgb(15 24 29 / 96%), rgb(7 13 16 / 98%));
}

.expanded-taxonomy-card .taxonomy-level-label {
  color: var(--cyan);
  font-size: .52rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.taxonomy-card-meta {
  display: flex;
  width: 100%;
  margin-top: 10px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.taxonomy-card-count {
  color: var(--lime);
  font-size: .62rem;
  font-weight: 800;
  white-space: nowrap;
}

.expanded-taxonomy-card p,
.expanded-taxonomy-card ul {
  width: 100%;
  max-width: none;
}

.expanded-taxonomy-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.taxonomy-terminal {
  color: #758188;
  font-size: .68rem;
  line-height: 1.4;
}

.expanded-taxonomy-heading {
  display: flex;
  min-height: 76px;
  padding: 14px 18px 0;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.expanded-taxonomy-heading h2 {
  margin: 5px 0 0;
  font-size: 1.35rem;
}

.expanded-taxonomy-heading > span {
  color: var(--muted);
  font-size: .68rem;
}

.expanded-taxonomy-terminal {
  display: grid;
  min-height: 160px;
  padding: 30px;
  place-content: center;
  gap: 8px;
  border: 1px dashed #405058;
  border-radius: 9px;
  color: var(--text);
  text-align: center;
}

.expanded-taxonomy-terminal span {
  color: var(--muted);
  font-size: .75rem;
}

.expanded-taxonomy-products {
  padding-top: 20px;
}

.expanded-products-empty {
  display: grid;
  min-height: 150px;
  margin-top: 12px;
  padding: 24px;
  place-content: center;
  justify-items: center;
  border: 1px dashed #435159;
  border-radius: 9px;
  background: rgb(255 255 255 / 1.5%);
  text-align: center;
}

.expanded-products-empty b {
  color: var(--lime);
  font-size: 1.35rem;
}

.expanded-products-empty p {
  max-width: 680px;
  margin: 7px 0 15px;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.5;
}

.expanded-products-empty a {
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 750;
}

@media (max-width: 1020px) {
  .expanded-taxonomy-sidebar {
    max-height: none;
    overflow: hidden;
  }

  .expanded-taxonomy-sidebar nav a {
    min-width: 190px;
  }
}

@media (max-width: 520px) {
  .expanded-taxonomy-heading {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 2px;
  }

  .expanded-taxonomy-card,
  .expanded-taxonomy-card .taxonomy-card-copy {
    min-height: 280px;
  }
}
