/**
 * Buy Gift Cards page — navy/cyan hero + light brand strip.
 * Scoped under .sell_giftcard.cs-bgc-page (overrides sellgiftcardstyle.css).
 */
.sell_giftcard.cs-bgc-page {
  --bgc-navy: #070f1c;
  --bgc-navy-2: #0b1730;
  --bgc-cyan: #3ecbff;
  --bgc-blue: #1677ff;
  --bgc-blue-hover: #0d5ad6;
  --bgc-ink: #0a1324;
  --bgc-muted: #5b6b7a;
  --bgc-card: #ffffff;
  --bgc-border: #e6eef8;
  --bgc-soft: #f5f8fc;
  --bgc-font: Montserrat, Poppins, "Segoe UI", sans-serif;
  margin-top: 0 !important;
  font-family: var(--bgc-font);
  background: #fff;
  color: var(--bgc-ink);
}

/* ===== Hero ===== */
.sell_giftcard.cs-bgc-page .cs-bgc-hero {
  position: relative;
  overflow: visible;
  background-color: #050a14 !important;
  background-image:
    radial-gradient(820px 420px at 78% 35%, rgba(62, 203, 255, 0.22), transparent 58%),
    radial-gradient(620px 360px at 12% 10%, rgba(22, 119, 255, 0.18), transparent 55%),
    linear-gradient(160deg, #050a14 0%, #0a1730 48%, #07101f 100%) !important;
  background-repeat: no-repeat !important;
  background-size: auto, auto, cover !important;
  background-position: center !important;
  color: #fff;
  /* Sticky clearance is margin-top on .sell_giftcard (cs-nav-v2); this is breathing room only */
  padding: var(--cs-hero-inner-pad, 24px) 0 0 !important;
  height: auto !important;
  min-height: 0 !important;
  text-align: left !important;
}
body.cs-nav-v2 .sell_giftcard.cs-bgc-page > .banner.cs-bgc-hero {
  padding-top: var(--cs-hero-inner-pad, 24px) !important;
  padding-bottom: 0 !important;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(62, 203, 255, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08) 0 1px, transparent 2px);
  background-size: 48px 48px, 36px 36px;
  opacity: 0.45;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero__inner {
  position: relative;
  z-index: 3;
  padding: 0 0 18px;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  max-width: 1200px;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero__copy {
  max-width: 520px;
  min-width: 0;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero h1 {
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: clamp(26px, 3.6vw, 40px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  text-align: left !important;
  text-shadow: none !important;
  max-width: 14em !important;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero h1 .is-accent {
  color: var(--bgc-cyan);
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero__sub {
  margin: 0 0 18px !important;
  padding: 0 !important;
  max-width: 44em;
  color: rgba(242, 244, 247, 0.88) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  background: none !important;
  text-shadow: none !important;
  text-align: left !important;
}

/* Store picker — white select + blue Get Started (mock) */
.sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  width: min(520px, 100%) !important;
  max-width: 100%;
  height: 52px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  border-radius: 999px;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search .custom-select {
  position: relative;
  flex: 1 1 auto;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  height: 100% !important;
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search .select-selected {
  display: flex !important;
  align-items: center;
  width: 100%;
  height: 100% !important;
  box-sizing: border-box;
  padding: 0 36px 0 18px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #6b7280 !important;
  background: #fff !important;
  border-radius: 999px 0 0 999px !important;
  border: 0 !important;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search .select-selected:after {
  top: 50%;
  margin-top: -3px;
  right: 14px;
  border: 6px solid transparent;
  border-color: #9ca3af transparent transparent transparent;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search .select-selected.select-arrow-active:after {
  margin-top: -9px;
  border-color: transparent transparent #9ca3af transparent;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search button.getstarted,
.sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search button {
  position: static !important;
  flex: 0 0 auto;
  align-self: stretch;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100% !important;
  width: auto !important;
  min-width: 148px;
  margin: 0 !important;
  padding: 0 22px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap;
  border: 0 !important;
  border-radius: 0 999px 999px 0 !important;
  background: var(--bgc-blue) !important;
  color: #fff !important;
  opacity: 1 !important;
  box-shadow: none !important;
  cursor: pointer;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search button.getstarted:hover,
.sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search button:hover {
  background: var(--bgc-blue-hover) !important;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search .select-items {
  width: 100%;
  left: 0;
  top: 56px;
  border-radius: 12px;
  border: 1px solid var(--bgc-border);
  box-shadow: 0 14px 28px rgba(10, 19, 36, 0.18);
  max-height: 240px;
  z-index: 40;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search .select-items div {
  color: var(--bgc-ink);
  font-weight: 600;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search .select-items div:hover,
.sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search .same-as-selected {
  background-color: var(--bgc-blue);
  color: #fff;
}

.sell_giftcard.cs-bgc-page .cs-bgc-hero__visual {
  position: relative;
  margin: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 520px;
  justify-self: end;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero__visual img {
  display: block;
  width: min(100%, 440px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.38));
}

/* Value props bar — bottom of hero (below store dropdown stacking) */
.sell_giftcard.cs-bgc-page .cs-bgc-hero__features {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 16px 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  background: rgba(4, 10, 22, 0.55);
  border-top: 1px solid rgba(62, 203, 255, 0.14);
  pointer-events: none;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero__features .cs-bgc-feat {
  pointer-events: auto;
}
.sell_giftcard.cs-bgc-page .cs-bgc-hero__features > .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1200px;
}
.sell_giftcard.cs-bgc-page .cs-bgc-feat {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 0;
}
.sell_giftcard.cs-bgc-page .cs-bgc-feat__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #3ecbff 0%, #1677ff 100%);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 0 18px rgba(62, 203, 255, 0.3);
  flex: 0 0 40px;
}
.sell_giftcard.cs-bgc-page .cs-bgc-feat__svg {
  display: block;
  width: 18px;
  height: 18px;
}
.sell_giftcard.cs-bgc-page .cs-bgc-feat strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 2px;
}
.sell_giftcard.cs-bgc-page .cs-bgc-feat span {
  display: block;
  color: rgba(242, 244, 247, 0.72);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

/* ===== Brands strip (immediately below hero) ===== */
.sell_giftcard.cs-bgc-page .cs-bgc-brands {
  padding: 48px 0 40px !important;
  background: #fff !important;
}
.sell_giftcard.cs-bgc-page .cs-bgc-brands .sub-container {
  max-width: 1100px;
  margin: 0 auto;
}
.sell_giftcard.cs-bgc-page .cs-bgc-brands h2 {
  margin: 0 0 8px;
  color: var(--bgc-ink) !important;
  font-size: clamp(24px, 3.2vw, 32px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-align: center;
}
.sell_giftcard.cs-bgc-page .cs-bgc-brands__lead {
  margin: 0 auto 24px;
  max-width: 560px;
  color: var(--bgc-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}
.sell_giftcard.cs-bgc-page .cs-bgc-brands .cs-bgc-brands__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 20px;
}
.sell_giftcard.cs-bgc-page .cs-bgc-brands .cs-gc-store-logo {
  margin: 0;
  padding: 0;
  max-width: none;
  flex: none;
}
.sell_giftcard.cs-bgc-page .cs-bgc-brands .cs-gc-store-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 14px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--bgc-border);
  box-shadow: 0 4px 14px rgba(10, 19, 36, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  line-height: 0;
}
.sell_giftcard.cs-bgc-page .cs-bgc-brands .cs-gc-store-logo a:hover,
.sell_giftcard.cs-bgc-page .cs-bgc-brands .cs-gc-store-logo a:focus {
  border-color: rgba(22, 119, 255, 0.35);
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.08);
}
.sell_giftcard.cs-bgc-page .cs-bgc-brands .cs-gc-store-logo img {
  display: block;
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0;
}
.sell_giftcard.cs-bgc-page .cs-bgc-brands .btn_view,
.sell_giftcard.cs-bgc-page .cs-bgc-brands .cs-bgc-brands__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0 auto;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--bgc-blue) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  border: 0;
}
.sell_giftcard.cs-bgc-page .cs-bgc-brands .btn_view:hover,
.sell_giftcard.cs-bgc-page .cs-bgc-brands .cs-bgc-brands__cta:hover {
  background: var(--bgc-blue-hover) !important;
  color: #fff !important;
}
.sell_giftcard.cs-bgc-page .cs-bgc-brands__actions {
  text-align: center;
}

/* Light harmonization below hero */
.sell_giftcard.cs-bgc-page .gc-inventory-explainer-wrap {
  padding: 28px 0 8px;
  background: var(--bgc-soft);
}
.sell_giftcard.cs-bgc-page .cs-gc-seo-block {
  max-width: 920px;
  margin: 0 auto;
  color: var(--bgc-muted);
  font-size: 15px;
  line-height: 1.6;
}
.sell_giftcard.cs-bgc-page .cs-gc-seo-block h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--bgc-ink);
  margin: 0 0 10px;
}
.sell_giftcard.cs-bgc-page .easysteps {
  background: #fff;
}
.sell_giftcard.cs-bgc-page .easysteps h2 {
  color: var(--bgc-ink);
  font-weight: 800;
}
.sell_giftcard.cs-bgc-page .easysteps .cs-gc-join-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bgc-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
}
.sell_giftcard.cs-bgc-page .easysteps a.cs-gc-join-link:hover h5,
.sell_giftcard.cs-bgc-page .easysteps a.cs-gc-join-link:hover p {
  color: var(--bgc-blue);
}
.sell_giftcard.cs-bgc-page .cs-gc-faq h2 {
  color: var(--bgc-ink);
  font-weight: 800;
}
.sell_giftcard.cs-bgc-page .cs-gc-faq details {
  border-color: var(--bgc-border);
  border-radius: 10px;
}
.sell_giftcard.cs-bgc-page .easy {
  display: none !important;
}

@media (min-width: 768px) {
  body.cs-nav-v2 .sell_giftcard.cs-bgc-page > .banner.cs-bgc-hero,
  .sell_giftcard.cs-bgc-page .cs-bgc-hero {
    padding-top: 28px !important;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-hero__inner {
    padding-bottom: 20px;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 12px 24px;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-hero__visual img {
    width: min(100%, 420px);
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-hero__features > .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-brands .cs-bgc-brands__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 992px) {
  .sell_giftcard.cs-bgc-page .cs-bgc-hero__features > .container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 18px;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-brands .cs-bgc-brands__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-brands .cs-gc-store-logo img {
    max-height: 64px;
  }
}

@media (max-width: 767px) {
  body.cs-nav-v2 .sell_giftcard.cs-bgc-page > .banner.cs-bgc-hero,
  .sell_giftcard.cs-bgc-page .cs-bgc-hero {
    padding-top: 16px !important;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-hero h1 {
    max-width: none !important;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-hero__sub {
    font-size: 14px !important;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search {
    width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search .select-selected {
    border-radius: 14px 0 0 14px !important;
    font-size: 13px !important;
    padding: 0 32px 0 14px !important;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search button.getstarted,
  .sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search button {
    min-width: 118px;
    border-radius: 0 14px 14px 0 !important;
    font-size: 14px !important;
    padding: 0 14px !important;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-hero__visual {
    order: -1;
    justify-self: center;
    max-width: 100%;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-hero__visual img {
    width: min(100%, 280px);
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-hero__features {
    padding: 14px 0;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-brands {
    padding: 32px 0 28px !important;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-brands .cs-gc-store-logo a {
    min-height: 72px;
    padding: 12px 8px;
  }
}

@media (max-width: 390px) {
  .sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search button.getstarted,
  .sell_giftcard.cs-bgc-page .cs-bgc-hero .topSearch-sec.new_search button {
    min-width: 108px;
    font-size: 13px !important;
    padding: 0 12px !important;
  }
  .sell_giftcard.cs-bgc-page .cs-bgc-brands .cs-bgc-brands__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
