/**
 * /coupons hub redesign — navy/cyan hero + light marketplace body.
 * Scoped under .sell_giftcard.coupons_main_page.cs-cpn-page
 */
.sell_giftcard.coupons_main_page.cs-cpn-page {
  --cpn-navy: #070f1c;
  --cpn-navy-2: #0b1730;
  --cpn-cyan: #3ecbff;
  --cpn-blue: #1677ff;
  --cpn-sky: #4db3ff;
  --cpn-green: #22c55e;
  --cpn-orange: #ff8a00;
  --cpn-ink: #0a1324;
  --cpn-muted: #5b6b7a;
  --cpn-card: #ffffff;
  --cpn-soft: #f4f7fb;
  --cpn-border: #e2ebf3;
  --cpn-font: Montserrat, Poppins, "Segoe UI", sans-serif;
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-family: var(--cpn-font);
  background: var(--cpn-soft) !important;
  color: var(--cpn-ink);
  overflow-x: hidden;
}

.sell_giftcard.coupons_main_page.cs-cpn-page *,
.sell_giftcard.coupons_main_page.cs-cpn-page *::before,
.sell_giftcard.coupons_main_page.cs-cpn-page *::after {
  box-sizing: border-box;
}

/* ===== Light hero (ChatGPT mock Aug 2) ===== */
.cs-cpn-page .cs-cpn-hero {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: calc(var(--cs-sticky-offset, 72px) + 6px) 0 22px;
  background:
    radial-gradient(720px 320px at 12% 88%, rgba(22, 119, 255, 0.1), transparent 60%),
    radial-gradient(640px 300px at 88% 92%, rgba(77, 179, 255, 0.12), transparent 58%),
    linear-gradient(180deg, #f7f9fd 0%, #f3f7fc 55%, #eef4fb 100%);
  color: var(--cpn-ink);
}

.cs-cpn-page .cs-cpn-hero::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -42%;
  height: 70%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 22% 40%, rgba(167, 205, 255, 0.45), transparent 70%),
    radial-gradient(ellipse 50% 65% at 78% 45%, rgba(186, 214, 255, 0.4), transparent 72%);
  border-radius: 50% 50% 0 0;
}

.cs-cpn-page .cs-cpn-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

.cs-cpn-page .cs-cpn-hero__stage {
  display: grid;
  grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1.4fr) minmax(140px, 0.95fr);
  gap: 12px 20px;
  align-items: center;
}

.cs-cpn-page .cs-cpn-hero__copy {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.cs-cpn-page .cs-cpn-crumb {
  display: none;
}

.cs-cpn-page .cs-cpn-hero__badge {
  display: none;
}

.cs-cpn-page .cs-cpn-hero h1 {
  margin: 0 0 12px;
  color: var(--cpn-ink) !important;
  font-size: clamp(28px, 4.2vw, 44px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
}

.cs-cpn-page .cs-cpn-hero h1 span {
  color: var(--cpn-blue);
}

.cs-cpn-page .cs-cpn-hero__sub {
  margin: 0 auto 22px;
  max-width: 520px;
  color: var(--cpn-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero {
  margin: 0 auto 18px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  max-width: 520px;
  width: 100%;
  position: relative;
  z-index: 30;
  overflow: visible;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero .csh-label {
  display: none;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero .csh-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid #d7e2ef;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15, 40, 80, 0.08);
  overflow: hidden;
  min-height: 56px;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero .csh-icon {
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 16px;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero input {
  flex: 1 1 0%;
  min-width: 0;
  height: 56px;
  padding: 10px 8px 10px 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: var(--cpn-ink);
  font-size: 15px;
  line-height: 1.3;
  box-shadow: none !important;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero input:focus {
  outline: none;
  border: 0 !important;
  box-shadow: none !important;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero .csh-btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  height: auto;
  margin: 6px;
  padding: 0 18px;
  border: none;
  border-radius: 10px;
  background: var(--cpn-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero .csh-btn:hover {
  background: #0f66e0;
  color: #fff;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero .csh-btn i {
  display: none;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero .csh-btn-label {
  display: inline;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero .drop_content {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  max-height: 230px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 40;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  border: 1px solid var(--cpn-border);
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero .drop_content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero .drop_content ul li {
  color: #334155;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 14px;
  cursor: pointer;
}

.cs-cpn-page .cs-cpn-hero .cpn-search-hero .drop_content ul li:hover {
  color: var(--cpn-blue);
  background: #f0f7ff;
}

.cs-cpn-page .cs-cpn-hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
}

.cs-cpn-page .cs-cpn-hero__trust li {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.cs-cpn-page .cs-cpn-hero__trust i {
  color: var(--cpn-blue);
  font-size: 14px;
}

.cs-cpn-page .cs-cpn-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px auto 0;
  max-width: 920px;
}

.cs-cpn-page .cs-cpn-chips__label {
  flex: 0 0 100%;
  margin: 0 0 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7b8a9a;
}

.cs-cpn-page .cs-cpn-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #d7e2ef;
  background: #fff;
  color: #334155 !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cs-cpn-page .cs-cpn-chip:hover {
  border-color: rgba(22, 119, 255, 0.45);
  color: var(--cpn-blue) !important;
  background: #f5f9ff;
}

.cs-cpn-page .cs-cpn-hero__actions {
  justify-content: center;
  margin-top: 18px;
}

.cs-cpn-page .cs-cpn-hero .cpn-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin: 18px 0 0;
}

.cs-cpn-page .cs-cpn-hero .cpn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cs-cpn-page .cs-cpn-hero .cpn-btn-primary {
  background: var(--cpn-blue) !important;
  border: 2px solid var(--cpn-blue) !important;
  color: #fff !important;
}

.cs-cpn-page .cs-cpn-hero .cpn-btn-primary:hover {
  background: #0f66e0 !important;
  border-color: #0f66e0 !important;
  color: #fff !important;
}

.cs-cpn-page .cs-cpn-hero .cpn-btn-outline {
  background: #fff !important;
  border: 2px solid #d7e2ef !important;
  color: var(--cpn-ink) !important;
}

.cs-cpn-page .cs-cpn-hero .cpn-btn-outline:hover {
  border-color: var(--cpn-blue) !important;
  color: var(--cpn-blue) !important;
}

.cs-cpn-page .cs-cpn-hero .cpn-action-link {
  color: var(--cpn-blue) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
}

.cs-cpn-page .cs-cpn-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 0;
}

.cs-cpn-page .cs-cpn-hero__visual img {
  display: block;
  width: min(100%, 300px);
  height: auto;
  filter: drop-shadow(0 16px 28px rgba(15, 40, 80, 0.14));
}

.cs-cpn-page .cs-cpn-hero__visual--left img {
  width: min(100%, 240px);
}

.cs-cpn-page .cs-cpn-hero__visual--right img {
  width: min(100%, 300px);
}

/* Hide legacy breadcrumb once hero has crumbs */
.cs-cpn-page > .breadcrumb_nw {
  display: none !important;
}

/* ===== Body layout ===== */
.cs-cpn-page .main_coupon_sec {
  padding: 28px 0 12px;
}

.cs-cpn-page .main_coupon_sec > .container {
  max-width: 1180px;
}

.cs-cpn-page .main_coupon_sec .row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.cs-cpn-page .main_coupon_sec .coupon-codes-sidebar {
  max-width: 300px;
  flex: 0 0 300px;
  -ms-flex: 0 0 300px;
}

.cs-cpn-page .main_coupon_sec .coupon-codes-main-content {
  flex: 0 0 calc(100% - 300px);
  -ms-flex: 0 0 calc(100% - 300px);
  max-width: calc(100% - 300px);
}

.cs-cpn-page .coupon-codes-sidebar .allstore-left-content-1 {
  background: var(--cpn-card);
  border: 1px solid var(--cpn-border);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 8px 24px rgba(10, 19, 36, 0.05);
}

.cs-cpn-page .available_cpn h6,
.cs-cpn-page .available_cpn h6.br-count,
.cs-cpn-page .available_cpn .h6 {
  color: var(--cpn-ink) !important;
  font-weight: 800 !important;
  margin-bottom: 12px !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
}

.cs-cpn-page .cpn-count-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  padding: 12px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.1), rgba(62, 203, 255, 0.08));
  border: 1px solid rgba(22, 119, 255, 0.14);
}

.cs-cpn-page .cpn-count-header::before {
  content: "\f02b";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--cpn-blue);
  font-size: 18px;
  line-height: 1.2;
  margin-top: 2px;
}

.cs-cpn-page .cpn-count-header h6.br-count {
  margin: 0 !important;
  font-size: 15px !important;
}

.cs-cpn-page .cpn-count-header h6.br-count br {
  display: none;
}

.cs-cpn-page .cpn-count-header h6.br-count::after {
  content: " available today";
  font-weight: 600;
  color: var(--cpn-muted);
}

.cs-cpn-page .custom-checkbox {
  margin-bottom: 8px !important;
}

.cs-cpn-page .custom-checkbox label {
  color: var(--cpn-ink) !important;
  font-weight: 600 !important;
  font-size: 14px;
  line-height: 20px !important;
}

.cs-cpn-page .custom-checkbox label::before {
  background-color: #fff !important;
  border-color: #c5d3e0 !important;
}

.cs-cpn-page .nw_cpn_scrollbar {
  margin-bottom: 12px;
}

.cs-cpn-page .coupon-codes-sidebar p,
.cs-cpn-page .coupon-codes-sidebar li {
  color: var(--cpn-muted) !important;
  font-size: 13px;
  line-height: 1.5 !important;
  font-weight: 500 !important;
}

.cs-cpn-page .coupon-codes-sidebar a {
  color: var(--cpn-blue);
}

.cs-cpn-page .available_cpn.d-flex h6 {
  color: var(--cpn-blue) !important;
  margin: 0 !important;
}

/* Sidebar search removed from hero relocation — keep filters tidy */
.cs-cpn-page .coupon-codes-sidebar .cpn-search-hero {
  display: none !important;
}

/* ===== Main column ===== */
.cs-cpn-page .cpn_data_sec h4 {
  color: var(--cpn-ink) !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  margin: 0 0 18px !important;
  letter-spacing: -0.01em;
}

.cs-cpn-page .cpn_data_sec > .cpn-action-bar {
  display: none; /* CTAs live in hero */
}

.cs-cpn-page .cpn_data_sec .text_sec {
  min-height: 0 !important;
}

.cs-cpn-page .ajaxcouponsection.row {
  margin-left: -10px;
  margin-right: -10px;
}

.cs-cpn-page .ajaxcouponsection > [class*="col-"] {
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  align-items: stretch;
}

/* ===== Coupon cards ===== */
.cs-cpn-page .coupon_type,
.cs-cpn-page .cs-cpn-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  border: 1px solid var(--cpn-border) !important;
  border-radius: 16px !important;
  padding: 18px 16px 14px !important;
  background: var(--cpn-card) !important;
  margin-bottom: 20px !important;
  box-shadow: 0 6px 18px rgba(10, 19, 36, 0.05);
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.cs-cpn-page .coupon_type:hover,
.cs-cpn-page .cs-cpn-card:hover {
  border-color: rgba(22, 119, 255, 0.28) !important;
  box-shadow: 0 12px 28px rgba(10, 19, 36, 0.1);
  transform: translateY(-2px);
}

.cs-cpn-page .cs-cpn-card__top,
.cs-cpn-page .coupon_type > .d-flex:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px !important;
}

.cs-cpn-page .coupon_type img.cs-store-logo,
.cs-cpn-page .cs-cpn-card img.cs-store-logo {
  max-width: 72px !important;
  max-height: 40px !important;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cs-cpn-page .coupon_type h3,
.cs-cpn-page .cs-cpn-card__off {
  margin: 0 !important;
  color: var(--cpn-green) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.cs-cpn-page .cs-cpn-card__store {
  margin: 0 0 4px;
  color: var(--cpn-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cs-cpn-page .cpn_data_sec h5,
.cs-cpn-page .cs-cpn-card__title,
.cs-cpn-page .coupon_type .text_sec h5 {
  color: var(--cpn-ink) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  margin: 0 0 8px !important;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.7em;
}

.cs-cpn-page .coupon_type .text_sec p,
.cs-cpn-page .cs-cpn-card__desc {
  margin: 0 0 10px !important;
  color: var(--cpn-muted) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 4.35em;
}

.cs-cpn-page .coupon_type .text_sec,
.cs-cpn-page .cs-cpn-card .text_sec {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.cs-cpn-page .cs-cpn-card__meta {
  margin-top: auto;
}

.cs-cpn-page .coupon_type .cut_cpn,
.cs-cpn-page .cs-cpn-card .cut_cpn {
  margin-top: 12px;
}

.cs-cpn-page .text_sec button,
.cs-cpn-page .desp_readmore_popup {
  color: var(--cpn-blue) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.cs-cpn-page .cs-cpn-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--cpn-green);
  font-size: 12px;
  font-weight: 700;
}

.cs-cpn-page .cs-cpn-card__meta i {
  font-size: 13px;
}

.cs-cpn-page .coupon_type > hr {
  display: none !important;
}

.cs-cpn-page .cut_cpn {
  margin-top: auto;
  position: relative;
  text-align: left !important;
}

.cs-cpn-page .cut_cpn > img {
  display: none !important;
}

.cs-cpn-page .cut_cpn > span[id$="_ccs"] {
  display: none;
  margin: 0 0 6px !important;
  padding: 0 !important;
  color: var(--cpn-green) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.cs-cpn-page .cut_cpn h5.tooltipA {
  margin: 0 !important;
}

.cs-cpn-page .cut_cpn h5 .coupan_code_defult1,
.cs-cpn-page .cs-cpn-card .coupan_code_defult1 {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin: 0 !important;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  border: 1px dashed rgba(22, 119, 255, 0.45) !important;
  background: linear-gradient(180deg, #f3f8ff 0%, #eaf3ff 100%) !important;
  color: var(--cpn-blue) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  box-shadow: none !important;
}

.cs-cpn-page .cut_cpn h5 .coupan_code_defult1:hover {
  border-color: var(--cpn-blue) !important;
  background: #e8f1ff !important;
}

.cs-cpn-page .tooltipA .tooltiptextB {
  width: 120px;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
}

.cs-cpn-page .load-more-coupon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin: 8px 0 20px;
  padding: 11px 28px;
  border-radius: 12px;
  background: var(--cpn-blue) !important;
  border: 2px solid var(--cpn-blue) !important;
  color: #fff !important;
  font-weight: 800;
}

.cs-cpn-page .load-more-coupon-btn:hover,
.cs-cpn-page .load-more-coupon-btn:focus {
  background: transparent !important;
  color: var(--cpn-blue) !important;
}

.cs-cpn-page .cpn-empty-state {
  border-color: rgba(22, 119, 255, 0.28) !important;
  background: rgba(22, 119, 255, 0.05) !important;
}

.cs-cpn-page .cpn-empty-state .cpn-btn-primary {
  background: var(--cpn-blue);
  border-color: var(--cpn-blue);
  color: #fff;
  border-radius: 12px;
}

/* ===== Trust bar ===== */
.cs-cpn-page .cs-cpn-trust {
  margin: 8px 0 28px;
  padding: 0 0 8px;
}

.cs-cpn-page .cs-cpn-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: #fff;
  border: 1px solid var(--cpn-border);
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 6px 18px rgba(10, 19, 36, 0.04);
}

.cs-cpn-page .cs-cpn-trust__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cs-cpn-page .cs-cpn-trust__icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 119, 255, 0.1);
  color: var(--cpn-blue);
  font-size: 16px;
}

.cs-cpn-page .cs-cpn-trust__item strong {
  display: block;
  margin: 0 0 4px;
  color: var(--cpn-ink);
  font-size: 14px;
  font-weight: 800;
}

.cs-cpn-page .cs-cpn-trust__item span {
  display: block;
  color: var(--cpn-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

/* ===== Lower SEO blocks ===== */
.cs-cpn-page .free_paid {
  padding: 28px 0 40px;
  background: #fff;
}

.cs-cpn-page .free_paid h2 {
  color: var(--cpn-ink) !important;
  font-weight: 800 !important;
}

.cs-cpn-page .free_paid h2:after {
  background: var(--cpn-blue) !important;
}

.cs-cpn-page .free_paid .row {
  background: var(--cpn-soft) !important;
  border: 1px solid var(--cpn-border);
  border-radius: 16px !important;
}

.cs-cpn-page .free_paid p,
.cs-cpn-page .free_paid li {
  color: var(--cpn-muted) !important;
}

.cs-cpn-page .free_paid a {
  color: var(--cpn-blue);
}

.cs-cpn-page .cpn-hub-seo {
  background: #fff;
}

.cs-cpn-page .cpn-hub-seo a {
  color: var(--cpn-blue);
}

.cs-cpn-page .cpn-store-az-index {
  background: var(--cpn-soft);
  border-top: 1px solid var(--cpn-border);
}

.cs-cpn-page .cpn-store-az-index h2,
.cs-cpn-page .cpn-store-az-index__block h3 {
  color: var(--cpn-ink);
}

.cs-cpn-page .cpn-store-az-index__letters a {
  color: var(--cpn-blue);
}

.cs-cpn-page .cpn-store-az-index__list a {
  color: #1a4f7a;
}

/* ===== Responsive ===== */
/* Keep filter toggles tappable on tablet/mobile (override legacy pointer-events). */
@media only screen and (max-width: 991px) {
  .cs-cpn-page .available_cpn.cpn-filter-toggle {
    pointer-events: auto !important;
    cursor: pointer;
  }
  .cs-cpn-page .available_cpn.cpn-filter-toggle .h6 {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media only screen and (max-width: 991px) {
  .cs-cpn-page .cs-cpn-hero {
    padding: calc(var(--cs-sticky-offset, 64px) + 4px) 0 20px;
  }

  .cs-cpn-page .cs-cpn-hero__stage {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cs-cpn-page .cs-cpn-hero__visual--left {
    display: none;
  }

  .cs-cpn-page .cs-cpn-hero__visual--right {
    order: -1;
  }

  .cs-cpn-page .cs-cpn-hero__visual--right img {
    width: min(100%, 240px);
  }

  .cs-cpn-page .main_coupon_sec .coupon-codes-sidebar,
  .cs-cpn-page .main_coupon_sec .coupon-codes-main-content {
    max-width: 100% !important;
    flex: 0 0 100% !important;
    -ms-flex: 0 0 100% !important;
  }

  .cs-cpn-page .coupon-codes-main-content {
    padding-left: 15px !important;
  }

  .cs-cpn-page .cs-cpn-trust__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cs-cpn-page .cs-cpn-hero .cpn-btn {
    width: auto;
    flex: 1 1 auto;
  }

  .cs-cpn-page .cs-cpn-hero .cpn-action-link {
    width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .cs-cpn-page .cs-cpn-hero {
    padding: calc(var(--cs-sticky-offset, 64px) + 2px) 0 16px;
  }

  .cs-cpn-page .cs-cpn-hero h1 {
    font-size: clamp(26px, 7vw, 34px) !important;
  }

  .cs-cpn-page .cs-cpn-hero__sub {
    font-size: 15px;
  }

  .cs-cpn-page .cs-cpn-hero .cpn-search-hero {
    max-width: 100%;
  }

  .cs-cpn-page .cs-cpn-hero .cpn-search-hero .csh-btn {
    padding: 0 14px;
  }

  .cs-cpn-page .cs-cpn-hero .cpn-search-hero .csh-btn i {
    display: inline-block;
  }

  .cs-cpn-page .cs-cpn-hero .cpn-search-hero .csh-btn-label {
    display: none;
  }

  .cs-cpn-page .cs-cpn-hero .cpn-search-hero .csh-icon {
    display: none;
  }

  .cs-cpn-page .cs-cpn-hero__trust {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 2px 3px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0;
  }

  .cs-cpn-page .cs-cpn-hero__trust li {
    gap: 2px;
    font-size: clamp(9px, 2.3vw, 11px);
    letter-spacing: -0.015em;
  }

  .cs-cpn-page .cs-cpn-hero__trust i {
    font-size: clamp(9px, 2.5vw, 12px);
  }

  .cs-cpn-page .cs-cpn-hero .cpn-action-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .cs-cpn-page .cs-cpn-hero .cpn-btn {
    width: 100%;
  }

  .cs-cpn-page .cs-cpn-chips {
    max-width: 100%;
  }

  .cs-cpn-page .cs-cpn-chip {
    min-height: 40px;
  }

  .cs-cpn-page .cpn_data_sec h4 {
    font-size: 20px !important;
    margin-bottom: 14px !important;
  }

  .cs-cpn-page .cs-cpn-trust__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cs-cpn-page .main_coupon_sec {
    padding-top: 18px;
  }
}

@media only screen and (max-width: 414px) {
  .cs-cpn-page .cs-cpn-hero__inner {
    padding: 0 14px;
  }

  .cs-cpn-page .coupon_type,
  .cs-cpn-page .cs-cpn-card {
    padding: 14px 12px 12px !important;
  }

  .cs-cpn-page .coupon_type h3,
  .cs-cpn-page .cs-cpn-card__off {
    font-size: 18px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cs-cpn-page .coupon_type,
  .cs-cpn-page .cs-cpn-card,
  .cs-cpn-page .cs-cpn-chip,
  .cs-cpn-page .cs-cpn-hero .cpn-btn {
    transition: none;
  }

  .cs-cpn-page .coupon_type:hover,
  .cs-cpn-page .cs-cpn-card:hover {
    transform: none;
  }
}
