:root {
  --ink: #10110f;
  --muted: #5b6680;
  --line: #dce6f7;
  --paper: #f6f9ff;
  --card: #ffffff;
  --lime: #c8ff00;
  --blue: #1667ff;
  --blue-dark: #071a48;
  --violet: #6757ff;
  --cyan: #eaf6ff;
  --dark: #071327;
  --shadow: 0 22px 60px rgba(22, 62, 130, .15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(38, 132, 255, .16), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(103, 87, 255, .16), transparent 26rem),
    linear-gradient(180deg, #f7fbff 0, #eef6ff 46%, #f7f9ff 100%);
  font-family: Arial, Helvetica, sans-serif;
}

.top-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 16px;
  color: #123067;
  background: #dff1ff;
  border-bottom: 1px solid #bad8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .03em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  overflow-x: auto;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark strong {
  font-size: clamp(21px, 2vw, 30px);
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.brand-dot {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--ink);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  padding: 9px 12px;
  color: #252a22;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.section-block,
.category-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: 410px;
  margin: 0;
  padding: clamp(30px, 4.2vw, 52px) clamp(24px, 5vw, 64px);
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 255, 0, .18), transparent 18rem),
    linear-gradient(135deg, #0d4de8 0%, #112f8f 54%, #624bff 100%);
  border-radius: 0;
  box-shadow: 0 28px 70px rgba(16, 63, 158, .18);
}

.hero-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero-copy {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.hero::before {
  display: none;
}

.hero {
  position: relative;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 8px 11px;
  color: #082564;
  background: #e8f5ff;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 1000;
  line-height: .9;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 640px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
}

.hero-search {
  display: flex;
  gap: 10px;
  max-width: 680px;
  margin: 24px auto 0;
  padding: 8px;
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(5, 23, 66, .28);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  height: 46px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  font-size: 15px;
}

.hero-search button {
  min-height: 46px;
  padding: 0 18px;
  color: var(--ink);
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border: 0;
  border-radius: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.btn,
.find-card span,
td a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 12px 22px rgba(22, 103, 255, .16);
}

.btn-primary,
td a {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.btn-light {
  background: #fff;
}

.btn-dark {
  color: #fff;
  background: #0d1b3d;
}

.agent-panel {
  position: relative;
  padding: 14px;
  background: rgba(248, 251, 255, .94);
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(7, 26, 72, .15);
  backdrop-filter: blur(10px);
}

.agent-panel::before {
  content: "";
  position: absolute;
  inset: 8px -6px -6px 8px;
  z-index: -1;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(119, 199, 255, .58), rgba(139, 125, 255, .5));
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(175, 192, 224, .7);
}

.panel-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-head strong {
  font-size: 14px;
}

.hero-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hero-tool-card {
  display: block;
  min-height: 116px;
  padding: 12px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #f3f8ff 100%);
  border: 1px solid rgba(178, 199, 235, .78);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(14, 54, 130, .08);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hero-tool-card:hover,
.hero-tool-card:focus-visible {
  border-color: rgba(22, 103, 255, .5);
  box-shadow: 0 14px 30px rgba(14, 54, 130, .13);
  transform: translateY(-2px);
}

.hero-tool-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  margin-bottom: 10px;
  padding: 0 8px;
  color: #0b4fd2;
  background: #e8f3ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.hero-tool-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.15;
}

.hero-tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.mini-finds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.mini-finds a {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #eef1eb;
  text-decoration: none;
}

.mini-finds img {
  width: 100%;
  height: 138px;
  object-fit: contain;
  object-position: center;
  padding: 8px;
  background: #f4f7fc;
}

.mini-finds span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 7px 9px;
  border-radius: 999px;
  color: #063077;
  background: #dff1ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
  padding: 14px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(22, 62, 130, .09);
}

.category-strip a {
  padding: 10px 14px;
  color: #0c2d72;
  background: #f8fbff;
  border: 1px solid #d5e4fb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.category-strip a:hover {
  color: #fff;
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.section-block {
  padding: 58px 0 0;
}

.featured-section {
  margin-top: 32px;
  padding: 28px;
  background: linear-gradient(180deg, #f8fafc 0%, #f3f7ff 100%);
  border: 1px solid #dfe9f8;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(22, 62, 130, .06);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

.featured-section .section-heading {
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center;
}

.featured-section .section-kicker {
  margin-left: auto;
  margin-right: auto;
}

.featured-section .section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.04em;
}

.trend-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 22px;
  padding: 6px 2px 10px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.trend-tabs::-webkit-scrollbar {
  display: none;
}

.trend-tabs button {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 10px 18px;
  color: #1f365f;
  background: #f1f5f9;
  border: 1px solid #dbe7f6;
  border-radius: 999px;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.trend-tabs button.is-active {
  color: #fff;
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 8px 18px rgba(22, 103, 255, .22);
}

.highlights-section {
  padding-top: 42px;
}

.highlights-section .section-heading {
  margin-bottom: 18px;
}

.highlights-section .section-heading h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  letter-spacing: -.04em;
}

.section-heading.compact {
  max-width: 920px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .92;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.step-grid,
.highlight-grid,
.why-grid,
.guide-card-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.highlight-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.step-grid article,
.highlight-grid article,
.why-grid article,
.guide-card-grid article,
.faq-grid article,
.find-card,
.sheet-wrap,
.info-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(20, 24, 17, .07);
}

.step-grid article,
.highlight-grid article,
.why-grid article,
.guide-card-grid article,
.faq-grid article,
.info-panel {
  padding: 20px;
}

.highlight-grid article {
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 22px rgba(22, 62, 130, .045);
}

.highlight-grid h3 {
  font-size: 19px;
}

.highlight-grid p {
  font-size: 14px;
}

.highlight-grid a,
.guide-card-grid a {
  display: block;
  min-height: 100%;
  text-decoration: none;
}

.highlight-grid article:hover,
.guide-card-grid article:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.step-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 9px;
  border-radius: 999px;
  color: #07367f;
  background: #dff1ff;
  font-size: 12px;
  font-weight: 900;
}

.step-grid h3,
.highlight-grid h3,
.why-grid h3,
.guide-card-grid h3,
.faq-grid h3,
.find-card h3 {
  margin: 0 0 9px;
  font-size: 21px;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.step-grid p,
.highlight-grid p,
.why-grid p,
.guide-card-grid p,
.faq-grid p,
.info-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.info-panel {
  max-width: 900px;
  background: linear-gradient(135deg, #fff, #f2f8ff);
}

.why-grid article {
  background: linear-gradient(180deg, #fff, #f6faff);
}

.long-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.finds-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.find-card {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(22, 62, 130, .045);
}

.find-card a {
  display: flex;
  height: 100%;
  flex-direction: column;
  text-decoration: none;
}

.find-card img {
  width: 100%;
  height: 180px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  padding: 14px;
  background: #f7f9fc;
  border-bottom: 1px solid #edf2fb;
}

.find-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 13px;
}

.find-card small {
  align-self: flex-start;
  margin-bottom: 9px;
  padding: 5px 8px;
  color: #1554c9;
  background: #edf5ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.find-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.find-card .price {
  color: #f05a28;
  font-size: 16px;
  font-weight: 900;
}

.find-card .price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.find-card .code {
  margin-bottom: 12px;
  color: #7a8498;
  font-size: 12px;
}

.find-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.12;
}

.find-card .note {
  min-height: 42px;
}

.find-card span {
  align-self: flex-start;
  min-height: 32px;
  margin-top: auto;
  padding: 0 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 8px;
  font-size: 12px;
  box-shadow: none;
}

.find-card[hidden] {
  display: none;
}

.more-products {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.more-products {
  width: max-content;
  margin: 22px auto 0;
}

.sheet-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}

th {
  color: #fff;
  background: var(--dark);
  font-size: 12px;
  text-transform: uppercase;
}

td:nth-child(1),
td:nth-child(3) {
  font-weight: 800;
}

td a {
  min-height: 36px;
  padding: 0 11px;
  border-width: 1px;
  border-radius: 8px;
  box-shadow: none;
}

.guide-section {
  padding-top: 56px;
}

.superbuy-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 76px;
  padding: 36px clamp(16px, 4vw, 56px);
  background: var(--dark);
  color: #fff;
}

.superbuy-footer strong {
  display: block;
  margin-bottom: 8px;
  color: #8cc7ff;
  font-size: 26px;
  text-transform: uppercase;
}

.superbuy-footer p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, .75);
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 18px;
  min-width: min(620px, 100%);
}

.superbuy-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}

.superbuy-footer h3 {
  width: 100%;
  margin: 0 0 4px;
  color: #8cc7ff;
  font-size: 13px;
  text-transform: uppercase;
}

.superbuy-footer a {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .site-header,
  .superbuy-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .superbuy-footer nav {
    justify-content: flex-start;
  }

  .hero,
  .hero-search {
    grid-template-columns: 1fr;
  }

  .agent-panel {
    max-width: 620px;
  }

  .step-grid,
  .why-grid,
  .guide-card-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finds-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .footer-links {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  main,
  .site-header,
  .hero-copy,
  .agent-panel,
  .hero-search {
    max-width: 100%;
    min-width: 0;
  }

  .top-announcement {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .site-header {
    position: relative;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 11px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    max-width: 100%;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .hero {
    padding-top: 34px;
    overflow: hidden;
  }

  .section-block,
  .category-strip {
    width: min(320px, calc(100vw - 56px));
    max-width: calc(100vw - 56px);
    margin-left: 18px;
    margin-right: 18px;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    margin-left: 0;
    margin-right: 0;
    padding: 28px 18px 36px;
    border-radius: 0;
  }

  .hero-copy {
    width: 100%;
    max-width: min(300px, calc(100vw - 40px));
  }

  .eyebrow,
  .section-kicker {
    display: block;
    width: 100%;
    line-height: 1.35;
    white-space: normal;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(25px, 7.2vw, 30px);
    line-height: .98;
    letter-spacing: 0;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 15px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .hero-tool-card p,
  .section-heading p {
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .hero-search {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .hero-search {
    padding: 7px;
  }

  .trend-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .hero-search input,
  .hero-search button {
    min-width: 0;
  }

  .btn,
  .hero-search button {
    width: 100%;
    box-shadow: 0 4px 0 var(--ink);
  }

  .agent-panel {
    padding: 15px;
    border-radius: 18px;
  }

  .hero-tool-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .hero-tool-card {
    min-height: auto;
    padding: 13px;
  }

  .section-block {
    padding-top: 52px;
  }

  .step-grid,
  .highlight-grid,
  .why-grid,
  .guide-card-grid,
  .faq-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

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

  .category-strip {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .find-card .note {
    min-height: auto;
  }
}

@media (max-width: 420px) {
  .finds-grid {
    grid-template-columns: 1fr;
  }
}

/* Final overrides keep the deployed landing page from inheriting older narrow hero or native button styles. */
body.superbuy-page main > section.hero {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: clamp(30px, 4.5vw, 58px) 24px !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 255, 0, .18), transparent 18rem),
    linear-gradient(135deg, #0d4de8 0%, #112f8f 54%, #624bff 100%) !important;
}

body.superbuy-page .hero-inner {
  width: min(1100px, calc(100vw - 32px)) !important;
  margin: 0 auto !important;
  text-align: center !important;
}

body.superbuy-page .trend-tabs {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  width: min(100%, 1120px) !important;
  margin: 22px auto 30px !important;
  padding: 4px 2px 10px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: none !important;
}

body.superbuy-page .trend-tabs button {
  appearance: none !important;
  -webkit-appearance: none !important;
  flex: 0 0 auto !important;
  min-height: 42px !important;
  padding: 10px 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

body.superbuy-page .trend-tabs button.is-active {
  color: #fff !important;
  background: #5b5cff !important;
  box-shadow: 0 8px 18px rgba(91, 92, 255, .22) !important;
}

body.superbuy-page .trend-tabs::-webkit-scrollbar {
  display: none !important;
}

/* Deployment-hardening pass: force full-bleed hero, polished filter pills, and hidden empty state. */
html body.superbuy-page main > section.hero {
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding: clamp(30px, 4.5vw, 58px) max(16px, calc((100vw - 1100px) / 2)) !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 255, 0, .18), transparent 18rem),
    linear-gradient(135deg, #0d4de8 0%, #112f8f 54%, #624bff 100%) !important;
}

html body.superbuy-page main > section.hero > .hero-inner {
  max-width: 1100px !important;
  width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
}

html body.superbuy-page .trend-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin: 22px auto 30px !important;
  padding: 4px 2px 10px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

html body.superbuy-page .trend-tabs button {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 10px 18px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 999px !important;
  color: #0f172a !important;
  background: #f1f5f9 !important;
  box-shadow: none !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body.superbuy-page .trend-tabs button.is-active,
html body.superbuy-page .trend-tabs button[aria-pressed="true"] {
  color: #fff !important;
  border-color: #5b5cff !important;
  background: #5b5cff !important;
}

html body.superbuy-page .trend-tabs::-webkit-scrollbar {
  display: none !important;
}

html body.superbuy-page #trendingEmpty[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  body.superbuy-page main > section.hero {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 30px 16px 36px !important;
  }

  body.superbuy-page .trend-tabs {
    justify-content: flex-start !important;
    width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
  }

  body.superbuy-page .trend-tabs button {
    min-height: 40px !important;
    padding: 10px 18px !important;
    font-size: 12px !important;
  }
}


/* Codex overflow/canonical cleanup 2026-05-29 */
html,
body,
.superbuy-page {
  max-width: 100%;
  overflow-x: hidden;
}

.top-announcement {
  flex-wrap: wrap;
  white-space: normal;
  overflow-x: hidden;
}

.site-header {
  max-width: 100%;
  min-width: 0;
}

.brand-mark,
.site-nav {
  min-width: 0;
}

.site-nav {
  overflow-x: clip;
}

body.superbuy-page main > section.hero {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.superbuy-page .hero-inner {
  width: min(1100px, calc(100% - 32px)) !important;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }
}
