/**
 * /buy-coupons — dark navy hero matching Aug 2026 mock.
 * Scoped under .sell_giftcard.cs-bc-page
 */
.sell_giftcard.cs-bc-page {
  --bc-navy: #050b16;
  --bc-navy-2: #0a1730;
  --bc-blue: #1677ff;
  --bc-blue-hover: #0d5ad6;
  --bc-sky: #4db3ff;
  --bc-ink: #0a1324;
  --bc-muted: #5b6b7a;
  --bc-card: #ffffff;
  --bc-font: Montserrat, Poppins, "Segoe UI", sans-serif;
  margin-top: 0 !important;
  font-family: var(--bc-font);
  background: #fff;
  color: var(--bc-ink);
}

/* ===== Hero ===== */
.sell_giftcard.cs-bc-page .cs-bc-hero {
  position: relative;
  /* Visible so hero search typeahead can extend over the marketplace section */
  overflow: visible;
  z-index: 4;
  /* Kill legacy sellgiftcard banner.jpg, then paint navy gradients */
  background-color: #040914 !important;
  background-image:
    radial-gradient(900px 520px at 58% 45%, rgba(22, 119, 255, 0.36), transparent 58%),
    radial-gradient(520px 420px at 52% 55%, rgba(77, 179, 255, 0.28), transparent 62%),
    radial-gradient(640px 420px at 18% 15%, rgba(77, 179, 255, 0.16), transparent 55%),
    linear-gradient(165deg, #040914 0%, #0a1730 48%, #07101f 100%) !important;
  background-repeat: no-repeat !important;
  background-size: auto, auto, auto, cover !important;
  background-position: center !important;
  color: #fff;
  padding: calc(var(--cs-sticky-offset, 72px) + 20px) 0 28px !important;
  height: auto !important;
  min-height: 0 !important;
  text-align: left !important;
}
.sell_giftcard.cs-bc-page .cs-bc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(77, 179, 255, 0.14) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 62%, rgba(255, 255, 255, 0.08) 0 1px, transparent 2px);
  background-size: 46px 46px, 34px 34px;
  opacity: 0.5;
}
.sell_giftcard.cs-bc-page .cs-bc-hero > .container {
  position: relative;
  z-index: 2;
}

.sell_giftcard.cs-bc-page .cs-bc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 1.15fr) minmax(270px, 0.88fr);
  gap: 22px 16px;
  align-items: center;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__grid.is-authed {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 1.1fr);
}

.sell_giftcard.cs-bc-page .cs-bc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--bc-sky);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__eyebrow i {
  font-size: 14px;
}

.sell_giftcard.cs-bc-page .cs-bc-hero h1 {
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: clamp(30px, 4.2vw, 48px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em;
  text-align: left !important;
  text-shadow: none !important;
  max-width: none !important;
}
.sell_giftcard.cs-bc-page .cs-bc-hero h1 .is-accent {
  color: var(--bc-sky);
  display: block;
}

.sell_giftcard.cs-bc-page .cs-bc-hero__lead {
  margin: 0 0 18px;
  max-width: 34em;
  color: rgba(242, 244, 247, 0.9);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__lead .is-accent {
  color: var(--bc-sky);
  font-weight: 700;
}

.sell_giftcard.cs-bc-page .cs-bc-hero__features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__features li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}
.sell_giftcard.cs-bc-page .cs-bc-hero__features strong {
  display: block;
  font-weight: 700;
  margin-bottom: 1px;
  color: #fff;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__features > li > div > span {
  color: rgba(210, 222, 235, 0.86);
  font-weight: 500;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__feat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(77, 179, 255, 0.45);
  background: rgba(22, 119, 255, 0.12);
  color: var(--bc-sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 1px;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__feat-icon i {
  color: inherit;
  font-size: inherit;
  line-height: 1;
}

/* Hero search — dark field + blue Search button */
.sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search {
  margin-top: 4px;
  max-width: 520px;
  position: relative;
  z-index: 20;
}
.sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search .otu-buy-search-wrap {
  overflow: visible;
  z-index: 20;
}
.sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search .otu-buy-search {
  background: rgba(8, 16, 30, 0.85);
  border: 1px solid rgba(77, 179, 255, 0.28);
  border-radius: 14px;
  padding: 6px;
  backdrop-filter: blur(8px);
  gap: 6px;
}
.sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search .otu-buy-search input {
  background: transparent;
  color: #fff;
  border-radius: 10px;
  min-height: 46px;
  padding-left: 12px;
}
.sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search .otu-buy-search input::placeholder {
  color: rgba(180, 198, 214, 0.75);
}
.sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search .otu-buy-search input:focus {
  outline: 2px solid rgba(77, 179, 255, 0.55);
  outline-offset: 0;
}
.sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search .otu-buy-search-btn {
  background: var(--bc-blue);
  border-radius: 10px;
  min-height: 46px;
  padding: 12px 18px;
}
.sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search .otu-buy-search-btn:hover {
  background: var(--bc-blue-hover);
}
.sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search .otu-buy-suggest {
  background: #0f1c2e;
  border: 1px solid rgba(77, 179, 255, 0.28);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}
.sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search .otu-buy-suggest button {
  color: #e8f1f4;
}
.sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search .otu-buy-suggest button:hover,
.sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search .otu-buy-suggest button.is-active {
  background: rgba(22, 119, 255, 0.2);
  color: #fff;
}
.sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search .otu-buy-suggest-meta {
  color: #8aa0ad;
  border-top-color: rgba(77, 179, 255, 0.18);
}

.sell_giftcard.cs-bc-page .cs-bc-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--bc-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(22, 119, 255, 0.32);
}
.sell_giftcard.cs-bc-page .cs-bc-hero__cta:hover,
.sell_giftcard.cs-bc-page .cs-bc-hero__cta:focus {
  background: var(--bc-blue-hover);
  color: #fff !important;
}

.sell_giftcard.cs-bc-page .cs-bc-hero__visual {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: visible;
}
/* Soft blue glow behind fox + coupon icons (mock match) */
.sell_giftcard.cs-bc-page .cs-bc-hero__visual::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48%;
  width: 118%;
  height: 108%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 48% 42% at 50% 50%, rgba(77, 179, 255, 0.62), transparent 72%),
    radial-gradient(ellipse 70% 60% at 50% 52%, rgba(22, 119, 255, 0.38), transparent 75%),
    radial-gradient(ellipse 36% 30% at 42% 40%, rgba(120, 200, 255, 0.35), transparent 70%);
  filter: blur(2px);
}
.sell_giftcard.cs-bc-page .cs-bc-hero__visual::after {
  content: "";
  position: absolute;
  inset: 8% 12%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  background-image:
    radial-gradient(circle, rgba(180, 220, 255, 0.95) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(120, 190, 255, 0.85) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  background-position:
    18% 28%,
    78% 22%,
    68% 68%;
  background-repeat: no-repeat;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__visual picture,
.sell_giftcard.cs-bc-page .cs-bc-hero__visual-img {
  position: relative;
  z-index: 1;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__visual-img {
  width: min(100%, 470px);
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.4));
}

/* Join card — content-sized white card (parity with sell-coupons join) */
.sell_giftcard.cs-bc-page .cs-bc-hero__join {
  background: var(--bc-card);
  border: 1px solid rgba(22, 119, 255, 0.18);
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(77, 179, 255, 0.1),
    0 10px 28px rgba(0, 0, 0, 0.22),
    0 0 36px rgba(22, 119, 255, 0.14);
  padding: 22px 20px 16px;
  min-width: 0;
  align-self: center;
  height: auto;
  color: var(--bc-ink);
}
.sell_giftcard.cs-bc-page .cs-bc-hero__join .banner_form,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__join .banner_form h4,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner h4 {
  margin: 0 0 14px;
  font-family: var(--bc-font);
  font-size: 22px;
  font-weight: 800;
  color: var(--bc-ink);
  text-align: center;
  line-height: 1.25;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner-sub,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner > p.cs-auth-banner-sub {
  margin: -6px 0 14px !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 500;
  color: var(--bc-muted) !important;
  text-align: center;
  line-height: 1.4;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__join .banner_form .form-control,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner .form-control {
  border-radius: 6px;
  border: 1px solid #d5e0e6;
  min-height: 44px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--bc-ink);
  background: #fff;
  text-align: left;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__join .banner_form .btn_email,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner .btn_email,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-bgc-signup-banner__email-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 6px;
  min-height: 44px;
  background: var(--bc-blue) !important;
  border-color: var(--bc-blue) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  margin: 0;
  text-decoration: none !important;
  box-sizing: border-box;
}
/* OR divider with horizontal rules (matches signup mock) */
.sell_giftcard.cs-bc-page .cs-bc-hero__join .banner_form h6,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner h6 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px 0;
  padding: 0;
  text-align: center;
  color: #8a9aaa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__join .banner_form h6::before,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner h6::before,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .banner_form h6::after,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner h6::after {
  content: "";
  flex: 1 1 auto;
  height: 0;
  border-top: 1px solid #dde5ea;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-sso-buttons {
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-sso-btn {
  border-radius: 6px;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__join .banner_form > p,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner > p {
  font-size: 12px;
  line-height: 1.45;
  color: var(--bc-muted);
  margin: 14px 0 0 !important;
  padding: 0;
  text-align: center;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__join .banner_form > p + p,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner > p + p {
  margin-top: 8px !important;
}
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner > p .linkcolor,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .banner_form > p .linkcolor,
.sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner > p a {
  color: #3b8dff !important;
  text-decoration: underline !important;
  font-weight: 600;
}

/* Trust bar (inside / just under hero) */
.sell_giftcard.cs-bc-page .cs-bc-trust {
  margin: 22px 0 0;
  position: relative;
  z-index: 2;
}
.sell_giftcard.cs-bc-page .cs-bc-trust__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: rgba(10, 22, 42, 0.72);
  border: 1px solid rgba(77, 179, 255, 0.22);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  padding: 16px 14px;
  backdrop-filter: blur(8px);
}
.sell_giftcard.cs-bc-page .cs-bc-trust__item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 4px 6px;
  color: #fff;
}
.sell_giftcard.cs-bc-page .cs-bc-trust__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(77, 179, 255, 0.4);
  background: rgba(22, 119, 255, 0.12);
  color: var(--bc-sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex: 0 0 36px;
  line-height: 1;
}
.sell_giftcard.cs-bc-page .cs-bc-trust__icon i {
  color: inherit;
  font-size: inherit;
  line-height: 1;
  width: auto;
  height: auto;
}
.sell_giftcard.cs-bc-page .cs-bc-trust__item strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 2px;
  color: #fff;
}
/* Only copy spans — do not target .cs-bc-trust__icon */
.sell_giftcard.cs-bc-page .cs-bc-trust__item > div > span {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(210, 222, 235, 0.82);
}

@media (max-width: 1199px) {
  .sell_giftcard.cs-bc-page .cs-bc-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 1fr) minmax(250px, 0.9fr);
    gap: 18px 12px;
  }
  .sell_giftcard.cs-bc-page .cs-bc-hero__visual-img {
    width: min(100%, 400px);
  }
}

@media (max-width: 991px) {
  .sell_giftcard.cs-bc-page .cs-bc-hero {
    padding: calc(var(--cs-sticky-offset, 64px) + 16px) 0 22px !important;
  }
  .sell_giftcard.cs-bc-page .cs-bc-hero__grid,
  .sell_giftcard.cs-bc-page .cs-bc-hero__grid.is-authed {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .sell_giftcard.cs-bc-page .cs-bc-hero__visual {
    order: 2;
    min-height: 0;
  }
  .sell_giftcard.cs-bc-page .cs-bc-hero__join {
    order: 3;
    max-width: 420px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .sell_giftcard.cs-bc-page .cs-bc-hero__visual-img {
    width: min(92%, 380px);
    margin: 0 auto;
  }
  .sell_giftcard.cs-bc-page .cs-bc-hero__visual::before {
    width: 100%;
    height: 100%;
  }
  .sell_giftcard.cs-bc-page .cs-bc-trust__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .sell_giftcard.cs-bc-page .cs-bc-hero h1 {
    font-size: clamp(26px, 8vw, 34px) !important;
  }
  .sell_giftcard.cs-bc-page .cs-bc-hero__lead {
    font-size: 15px;
  }
  .sell_giftcard.cs-bc-page .cs-bc-hero__join {
    padding: 18px 16px 14px;
    border-radius: 10px;
  }
  .sell_giftcard.cs-bc-page .cs-bc-hero__join .banner_form h4,
  .sell_giftcard.cs-bc-page .cs-bc-hero__join .cs-auth-banner h4 {
    font-size: 20px;
  }
  .sell_giftcard.cs-bc-page .cs-bc-hero__visual-img {
    width: min(96%, 340px);
  }
  .sell_giftcard.cs-bc-page .cs-bc-trust__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .sell_giftcard.cs-bc-page .cs-bc-hero .otu-hero-search .otu-buy-search-btn .otu-buy-search-label {
    display: none;
  }
}

/* Marketplace band — cashback / HIW navy (not forest green) */
.sell_giftcard.cs-bc-page .otu-marketplace {
  background:
    radial-gradient(ellipse 70% 42% at 50% 0%, rgba(22, 119, 255, 0.16), transparent 58%),
    linear-gradient(180deg, #0a1324 0%, #050b16 100%);
}

/* Popular retailer tiles: squarer cards, larger logos, less L/R padding */
.sell_giftcard.cs-bc-page .otu-popular-grid {
  gap: 12px;
  max-width: 720px;
}
.sell_giftcard.cs-bc-page .otu-popular-grid a {
  min-height: 112px;
  padding: 8px 6px;
}
.sell_giftcard.cs-bc-page .otu-popular-grid img,
.sell_giftcard.cs-bc-page .otu-popular-grid .cs-store-logo {
  max-width: 88%;
  max-height: 64px;
}
@media (max-width: 991px) {
  .sell_giftcard.cs-bc-page .otu-popular-grid {
    gap: 12px;
  }
  .sell_giftcard.cs-bc-page .otu-popular-grid a {
    min-height: 220px;
    padding: 12px 8px;
  }
  .sell_giftcard.cs-bc-page .otu-popular-grid img,
  .sell_giftcard.cs-bc-page .otu-popular-grid .cs-store-logo {
    max-width: 86%;
    max-height: 112px;
  }
}
@media (max-width: 575px) {
  .sell_giftcard.cs-bc-page .otu-popular-grid {
    gap: 12px;
  }
  .sell_giftcard.cs-bc-page .otu-popular-grid a {
    min-height: 168px;
    padding: 12px 8px;
  }
  .sell_giftcard.cs-bc-page .otu-popular-grid img,
  .sell_giftcard.cs-bc-page .otu-popular-grid .cs-store-logo {
    max-width: 86%;
    max-height: 96px;
  }
}
