/**
 * Mobile marketing UX — buy/sell pages, testimonials, press, footer.
 * Loaded sitewide via head / head_new.
 */

/* Never show extension download / promo blocks on mobile */
@media (max-width: 767px) {
  .cs-ext-dl,
  .cs-ext-promo,
  .cs-ext-intent,
  #cs-extension-promo,
  .sell_giftcard section.download,
  section.download,
  .cs-desktop-only-ext,
  .sarver-checkout-text,
  .extbtn,
  a.getItFreeHref,
  .main-header .checkout-saver-link {
    display: none !important;
  }
  .cs-mobile-only-alt {
    display: inline-flex !important;
  }
}
@media (min-width: 768px) {
  .cs-mobile-only-alt { display: none !important; }
}

/* ---------- Hero bullets: readable over busy gift-card backgrounds ---------- */
.sell_giftcard .banner .banner_text {
  max-width: 560px;
}
.sell_giftcard .banner .condition-div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  text-align: left;
}
.sell_giftcard .banner .condition-div img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin-top: 2px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.sell_giftcard .banner .condition-div p,
.sell_giftcard .banner .condition-div .condition-p {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.65),
    0 0 14px rgba(0, 20, 60, 0.45);
}

/* Support / mid headline */
.sell_giftcard .support {
  padding: 48px 0 20px !important;
}
.sell_giftcard .support h2 {
  padding-top: 0 !important;
  margin: 0 0 12px;
  line-height: 1.25;
  font-weight: 700 !important;
  color: #000 !important;
  font-family: montserrat, Poppins, sans-serif;
}
.sell_giftcard .support p {
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 8px;
  font-weight: 500;
  color: #1a2b2e;
  font-family: montserrat, Poppins, sans-serif;
}
.sell_giftcard .sell-cta-wrap {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

/* Match “Rethinking…” step typography on the benefits band above it */
.sell_giftcard .benefits-sec.home_benefit {
  padding-top: 12px !important;
  padding-bottom: 8px !important;
}
.sell_giftcard .benefits-sec .heading {
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}
.sell_giftcard .benefits-sec .heading h2 {
  margin: 0 0 12px;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #000 !important;
  line-height: 1.25;
  font-family: montserrat, Poppins, sans-serif;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.sell_giftcard .benefits-sec .heading p {
  margin: 0 0 10px;
  font-size: 16px !important;
  line-height: 1.55;
  font-weight: 500;
  color: #000;
  font-family: montserrat, Poppins, sans-serif;
}
.sell_giftcard .easysteps .sec_padding {
  padding: 28px 0 !important;
}
.sell_giftcard .easysteps .sec_padding:first-child {
  padding-top: 12px !important;
}

/* Submit OTU CTA stack */
.cs-submit-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin: 8px 0 20px;
}
.cs-submit-cta-stack .cs-submit-otu-btn {
  display: inline-block;
  padding: 12px 22px;
  background: #10b4d9;
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: 700;
  line-height: 1.2;
  border: 0;
}
.cs-submit-cta-stack .cs-submit-free-link {
  color: #10b4d9;
  text-decoration: underline;
  font-weight: 600;
  font-size: 15px;
}

/* Learn-more cards */
.sell_giftcard .cashback_sec h2,
.sell_giftcard #cashback-section h2,
.cashback_sec.container_custom h2 {
  font-size: 22px !important;
  letter-spacing: 0.02em;
  text-transform: none !important;
  margin: 22px 0 14px !important;
  text-align: left;
}
.sell_giftcard .cashback_sec .cs-learn-grid,
.cashback_sec .cs-learn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 8px;
}
@media (min-width: 992px) {
  .sell_giftcard .cashback_sec .cs-learn-grid,
  .cashback_sec .cs-learn-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
.sell_giftcard .cashback_sec .cs-learn-card,
.cashback_sec .cs-learn-card {
  background: #f4f8fa !important;
  border: 1px solid #d7e3e8;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  color: #1a2b2e;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}
.sell_giftcard .cashback_sec .cs-learn-card strong,
.cashback_sec .cs-learn-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: #0f1a22;
}
.sell_giftcard .cashback_sec .cashback-content {
  background: transparent !important;
  border-radius: 0 !important;
}

/* Signup band — tighter */
.sell_giftcard .signup-sec.singe_page,
.signup-sec.singe_page.new_signup {
  padding: 28px 0 !important;
}
.sell_giftcard .signup-sec .signup-title,
.signup-sec.singe_page .signup-title {
  margin: 0 0 12px !important;
  padding-top: 0 !important;
  line-height: 1.3;
}
.sell_giftcard .signup-sec .Banner_Btn,
.signup-sec.singe_page .Banner_Btn {
  margin: 0 auto !important;
}

/* ---------- Testimonials ---------- */
.cs-reviews-swipe.client_review.container_custom {
  padding: 32px 0 36px !important;
  background: #f3f6f7;
  overflow: hidden;
}
.cs-reviews-swipe .container {
  max-width: 100%;
  overflow: hidden;
}
.cs-reviews-swipe h2 {
  font-size: 24px !important;
  margin: 0 0 16px !important;
  text-align: center;
}
.cs-mkt-testimonials {
  overflow: hidden;
  width: 100%;
  padding-bottom: 4px;
}
.cs-mkt-testimonials .swiper-wrapper {
  align-items: stretch;
}
.cs-mkt-testimonials .swiper-slide {
  height: auto;
  box-sizing: border-box;
}
.cs-mkt-testimonials .inner_client_view {
  background: #fff;
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 8px 24px rgba(16, 40, 50, 0.08);
  min-height: 0;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
/* Quote line — kill legacy black accent bar from .top_border span:before */
.cs-mkt-testimonials .top_border {
  border: 0 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}
.cs-mkt-testimonials .top_border span,
.cs-mkt-testimonials .top_border.border_half span {
  display: block;
  position: relative;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 500;
  color: #24363a;
  padding-top: 0 !important;
  text-align: left;
}
.cs-mkt-testimonials .top_border span:before,
.cs-mkt-testimonials .top_border.border_half span:before {
  content: none !important;
  display: none !important;
}
.cs-mkt-testimonials .clinet_feedback {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
}
.cs-mkt-testimonials .client_img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  margin: 0 !important;
}
.cs-mkt-testimonials .client_img img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.cs-mkt-testimonials .client_content {
  min-width: 0;
  flex: 1 1 auto;
}
.cs-mkt-testimonials .client_name {
  font-size: 14px !important;
  margin: 2px 0 0 !important;
}
.cs-mkt-testimonials .client_content p {
  margin: 0 !important;
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cs-mkt-testimonials .stars,
.cs-home-testimonials .stars,
.testimonials-carousel .stars,
.client_review .stars {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 2px;
  white-space: nowrap !important;
  font-size: 13px;
  color: #f5b400;
  margin: 0 0 2px;
  line-height: 1;
}
.cs-mkt-testimonials .stars i,
.cs-home-testimonials .stars i,
.testimonials-carousel .stars i,
.client_review .stars i {
  display: inline-block;
  flex: 0 0 auto;
  width: auto;
  margin: 0 !important;
}
.cs-home-testimonials,
.testimonials-carousel {
  overflow: hidden;
  width: 100%;
}
.cs-home-testimonials .inner_client_view,
.testimonials-carousel .inner_client_view {
  overflow: hidden;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.cs-home-testimonials .client_content p,
.testimonials-carousel .client_content p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cs-mkt-testimonials-pag {
  margin-top: 16px !important;
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  width: 100%;
  text-align: center;
}
.cs-mkt-testimonials-pag .swiper-pagination-bullet {
  margin: 0 4px !important;
}
.cs-mkt-testimonials-pag .swiper-pagination-bullet-active {
  background: #10b4d9;
}

/* ---------- Press logos — one row ---------- */
.cs-press-outlets.press {
  padding: 22px 0 28px !important;
}
.cs-press-outlets h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin: 0 0 12px !important;
  text-align: center;
  color: #1a2b2e;
}
.cs-press-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  width: 100%;
  overflow: hidden;
}
.cs-press-outlets .media {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 6px 8px !important;
  border: 1px solid #e6eef1 !important;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  max-width: 120px;
}
.cs-press-outlets .media img {
  max-height: 22px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 !important;
}

/* Coupon example thumbs: show full coupon, not a center crop */
.cs-coupon-examples .cs-thumb.contain {
  object-fit: contain !important;
  object-position: center;
  max-height: 160px;
  width: 100%;
  background: #fafbfc;
}

/* ---------- Footer compact on phones ---------- */
@media (max-width: 767px) {
  .new_footer .site-footer-wrap,
  .container_custom .site-footer-wrap,
  footer.site-footer .site-footer-wrap {
    padding: 22px 0 10px !important;
  }
  .new_footer .site-footer-block .heading,
  .container_custom .site-footer-block .heading {
    margin-bottom: 8px !important;
    font-size: 15px !important;
  }
  .new_footer .site-footer-block ul li,
  .container_custom .site-footer-block ul li {
    margin-bottom: 5px !important;
    line-height: 1.3 !important;
  }
  .new_footer .site-footer-block ul li a {
    font-size: 13px !important;
  }
  .new_footer .cover_footer_li {
    margin-bottom: 14px !important;
  }
  .new_footer .site-footer-content figure.footerfox {
    margin: 4px auto 8px !important;
    max-width: 110px;
  }
  .new_footer .site-footer-content figure.footerfox img,
  .new_footer .cover_footer_li img.lazy {
    max-width: 110px;
    height: auto;
  }
  .container_custom .site-footer-bottom.clearfix,
  .new_footer .site-footer-bottom {
    padding: 10px 0 !important;
  }
  .site-footer-block .footer-stack-heading {
    margin-top: 12px !important;
  }
}

/* ---------- Mobile / tablet sell pages ---------- */
@media (max-width: 991px) {
  .sell_giftcard .banner {
    height: auto !important;
    min-height: 0 !important;
    padding: 28px 0 24px !important;
    background-position: center top !important;
  }
  .sell_giftcard .banner h1.buy {
    font-size: 24px !important;
    line-height: 1.2 !important;
    padding-top: 8px !important;
    margin-bottom: 12px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  }
  .sell_giftcard .banner .banner_text {
    padding: 12px 14px !important;
    margin: 0 auto 16px;
    background: rgba(6, 24, 64, 0.52);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  .sell_giftcard .banner .condition-div p,
  .sell_giftcard .banner .condition-div .condition-p {
    font-size: 14px !important;
    font-weight: 700 !important;
  }
  .sell_giftcard .banner .banner_form {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 8px auto 0;
  }
  .sell_giftcard .support {
    padding: 22px 0 12px !important;
  }
  .sell_giftcard .support h2 {
    font-size: 22px !important;
    padding-top: 0 !important;
  }
  .sell_giftcard .support p {
    font-size: 15px;
  }
  .sell_giftcard .benefits-sec.home_benefit {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  .sell_giftcard .benefits-sec .heading h2 {
    font-size: 22px !important;
  }
  .sell_giftcard .benefits-sec .heading p {
    font-size: 15px !important;
  }
  .sell_giftcard .easysteps .sec_padding {
    padding: 20px 0 !important;
  }
  .sell_giftcard .easysteps .sec_padding:first-child {
    padding-top: 8px !important;
  }
  .sell_giftcard .signup-sec.singe_page,
  .signup-sec.singe_page.new_signup {
    padding: 22px 0 !important;
  }
  .cs-press-outlets .media {
    padding: 4px 5px !important;
    max-width: none;
  }
  .cs-press-outlets .media img {
    max-height: 16px;
  }
  .cs-press-logos {
    gap: 5px;
  }
  .cs-reviews-swipe.client_review.container_custom {
    padding: 24px 0 28px !important;
  }
}

@media (max-width: 575px) {
  .sell_giftcard .banner h1.buy {
    font-size: 20px !important;
  }
  .sell_giftcard .banner .condition-div {
    margin-bottom: 8px;
  }
  .cs-reviews-swipe h2 {
    font-size: 18px !important;
  }
  .cs-press-outlets h2 {
    font-size: 16px !important;
  }
  .cs-press-outlets .media img {
    max-height: 14px;
  }
  .cs-coupon-examples .cs-thumb.contain {
    max-height: 140px;
  }
}

/* Homepage + general marketing: reduce oversized section gaps on phones */
@media (max-width: 767px) {
  section.client_review.container_custom:not(.cs-reviews-swipe) {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
  .press:not(.cs-press-outlets) {
    padding-top: 20px !important;
    padding-bottom: 24px !important;
  }
  /* Avoid horizontal scroll from peeks/carousels */
  .site-main-container,
  .sell_giftcard,
  .cs-reviews-swipe {
    overflow-x: hidden;
  }
}
