/*!
  * Plugin:	Affiliate Coupons (Pro)
  * Name:	main.css
  */
.affcoups a.affcoups-coupon__button--code-reveal {
  position: relative;
  padding: 0;
}
.affcoups a.affcoups-coupon__button--code-reveal .affcoups-coupon__button-code {
  position: absolute;
  top: 0;
  left: auto;
  right: 0;
  bottom: 0;
  width: 40px;
  z-index: 4;
  background: #3a4fa8;
  border-radius: 0;
  color: #fff;
  text-align: right;
}
.affcoups a.affcoups-coupon__button--code-reveal .affcoups-coupon__button-text {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 40px);
  background: #e9eea8;
  border-radius: 0;
  transition: width 0.5s ease;
}
.affcoups a.affcoups-coupon__button--code-reveal .affcoups-coupon__button-text:after {
  display: none;
}
.affcoups a.affcoups-coupon__button--code-reveal:hover .affcoups-coupon__button-text,
.affcoups a.affcoups-coupon__button--code-reveal:focus .affcoups-coupon__button-text,
.affcoups a.affcoups-coupon__button--code-reveal:active .affcoups-coupon__button-text {
  width: calc(100% - 60px);
}
/* ── Modal: new design ── */
.affcoups .affcoups-modal {
  position: relative;
  padding: 0;
  width: auto;
  max-width: 500px;
  margin: 20px auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.affcoups .affcoups-modal button.mfp-close:hover,
.affcoups .affcoups-modal button.mfp-close:focus {
  background: transparent;
}

/* Small, centered brand mark — deliberately understated so the modal doesn't
   look Klook-branded / endorsed (independence is also stated in the disclaimer). */
.affcoups .affcoups-modal-coupon img.affcoups-coupon__image,
.affcoups .affcoups-modal-coupon a.affcoups-coupon__thumbnail img.affcoups-coupon__image {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 44px;
  height: auto;
  margin: 20px auto 0;
  object-fit: contain;
  border-radius: 0;
}
.affcoups .affcoups-modal-coupon a.affcoups-coupon__thumbnail {
  display: block;
  line-height: 0;
  text-align: center;
}

/* Inner content padding */
.affcoups .affcoups-modal__body {
  padding: 22px 24px 20px;
}

/* Title */
.affcoups .affcoups-modal-coupon .affcoups-coupon__title {
  display: block;
  margin: 0 0 6px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #1f2b45;
  line-height: 1.35;
}

/* Subtitle */
.affcoups .affcoups-modal__subtitle {
  text-align: center;
  font-size: 13px;
  color: #51607a;
  margin: 0 0 14px;
}

/* Code box */
.affcoups .affcoups-modal-coupon .affcoups-coupon__code {
  margin-bottom: 14px;
  border: 2px dashed #3b6fe0;
  background: #eef3ff;
  border-radius: 10px;
}
/* Strip the inner clipboard's own border/bg so only the outer box shows */
.affcoups .affcoups-modal-coupon .affcoups-coupon__code .affcoups-clipboard {
  background: transparent;
  border: none;
  margin: 0;
  padding: 16px 14px;
}
.affcoups .affcoups-modal-coupon .affcoups-coupon__code .affcoups-clipboard__text {
  font-size: 20px;
  line-height: 1;
  color: #3b6fe0;
  font-weight: 700;
  letter-spacing: .04em;
}

/* Description */
.affcoups .affcoups-modal-coupon .affcoups-coupon__description {
  margin: 0 0 16px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

/* Footer / CTA */
.affcoups .affcoups-modal-coupon .affcoups-coupon__footer {
  margin: 0;
}
.affcoups .affcoups-modal-coupon a.affcoups-coupon__button {
  display: block;
  background: linear-gradient(135deg, #5b8def, #3b6fe0) !important;
  box-shadow: 0 6px 14px rgba(59, 111, 224, .30);
  border: none;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px;
  border-radius: 999px;
  text-decoration: none;
  transition: filter 0.2s, box-shadow 0.2s;
}
.affcoups .affcoups-modal-coupon a.affcoups-coupon__button::after {
  display: none;
}
.affcoups .affcoups-modal-coupon a.affcoups-coupon__button:hover,
.affcoups .affcoups-modal-coupon a.affcoups-coupon__button:focus,
.affcoups .affcoups-modal-coupon a.affcoups-coupon__button:active {
  background: linear-gradient(135deg, #5384ec, #305fd4) !important;
  border: none;
  box-shadow: 0 8px 18px rgba(59, 111, 224, .38);
  color: #fff;
}

/* Brand text placeholder (shown when the logo is hidden for trademark safety) */
.affcoups .affcoups-modal__brand {
  display: table;
  margin: 22px auto 0;
  padding: 11px 22px;
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1f2b45;
  background: linear-gradient(135deg, #eef3ff, #f6f9ff);
  border: 1px solid #dbe5fb;
  border-radius: 10px;
}

/* Newsletter footer band */
.affcoups .affcoups-modal__newsletter {
  background: #f4f7fc;
  border-top: 1px solid #e6ebf2;
  padding: 18px 24px 20px;
}
.affcoups .affcoups-modal__newsletter-title {
  color: #1f2b45;
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 12px;
}
.affcoups .affcoups-newsletter-form {
  display: flex;
  gap: 8px;
}
.affcoups .affcoups-newsletter-email {
  flex: 1;
  padding: 11px 15px;
  border: 1px solid #dfe4ec;
  border-radius: 999px;
  font-size: 13px;
  outline: none;
  min-width: 0;
}
.affcoups .affcoups-newsletter-email:focus {
  border-color: #3b6fe0;
}
.affcoups .affcoups-newsletter-submit {
  background: linear-gradient(135deg, #5b8def, #3b6fe0);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s;
}
.affcoups .affcoups-newsletter-submit:hover {
  filter: brightness(0.96);
}
.affcoups .affcoups-newsletter-msg {
  color: #51607a;
  font-size: 12px;
  margin: 8px 0 0;
  display: none;
}
@media (max-width: 420px) {
  .affcoups .affcoups-newsletter-form {
    flex-direction: column;
  }
}
.affcoups .affcoups-coupon__search_filters {
  margin-bottom: 30px;
  padding: 10px 0;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: auto;
  width: 100%;
  max-width: 100%;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form label {
  margin: 0;
  font-size: 14px;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  padding: 3px 0;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container.searchbar label {
  flex-basis: 100%;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container.dropdowns {
  flex-wrap: nowrap;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container.dropdowns .search-dropdown-container {
  flex-basis: 18%;
  padding: 3px 8px 3px 0;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container.dropdowns .search-dropdown-container__order {
  flex-basis: 95px;
  padding-right: 0;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container.dropdowns .search-dropdown-container .search-dropdown {
  height: 36px;
  width: 100%;
  padding: 0 30px 0 10px;
  font-size: 13px;
  border: 1px solid lightgrey;
  background-color: #fff;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container .reset {
  flex-basis: auto;
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container .search-field {
  flex-grow: 1;
  width: calc(100% - 38px);
  height: 36px;
  margin: 6px 0 0;
  font-size: 14px;
  border: 1px solid #ebebeb;
  background-color: #fff;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container .search-submit {
  display: inline-block;
  height: 36px;
  width: auto;
  margin: 6px 0 0;
  padding: 0 18px;
  background-color: #69f0ae;
  border: none;
  border-radius: 3px;
  box-shadow: none;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  outline: none;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container .search-submit[type="reset"] {
  margin-bottom: 3px;
  padding: 0 12px;
  cursor: pointer;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container .search-submit:not([type="reset"]) {
  background-image: url("../../img/icon-search.png");
  background-position: 50%;
  background-size: 26px;
  background-repeat: no-repeat;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container .search-submit:visited {
  color: #222;
}
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container .search-submit:hover,
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container .search-submit:focus,
.affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container .search-submit:active {
  background-color: #52eea1;
  border: none;
  box-shadow: none;
  color: #222;
  outline: none;
  text-decoration: none;
}
@media (max-width: 768px) {
  .affcoups .affcoups-coupon__search_filters {
    max-width: 100%;
  }
  .affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container.searchbar {
    flex-basis: 100%;
  }
  .affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container.dropdowns {
    flex-wrap: wrap;
    flex-basis: 100%;
  }
  .affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container.dropdowns .search-dropdown-container {
    flex-basis: 100%;
    padding-right: 0;
  }
  .affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container.dropdowns .search-dropdown-container__order {
    flex-basis: 100%;
  }
  .affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container .reset {
    flex-basis: 100%;
    order: 3;
    padding: 12px 0 16px;
    border-bottom: 1px solid #d3d3d3;
  }
  .affcoups .affcoups-coupon__search_filters .search-filters-form .affcoups-coupon__search_container .search-submit[type="reset"] {
    flex-basis: 100%;
    margin-bottom: 0;
  }
}
.affcoups .affcoups-banner .affcoups-coupon {
  margin: 0 auto 30px auto;
  max-width: 800px;
}
.affcoups .affcoups-banner .affcoups-coupon__title {
  font-size: 16px;
  line-height: 20px;
}
.affcoups .affcoups-banner .affcoups-coupon__button {
  display: block;
}
.affcoups .affcoups-banner .affcoups-coupon__footer {
  margin-top: 10px;
  color: #304756;
  font-size: 13px;
  line-height: 1.6;
}
.affcoups .affcoups-widget-small .affcoups-coupon {
  max-width: 400px;
  margin: 0 auto 30px auto;
  padding: 10px;
  border: 1px solid #ebebeb;
}
.affcoups .affcoups-widget-small .affcoups-coupon__header {
  position: relative;
  max-width: 200px;
  margin: 0 auto;
}
.affcoups .affcoups-widget-small .affcoups-coupon__thumbnail {
  display: block;
  margin: 0 0 10px;
  padding: 0;
  font-size: 0;
  vertical-align: top;
}
.affcoups .affcoups-widget-small .affcoups-coupon__discount {
  position: absolute;
  top: 10px;
  left: 0;
  padding: 0.3em 0.5em 0.2em;
  font-size: 13px;
}
.affcoups .affcoups-widget-small .affcoups-coupon__content {
  text-align: center;
}
.affcoups .affcoups-widget-small .affcoups-coupon__title {
  font-size: 16px;
  line-height: 20px;
}
.affcoups .affcoups-widget-small .affcoups-coupon__code .affcoups-clipboard__text {
  font-size: 13px;
  line-height: 25px;
}
.affcoups .affcoups-widget-small .affcoups-coupon__code .affcoups-clipboard {
  display: inline-block;
}
.affcoups .affcoups-widget-small .affcoups-coupon__valid-dates {
  font-size: 12px;
  text-align: center;
}
.affcoups .affcoups-widget-small .affcoups-coupon__expiry-counter {
  font-size: 12px;
  text-align: center;
}
.affcoups .affcoups-widget-small .affcoups-coupon__footer {
  text-align: center;
}
.affcoups .affcoups-widget-small .affcoups-coupon__button {
  font-size: 13px;
  line-height: 35px;
  min-width: 50%;
}
.affcoups .affcoups-widget-small .affcoups-coupon__button .affcoups-coupon__button-icon {
  height: 14px;
  width: 14px;
}
.affcoups .affcoups-standard .affcoups-coupon--highlighted,
.affcoups .affcoups-coupons-grid .affcoups-coupon--highlighted,
.affcoups .affcoups-widget .affcoups-coupon--highlighted,
.affcoups .affcoups-widget-small .affcoups-coupon--highlighted,
.affcoups .affcoups-coupons-list .affcoups-coupon--highlighted {
  border: 2px solid #ffd700;
}
.affcoups .affcoups-standard .affcoups-coupon--style-light,
.affcoups .affcoups-coupons-grid .affcoups-coupon--style-light,
.affcoups .affcoups-coupons-list .affcoups-coupon--style-light,
.affcoups .affcoups-widget .affcoups-coupon--style-light,
.affcoups .affcoups-widget-small .affcoups-coupon--style-light {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.affcoups .affcoups-standard .affcoups-coupon--style-dark,
.affcoups .affcoups-coupons-grid .affcoups-coupon--style-dark,
.affcoups .affcoups-widget .affcoups-coupon--style-dark,
.affcoups .affcoups-widget-small .affcoups-coupon--style-dark,
.affcoups .affcoups-coupons-list .affcoups-coupon--style-dark {
  background: #212121;
}
.affcoups .affcoups-standard .affcoups-coupon--style-dark .affcoups-coupon__title,
.affcoups .affcoups-coupons-grid .affcoups-coupon--style-dark .affcoups-coupon__title,
.affcoups .affcoups-widget .affcoups-coupon--style-dark .affcoups-coupon__title,
.affcoups .affcoups-widget-small .affcoups-coupon--style-dark .affcoups-coupon__title,
.affcoups .affcoups-coupons-list .affcoups-coupon--style-dark .affcoups-coupon__title {
  color: #fff;
}
.affcoups .affcoups-standard .affcoups-coupon--style-dark .affcoups-coupon__content,
.affcoups .affcoups-coupons-grid .affcoups-coupon--style-dark .affcoups-coupon__content,
.affcoups .affcoups-widget .affcoups-coupon--style-dark .affcoups-coupon__content,
.affcoups .affcoups-widget-small .affcoups-coupon--style-dark .affcoups-coupon__content,
.affcoups .affcoups-coupons-list .affcoups-coupon--style-dark .affcoups-coupon__content {
  color: #ccc;
}
.affcoups .affcoups-standard .affcoups-coupon--style-dark .affcoups-coupon__types span,
.affcoups .affcoups-coupons-grid .affcoups-coupon--style-dark .affcoups-coupon__types span,
.affcoups .affcoups-widget .affcoups-coupon--style-dark .affcoups-coupon__types span,
.affcoups .affcoups-widget-small .affcoups-coupon--style-dark .affcoups-coupon__types span,
.affcoups .affcoups-coupons-list .affcoups-coupon--style-dark .affcoups-coupon__types span {
  color: #ccc;
}
.affcoups .affcoups-standard .affcoups-coupon--style-dark .affcoups-coupon__valid-dates,
.affcoups .affcoups-coupons-grid .affcoups-coupon--style-dark .affcoups-coupon__valid-dates,
.affcoups .affcoups-widget .affcoups-coupon--style-dark .affcoups-coupon__valid-dates,
.affcoups .affcoups-widget-small .affcoups-coupon--style-dark .affcoups-coupon__valid-dates,
.affcoups .affcoups-coupons-list .affcoups-coupon--style-dark .affcoups-coupon__valid-dates {
  color: #ccc;
}
.affcoups .affcoups-standard .affcoups-coupon--style-dark .affcoups-coupon__expiry-counter,
.affcoups .affcoups-coupons-grid .affcoups-coupon--style-dark .affcoups-coupon__expiry-counter,
.affcoups .affcoups-widget .affcoups-coupon--style-dark .affcoups-coupon__expiry-counter,
.affcoups .affcoups-widget-small .affcoups-coupon--style-dark .affcoups-coupon__expiry-counter,
.affcoups .affcoups-coupons-list .affcoups-coupon--style-dark .affcoups-coupon__expiry-counter {
  color: #ccc;
}
.affcoups .affcoups-standard .affcoups-coupon--style-dark .affcoups-coupon-code,
.affcoups .affcoups-coupons-grid .affcoups-coupon--style-dark .affcoups-coupon-code,
.affcoups .affcoups-widget .affcoups-coupon--style-dark .affcoups-coupon-code,
.affcoups .affcoups-widget-small .affcoups-coupon--style-dark .affcoups-coupon-code,
.affcoups .affcoups-coupons-list .affcoups-coupon--style-dark .affcoups-coupon-code {
  border-color: #545454;
}
.affcoups-load-more {
  text-align: center;
}
.affcoups-load-more .affcoups-coupon__button-load-more {
  display: inline-block;
  height: 36px;
  line-height: 36px;
  margin: 6px;
  padding: 0 25px;
  background: #69f0ae !important;
  border: none;
  border-radius: 3px;
  box-shadow: none;
  color: #222 !important;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.affcoups-load-more .affcoups-coupon__button-load-more:visited {
  color: #222;
}
.affcoups-load-more .affcoups-coupon__button-load-more:hover,
.affcoups-load-more .affcoups-coupon__button-load-more:focus,
.affcoups-load-more .affcoups-coupon__button-load-more:active {
  background-color: #52eea1 !important;
  border: none;
  box-shadow: none;
  color: #222 !important;
  outline: none;
  text-decoration: none;
}
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
}
.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}
.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}
.mfp-container:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.mfp-align-top .mfp-container:before {
  display: none;
}
.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}
.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}
.mfp-ajax-cur {
  cursor: progress;
}
.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: zoom-out;
}
.mfp-zoom {
  cursor: pointer;
  cursor: zoom-in;
}
.mfp-auto-cursor .mfp-content {
  cursor: auto;
}
.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.mfp-loading.mfp-figure {
  display: none;
}
.mfp-hide {
  display: none !important;
}
.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}
.mfp-preloader a {
  color: #CCC;
}
.mfp-preloader a:hover {
  color: #FFF;
}
.mfp-s-ready .mfp-preloader {
  display: none;
}
.mfp-s-error .mfp-content {
  display: none;
}
button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}
.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
}
.mfp-close:active {
  top: 1px;
}
.mfp-close-btn-in .mfp-close {
  color: #333;
}
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}
.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}
.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.mfp-arrow:active {
  margin-top: -54px;
}
.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
}
.mfp-arrow:before,
.mfp-arrow:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}
.mfp-arrow:after {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}
.mfp-arrow:before {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}
.mfp-arrow-left {
  left: 0;
}
.mfp-arrow-left:after {
  border-right: 17px solid #FFF;
  margin-left: 31px;
}
.mfp-arrow-left:before {
  margin-left: 25px;
  border-right: 27px solid #3F3F3F;
}
.mfp-arrow-right {
  right: 0;
}
.mfp-arrow-right:after {
  border-left: 17px solid #FFF;
  margin-left: 39px;
}
.mfp-arrow-right:before {
  border-left: 27px solid #3F3F3F;
}
.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}
.mfp-iframe-holder .mfp-close {
  top: -40px;
}
.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}
.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}
/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}
/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}
.mfp-figure:after {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444;
}
.mfp-figure small {
  color: #BDBDBD;
  display: block;
  font-size: 12px;
  line-height: 14px;
}
.mfp-figure figure {
  margin: 0;
}
.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}
.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px;
}
.mfp-image-holder .mfp-content {
  max-width: 100%;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
   * Remove all paddings around the image on small screen
   */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }
  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box;
  }
  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}
@media all and (max-width: 900px) {
  .mfp-arrow {
    transform: scale(0.75);
  }
  .mfp-arrow-left {
    transform-origin: 0;
  }
  .mfp-arrow-right {
    transform-origin: 100%;
  }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* =========================================================================
   Storefront template — "Savee"-style coupon cards (clean markup: .affcoups-sf__*)
   ========================================================================= */
.affcoups .affcoups-sf { display: block; }
.affcoups .affcoups-sf__card {
	display: grid;
	grid-template-columns: 110px 1fr auto;
	grid-template-areas: "badge body cta" "details details details";
	align-items: center;
	column-gap: 22px;
	row-gap: 2px;
	float: none; width: auto; max-width: none;
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 12px;
	padding: 24px;
	margin: 0 0 16px;
	box-shadow: 0 1px 2px rgba(20, 40, 80, .04);
	box-sizing: border-box;
}
.affcoups .affcoups-sf__badge { grid-area: badge; font-size: 22px; font-weight: 800; color: #3b6fe0; line-height: 1.12; text-align: center; }
/* Discount badge colour follows the chosen CTA style (Pill vs Affcoups). */
.affcoups .affcoups-coupon--cta-pill .affcoups-sf__badge { color: #3b6fe0; }
.affcoups .affcoups-coupon--cta-classic .affcoups-sf__badge { color: #414da4; }
/* Optional per-card vendor logo (replaces the discount badge) */
.affcoups .affcoups-sf__badge--logo { display: flex; align-items: center; justify-content: center; }
.affcoups .affcoups-sf__badge--logo .affcoups-sf__cardlogo { width: 96px; height: 54px; flex: 0 0 96px; box-sizing: border-box; }
/* Image logo: no box — just the wide logo sitting on the card. */
.affcoups .affcoups-sf__badge--logo .affcoups-sf__cardlogo:not(.affcoups-sf__logo--text) { border: 0; background: none; border-radius: 0; overflow: visible; padding: 0; }
/* Initials fallback keeps its tile. */
.affcoups .affcoups-sf__badge--logo .affcoups-sf__cardlogo.affcoups-sf__logo--text { font-size: 18px; }
.affcoups .affcoups-sf__tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 3px; }
.affcoups .affcoups-sf__tags .affcoups-sf__kind { margin: 0; }
.affcoups .affcoups-sf__discount-chip { display: inline-block; font-size: 12px; font-weight: 800; line-height: 1; color: #3b6fe0; background: #eef3ff; padding: 4px 9px; border-radius: 999px; }
.affcoups .affcoups-sf__body { grid-area: body; min-width: 0; }
/* Vertical separator between the discount/logo badge and the code+title body.
   Adjacent-sibling selector → shows only when a badge actually precedes it. */
.affcoups .affcoups-sf__badge + .affcoups-sf__body { border-left: 2px solid #e6ebf2; padding-left: 22px; }
.affcoups .affcoups-sf__kind { display: block; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #e0a200; margin: 0 0 3px; }
.affcoups .affcoups-sf__title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; }
.affcoups .affcoups-sf__title a,
.affcoups .affcoups-sf__title a.affcoups-coupon__title--code-reveal { color: #1f2b45 !important; text-decoration: none !important; box-shadow: none !important; }
.affcoups .affcoups-sf__title a:hover { color: #3b6fe0 !important; }
.affcoups .affcoups-sf__cta { grid-area: cta; }
.affcoups .affcoups-sf__details { grid-area: details; border-top: 1px solid #eef1f7; margin-top: 13px; padding-top: 11px; }
.affcoups .affcoups-sf__details-toggle {
	display: block; position: relative;
	padding-right: 26px;
	cursor: pointer; list-style: none;
	-webkit-user-select: none; user-select: none;
}
.affcoups .affcoups-sf__details-toggle::-webkit-details-marker { display: none; }
.affcoups .affcoups-sf__desc { font-size: 13px; color: #51607a; line-height: 1.55; }
/* Collapsed: clip the description to the first line. */
.affcoups .affcoups-sf__details:not([open]) .affcoups-sf__desc {
	display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
/* Chevron at the end of the first line — click to show all. */
.affcoups .affcoups-sf__details-toggle::after {
	content: ""; position: absolute; right: 7px; top: 5px;
	width: 7px; height: 7px;
	border-right: 2px solid #3b6fe0; border-bottom: 2px solid #3b6fe0;
	transform: rotate(45deg); transition: transform .2s;
}
.affcoups .affcoups-sf__details-toggle:hover::after { border-color: #2b56c0; }
.affcoups .affcoups-sf__details[open] .affcoups-sf__details-toggle::after { transform: rotate(-135deg); top: 8px; }

/* Buttons — one grey rounded pill (single shadow). The blue label sits ON TOP
   covering most of it, so the right edge is just the label's soft rounded curve
   (no hard seam). A small ~24px grey hint peeks; Code reveals more on hover,
   Deal shows a → arrow. */
.affcoups .affcoups-sf a.affcoups-coupon__button {
	position: relative !important;
	display: inline-block !important;
	width: 260px !important;
	min-width: 260px !important;
	height: 52px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	overflow: hidden;
	background: #fdf3c4 !important;
	box-shadow: 0 5px 13px rgba(59, 111, 224, .20) !important;
	text-decoration: none !important;
	vertical-align: middle;
}
.affcoups .affcoups-sf a.affcoups-coupon__button .affcoups-coupon__button-icon,
.affcoups .affcoups-sf a.affcoups-coupon__button .dashicons { display: none !important; }
.affcoups .affcoups-sf a.affcoups-coupon__button .affcoups-coupon__button-text {
	position: absolute !important;
	left: 0; top: 0; bottom: 0;
	height: 52px !important;
	width: calc(100% - 24px) !important;
	z-index: 2 !important;
	display: flex !important;
	align-items: center; justify-content: center;
	margin: 0 !important;
	background: linear-gradient(135deg, #5b8def, #3b6fe0) !important;
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	transition: width .35s ease;
	white-space: nowrap;
}
.affcoups .affcoups-sf a.affcoups-coupon__button .affcoups-coupon__button-text:after,
.affcoups .affcoups-sf a.affcoups-coupon__button .affcoups-coupon__button-text:before { content: none !important; display: none !important; }
.affcoups .affcoups-sf a.affcoups-coupon__button--code-reveal .affcoups-coupon__button-code {
	position: absolute !important;
	right: 0; top: 0; bottom: 0; left: auto !important;
	width: 78px !important;
	z-index: 1 !important;
	display: flex !important;
	align-items: center; justify-content: flex-end;
	padding: 0 12px 0 0 !important;
	margin: 0 !important;
	background: #eef1c4 !important;
	color: #5473de !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	border: 2px dashed #5473de !important;
	border-radius: 100px !important;
	box-shadow: none !important;
	text-align: right !important;
}
.affcoups .affcoups-sf a.affcoups-coupon__button--code-reveal:hover .affcoups-coupon__button-text,
.affcoups .affcoups-sf a.affcoups-coupon__button--code-reveal:focus .affcoups-coupon__button-text { width: calc(100% - 40px) !important; }
.affcoups .affcoups-sf a.affcoups-coupon__button:not(.affcoups-coupon__button--code-reveal) .affcoups-coupon__button-code { display: none !important; }
.affcoups .affcoups-sf a.affcoups-coupon__button:not(.affcoups-coupon__button--code-reveal):after {
	content: "\2192" !important;
	position: absolute;
	right: 0; top: 0; bottom: 0; left: auto;
	width: 78px;
	z-index: 1;
	display: flex !important;
	align-items: center; justify-content: flex-end;
	padding: 0 12px 0 0;
	background: #eef1c4 !important;
	border: 2px dashed #5473de !important; border-radius: 100px !important; box-shadow: none !important;
	color: #5473de !important;
	font-size: 16px; font-weight: 900; -webkit-text-stroke: 0.7px currentColor;
}

@media (max-width: 640px) {
	.affcoups .affcoups-sf__card {
		grid-template-columns: 82px 1fr;
		grid-template-areas: "badge body" "cta cta" "details details";
		column-gap: 14px; row-gap: 10px; padding: 16px 16px;
	}
	.affcoups .affcoups-sf__badge + .affcoups-sf__body { padding-left: 14px; }
	.affcoups .affcoups-sf__cta { justify-self: stretch; margin: 14px 0 6px 0; }
	.affcoups .affcoups-sf a.affcoups-coupon__button { width: 100% !important; min-width: 0 !important; }
}

/* ──────────────────────────────────────────────────────────────────────────
   CTA Button Style selector (_affcoups_cta_style — per vendor, beside the
   Coupon Template selector). Works on ANY template via a class added to each
   coupon container (the_classes → affcoups-coupon--cta-pill / --cta-classic):
     • Pill    → the Storefront pill design (blue gradient + dashed code peek)
     • Classic → the legacy Affcoups button (yellow label + solid code badge)
   No selection = each template's native look (Storefront pill, List/Grid
   classic) — nothing changes unless a style is chosen. The button markup is
   identical in every template (same affcoups_tpl_the_coupon_button() output:
   .affcoups-coupon__button with .affcoups-coupon__button-text +
   .affcoups-coupon__button-code), so this is pure styling. Keep the pill block
   in sync with the ".affcoups-sf a.affcoups-coupon__button" block above.
   ────────────────────────────────────────────────────────────────────────── */

/* ===== Pill style — forces the Storefront pill on any template ===== */
.affcoups .affcoups-coupon--cta-pill a.affcoups-coupon__button {
	position: relative !important;
	display: inline-block !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 260px !important;
	height: 52px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	overflow: hidden !important;
	background: #fdf3c4 !important;
	box-shadow: 0 5px 13px rgba(59, 111, 224, .20) !important;
	text-decoration: none !important;
	vertical-align: middle;
}
.affcoups .affcoups-coupon--cta-pill a.affcoups-coupon__button .affcoups-coupon__button-icon,
.affcoups .affcoups-coupon--cta-pill a.affcoups-coupon__button .dashicons { display: none !important; }
.affcoups .affcoups-coupon--cta-pill a.affcoups-coupon__button .affcoups-coupon__button-text {
	position: absolute !important;
	left: 0; top: 0; bottom: 0;
	height: 52px !important;
	width: calc(100% - 24px) !important;
	z-index: 2 !important;
	display: flex !important;
	align-items: center; justify-content: center;
	margin: 0 !important;
	background: linear-gradient(135deg, #5b8def, #3b6fe0) !important;
	color: #fff !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	transition: width .35s ease;
	white-space: nowrap;
}
.affcoups .affcoups-coupon--cta-pill a.affcoups-coupon__button .affcoups-coupon__button-text:after,
.affcoups .affcoups-coupon--cta-pill a.affcoups-coupon__button .affcoups-coupon__button-text:before { content: none !important; display: none !important; }
.affcoups .affcoups-coupon--cta-pill a.affcoups-coupon__button--code-reveal .affcoups-coupon__button-code {
	position: absolute !important;
	right: 0; top: 0; bottom: 0; left: auto !important;
	width: 120px !important;
	z-index: 1 !important;
	display: flex !important;
	align-items: center; justify-content: flex-end;
	padding: 0 12px 0 0 !important;
	margin: 0 !important;
	background: #eef1c4 !important;
	color: #5473de !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	border: 2px dashed #5473de !important;
	border-radius: 100px !important;
	box-shadow: none !important;
	text-align: right !important;
}
.affcoups .affcoups-coupon--cta-pill a.affcoups-coupon__button--code-reveal:hover .affcoups-coupon__button-text,
.affcoups .affcoups-coupon--cta-pill a.affcoups-coupon__button--code-reveal:focus .affcoups-coupon__button-text { width: calc(100% - 40px) !important; }
.affcoups .affcoups-coupon--cta-pill a.affcoups-coupon__button:not(.affcoups-coupon__button--code-reveal) .affcoups-coupon__button-code { display: none !important; }
.affcoups .affcoups-coupon--cta-pill a.affcoups-coupon__button:not(.affcoups-coupon__button--code-reveal):after {
	content: "\2192" !important;
	position: absolute;
	right: 0; top: 0; bottom: 0; left: auto;
	width: 78px;
	z-index: 1;
	display: flex !important;
	align-items: center; justify-content: flex-end;
	padding: 0 12px 0 0;
	background: #eef1c4 !important;
	border: 2px dashed #5473de !important; border-radius: 100px !important; box-shadow: none !important;
	color: #5473de !important;
	font-size: 16px; font-weight: 900; -webkit-text-stroke: 0.7px currentColor;
}
@media (max-width: 640px) {
	.affcoups .affcoups-coupon--cta-pill a.affcoups-coupon__button { max-width: 100% !important; }
}
/* Pill inside Storefront: the card's "cta" grid track is auto-sized, so the base
   rule's width:100% resolves against a 0-width track and the button collapses
   (invisible). Pin a definite width here; full-width on mobile where the cta
   area stretches. Mirrors the Classic-in-Storefront fix below. */
.affcoups .affcoups-sf .affcoups-coupon--cta-pill a.affcoups-coupon__button {
	width: 260px !important;
	max-width: 100% !important;
}
@media (max-width: 640px) {
	.affcoups .affcoups-sf .affcoups-coupon--cta-pill a.affcoups-coupon__button { width: 100% !important; }
}

/* ===== Classic style — the legacy Affcoups button on any template =====
   A faithful copy of the native main.css classic button, so it renders
   identically on List/Grid (where it's already native) AND, thanks to
   !important + later source order, overrides the Storefront pill when "Affcoups
   Style" is chosen there. Covers both button types: the deal button (yellow card
   + dashed border + fixed blue → zone) and the code-reveal button (yellow "Show
   Code" layer that slides to reveal the blue code zone). overflow:hidden on the
   <a> + the code zone is what clips the code to a small right-edge peek. */
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button {
	display: block !important;
	width: auto !important;
	min-width: 0 !important;
	height: auto !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: hidden !important;
}
/* Deal button (no code) — flex centering + a 52px box (border-box: 48px content
   + 2px dashed border top/bottom) so it matches the code-reveal button exactly
   (that <a> is 48px text + 4px border = 52px). */
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button:not(.affcoups-coupon__button--code-reveal) {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
	height: 52px !important;
	padding: 0 52px 0 14px !important;
	background: #fff !important;
	box-shadow: inset 0 0 0 500px #e9eea8 !important;
	border: 2px dashed #3a4fa8 !important;
	color: #3a4fa8 !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	line-height: 1 !important;
	letter-spacing: 0.4px !important;
}
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button:not(.affcoups-coupon__button--code-reveal):hover { box-shadow: inset 0 0 0 500px #dde480 !important; }
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button:not(.affcoups-coupon__button--code-reveal) .affcoups-coupon__button-icon,
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button:not(.affcoups-coupon__button--code-reveal) .affcoups-coupon__button-text {
	position: relative !important;
	z-index: 1 !important;
	width: auto !important;
	background: transparent !important;
	color: #3a4fa8 !important;
}
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button:not(.affcoups-coupon__button--code-reveal)::after {
	content: '\2192' !important;
	position: absolute !important;
	top: 0; right: 0; left: auto !important;
	width: 40px !important;
	height: 100% !important;
	display: flex !important;
	align-items: center; justify-content: center;
	background: #3a4fa8 !important;
	border: 0 !important;
	border-radius: 0 !important;
	color: #fff !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	-webkit-text-stroke: 0 !important;
	z-index: 2 !important;
}
/* Code-reveal button */
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button--code-reveal {
	position: relative !important;
	background: #fff !important;
	border: 2px dashed #3a4fa8 !important;
	padding: 0 !important;
	line-height: 1 !important;
}
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button--code-reveal:hover,
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button--code-reveal:focus { background: #fff !important; border: 2px dashed #3a4fa8 !important; box-shadow: none !important; }
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button--code-reveal .affcoups-coupon__button-text {
	position: relative !important;
	z-index: 6 !important;
	display: flex !important;
	align-items: center; justify-content: center;
	gap: 5px;
	height: 48px !important;
	width: calc(100% - 40px) !important;
	background: #e9eea8 !important;
	color: #3a4fa8 !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	padding: 0 10px !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	white-space: nowrap;
	transition: width .5s ease;
}
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button--code-reveal .affcoups-coupon__button-text::after,
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button--code-reveal::after { content: none !important; display: none !important; }
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button--code-reveal .affcoups-coupon__button-code {
	position: absolute !important;
	top: 0; right: 0; bottom: 0; left: auto !important;
	width: 40px !important;
	overflow: hidden !important;
	z-index: 4 !important;
	display: flex !important;
	align-items: center; justify-content: flex-end;
	padding: 0 6px 0 0 !important;
	margin: 0 !important;
	background: #3a4fa8 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: inset 12px 1px 10px -4px rgba(0, 0, 0, 0.27) !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 3.5px !important;
	white-space: nowrap;
	text-align: right !important;
	transition: width .5s ease;
}
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button--code-reveal:hover .affcoups-coupon__button-text,
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button--code-reveal:focus .affcoups-coupon__button-text { width: calc(100% - 60px) !important; }
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button--code-reveal:hover .affcoups-coupon__button-code,
.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button--code-reveal:focus .affcoups-coupon__button-code { width: 60px !important; }
/* Classic inside Storefront: the card's "cta" grid track is auto-sized for the
   260px pill, so the classic button (which fills its parent) gets crushed —
   give it a definite width that matches the List action column (260px) so the
   CTA is the same size on both templates. Also re-show the hand icon the
   Storefront template hides by default ("affcoups-sf … button-icon{display:none}"
   above). */
.affcoups .affcoups-sf .affcoups-coupon--cta-classic a.affcoups-coupon__button {
	width: 260px !important;
	max-width: 100% !important;
}
.affcoups .affcoups-sf .affcoups-coupon--cta-classic a.affcoups-coupon__button .affcoups-coupon__button-icon {
	display: inline-block !important;
}
/* Mobile: classic CTA goes full-width on any template (Storefront's cta grid
   area already stretches on narrow screens; List's action column stacks). */
@media (max-width: 640px) {
	.affcoups .affcoups-coupon--cta-classic a.affcoups-coupon__button,
	.affcoups .affcoups-sf .affcoups-coupon--cta-classic a.affcoups-coupon__button { width: 100% !important; max-width: 100% !important; }
}

/* Storefront head — summary line + All/Coupons/Deals tabs */
.affcoups .affcoups-sf__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin: 0 0 16px;
}
.affcoups .affcoups-sf__summary { margin: 0; font-size: 14px; color: #51607a; font-weight: 600; }
.affcoups .affcoups-sf__tabs { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.affcoups .affcoups-sf__tab {
	-webkit-appearance: none; appearance: none;
	border: 1px solid #dfe4ec;
	background: #fff;
	color: #51607a;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	padding: 9px 16px;
	border-radius: 999px;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}
.affcoups .affcoups-sf__tab span { opacity: .65; font-weight: 600; margin-left: 3px; }
.affcoups .affcoups-sf__tab:hover { border-color: #b9c6dd; }
.affcoups .affcoups-sf__tab.is-active {
	background: linear-gradient(135deg, #5b8def, #3b6fe0);
	border-color: transparent;
	color: #fff;
}
.affcoups .affcoups-sf__tab.is-active span { opacity: .85; color: #fff; }
@media (max-width: 640px) {
	.affcoups .affcoups-sf__head { flex-direction: column; align-items: stretch; }
	.affcoups .affcoups-sf__tabs { justify-content: flex-start; }
}

/* Storefront header — store block (logo + name + counts) with the disclaimer
   beside it, tabs below. Overrides the earlier simple flex head. */
.affcoups .affcoups-sf__head { display: block; margin: 0 0 18px; }
.affcoups .affcoups-sf__intro {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 2px;
	padding: 16px 20px;
	margin: 0 0 14px;
	box-shadow: 0 1px 2px rgba(20, 40, 80, .04);
}
.affcoups .affcoups-sf__page-title { flex: 0 0 100%; margin: 0; font-size: 20px; font-weight: 800; line-height: 1.25; color: #1f2b45; }
.affcoups .affcoups-sf__store { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.affcoups .affcoups-sf__logo {
	width: 58px; height: 58px; flex: 0 0 58px;
	display: flex; align-items: center; justify-content: center;
	background: #fff; border: 1px solid #eef1f7; border-radius: 10px; overflow: hidden;
}
.affcoups .affcoups-sf__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.affcoups .affcoups-sf__logo--text {
	font-size: 19px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
	color: #1f2b45;
	background: linear-gradient(135deg, #f3f5f9, #fbfcfe);
	border-color: #e2e7ef;
}
.affcoups .affcoups-sf__store-meta { min-width: 0; }
.affcoups .affcoups-sf__store-name { display: inline-block; font-size: 17px; font-weight: 700; color: #1f2b45; text-decoration: none; line-height: 1.2; }
.affcoups .affcoups-sf__store-name:hover { color: #3b6fe0; }
.affcoups .affcoups-sf__summary { margin: 3px 0 0; font-size: 13px; color: #51607a; font-weight: 600; }
.affcoups .affcoups-sf__disclaimer {
	flex: 1 1 300px; min-width: 0; margin: 0;
	padding-left: 20px; border-left: 1px solid #eef1f7;
	font-size: 12px; color: #8a93a6; line-height: 1.55;
}
.affcoups .affcoups-sf__disclaimer strong { color: #6b7587; font-weight: 700; }
@media (max-width: 760px) {
	/* Full-bleed: the intro escapes the container padding to the viewport edges. */
	.affcoups .affcoups-sf__intro {
		gap: 12px;
		width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		border-radius: 0;
		border-left: 0; border-right: 0;
		padding: 16px 18px;
	}
	.affcoups .affcoups-sf__disclaimer { flex-basis: 100%; padding-left: 0; border-left: 0; padding-top: 12px; border-top: 1px solid #eef1f7; }
}
