/* =========================================================
   Sign-up form spruce-up  (scoped to .main-content-form)
   Uses runtime theme tokens: --primary-color (green),
   --primary-gradient (teal→green), --secondary-color (orange)
   ========================================================= */

.main-content-form {
  max-width: 468px;
  padding: 38px 38px 30px;
  border: 1px solid var(--input-border-color, #e6e6e6);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(2, 73, 89, 0.1);
}

/* ---- Bonus badge removed ---- */
.signup-bonus-badge,
.main-content-form .bonus-label,
.main-content-form .get-cashback-btn {
  display: none !important;
}

/* ---- Headings ---- */
.signup-form-heading {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 6px;
  text-wrap: balance;
}

@media (min-width: 992px) {
  .signup-form-heading { font-size: 30px; }
}

@media (min-width: 1440px) {
  .signup-form-heading { font-size: 34px; }
}

.main-content-form .post-note {
  color: var(--gray-10, #b4b4b4);
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 22px;
}

/* ---- Social buttons + OR divider ---- */
.main-content-form .other-login-btns {
  gap: 12px;
  margin-bottom: 18px;
}

.main-content-form .other-login-btns a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--input-border-color, #e6e6e6);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.main-content-form .other-login-btns a:hover {
  border-color: var(--primary-color);
  box-shadow: 0 6px 16px rgba(2, 73, 89, 0.12);
  transform: translateY(-1px);
}

.main-content-form .or-separator-wrapper {
  margin-bottom: 18px;
}

/* ---- Field labels & inputs ---- */
.main-content-form .input-label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--secondary-color);
}

.main-content-form .home-page-form .input-group {
  margin-top: 0;
}

.main-content-form .home-page-form .input-group .form-control {
  height: 52px;
  border-radius: 999px !important;
  background: var(--input-bg, #f5f5f5);
  border: 1px solid var(--input-border-color, #e6e6e6) !important;
  padding: 10px 48px 10px 20px !important;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.main-content-form .home-page-form .input-group .form-control:focus {
  background: #fff;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(120, 166, 64, 0.22) !important;
}

.main-content-form .home-page-form .input-group .form-control:hover {
  box-shadow: none;
}

.main-content-form .home-page-form .input-group-append .input-group-text img {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

/* spacing rhythm between blocks */
.main-content-form .home-page-form > div:not(:last-child) {
  margin-bottom: 18px;
}

/* ---- Terms / policy row ---- */
.signup-policy-row {
  width: 100%;
  margin: 2px 0 16px;
}

.signup-policy {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  text-align: left;
  cursor: pointer;
}

.signup-policy__box {
  -webkit-appearance: auto;
  appearance: auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 18px;
  float: none;
  border: 1.5px solid var(--input-border-color, #e6e6e6);
  border-radius: 5px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.signup-policy__box:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(120, 166, 64, 0.22);
}

.signup-policy__text {
  flex: 1 1 auto;
  line-height: 1.5;
  font-size: 14px;
  color: var(--dark-grey, #747474);
  white-space: normal;
  word-break: normal;
}

.signup-policy__text a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
  white-space: nowrap;
}

/* ---- "Did someone refer you?" toggle ---- */
.main-content-form .lb-refer-link {
  margin: -4px 0 16px;
}

.main-content-form .lb-refer-link a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}

.main-content-form .lb-refer-link a:hover {
  text-decoration: underline;
}

/* ---- Submit button ---- */
.main-content-form .lb-form-btn {
  margin-top: 4px;
  margin-bottom: 18px;
}

.main-content-form .joinBtn {
  height: 54px;
  border-radius: var(--btn-radius) !important;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.2px;
  background-color: var(--primary-color) !important;
  border: 0 !important;
  transition: background-color 0.2s ease;
}

.main-content-form .joinBtn:hover {
  background-color: var(--secondary-color) !important;
}

/* ---- Footer (already have an account / terms) ---- */
.main-content-form .form-bottom {
  padding-top: 4px;
}

.main-content-form .form-bottom .existing-user {
  font-size: 15px;
  margin-bottom: 10px;
}

.main-content-form .form-bottom .lb-terms {
  font-size: 12px;
  color: var(--gray-10, #b4b4b4) !important;
}

/* =========================================================
   Out-page (store interstitial) signup card layout
   ========================================================= */
.out-after .outpage-before-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(2, 73, 89, 0.12);
  background-color: #fff;
  border: 1px solid var(--input-border-color, #e6e6e6);
}

.out-after .out-before-store-info {
  margin: 0;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  max-width: none;
}

.out-after .main-content-form {
  margin-top: 0 !important;
  max-width: none !important;
  width: 100%;
  border: 0 !important;
  border-top: 1px solid var(--input-border-color, #e6e6e6) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 30px 34px 32px;
}

.out-after .outpage-before-form .out-before-store-info .out-info .out-store-logo {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  width: auto;
}

@media (max-width: 576px) {
  .main-content-form {
    padding: 28px 22px 24px;
    border-radius: 16px;
  }

  .out-after .main-content-form {
    padding: 24px 20px 26px;
  }
}

/* =========================================================
   Refer & Earn hero (new design)
   Desktop: image is absolutely positioned so the section height is
   driven by the panel content (keeps it compact + flush under the nav,
   cropping the illustration's empty margins). Mobile: stacked with the
   full illustration shown.
   ========================================================= */
.zen-refer-hero {
  position: relative;
  width: 100%;
  background: #fff;
  display: flex;
  align-items: stretch;
  /* Cancel the theme's `section { padding: 60px 0 }` so the media column sits
     flush under the top nav (that padding was the stray white bar). */
  padding: 0;
}

.zen-refer-hero__media {
  position: relative;
  flex: 0 0 48%;
  max-width: 48%;
  overflow: hidden;
}

/* Spacer locks the media column to the hero image's aspect ratio (1235x1274)
   so the whole illustration shows; the hero grows just enough to fit it. */
.zen-refer-hero__media::before {
  content: "";
  display: block;
  padding-top: 103.16%;
}

.zen-refer-hero__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.zen-refer-hero__panel {
  flex: 1 1 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 2.2vw, 32px);
  padding: clamp(32px, 3.4vw, 56px) clamp(32px, 4vw, 72px);
  background: rgba(255, 255, 255, 0.64);
}

.zen-refer-hero__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.1vw, 16px);
}

.zen-refer-hero__title {
  margin: 0;
}

.zen-refer-hero__desc {
  margin: 0;
}

.zen-refer-hero__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 1.6vw, 22px);
}

.zen-refer-hero__feature {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 1.4vw, 22px);
}

.zen-refer-hero__feature-icon {
  flex: 0 0 auto;
  width: clamp(42px, 3.6vw, 54px);
  height: clamp(42px, 3.6vw, 54px);
}

.zen-refer-hero__feature-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.zen-refer-hero__feature-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.zen-refer-hero__feature-title {
  margin: 0;
  color: var(--secondary-color);
}

.zen-refer-hero__feature-text {
  margin: 0;
}

.zen-refer-hero__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.zen-refer-hero__cta svg {
  width: 9px;
  height: 16px;
}

@media (max-width: 991px) {
  .zen-refer-hero {
    flex-direction: column;
  }

  .zen-refer-hero__media {
    position: static;
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .zen-refer-hero__media::before {
    display: none;
  }

  .zen-refer-hero__media img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .zen-refer-hero__panel {
    flex: none;
    margin-left: 0;
    max-width: 100%;
    padding: 26px 22px 40px;
    gap: 22px;
  }

  .zen-refer-hero__title {
    font-size: 32px;
  }

  .zen-refer-hero__cta {
    align-self: stretch;
    justify-content: center;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .zen-refer-hero__title {
    font-size: 44px;
  }
}

/* Make the whole Daily Deals / Top Deals card (style 3) clickable to the
   product page. The card is already position:relative; a stretched-link
   overlay covers it, while the store logo + store name stay clickable above. */
.deal-card-v2 .deal-card-v2__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  font-size: 0;
}
.deal-card-v2 .deals-st-wrapper {
  z-index: 2 !important;
}
.deal-card-v2 .deal-cb .store-name {
  position: relative;
  z-index: 2;
  width: -moz-fit-content;
  width: fit-content;
}
.deal-card-v2 {
  cursor: pointer;
}

/* =========================================================
   Homepage hero — reference typography + breathing room
   ========================================================= */
@media (min-width: 992px) {
  .zen-home-hero {
    --zen-hero-visual-h: clamp(450px, calc(100vh - 330px), 560px);
    margin-top: 0;
    padding-top: 0;
  }

  .zen-home-hero__inner {
    padding-top: 0;
    /* Clip the decorative hero blob at the hero's top edge so it can't bleed
       up behind the header / announcement bar. The trust bar is a sibling of
       __inner (absolutely positioned to the section), so it is unaffected. */
    overflow: clip;
  }

  .zen-home-hero__layout {
    padding-top: clamp(40px, 3.5vw, 56px);
    padding-bottom: clamp(16px, 1.8vw, 24px);
    column-gap: clamp(40px, 4.5vw, 88px);
  }

  .zen-home-hero__content {
    gap: clamp(22px, 1.6vw, 30px);
    max-width: 520px;
  }

  .zen-home-hero__headline {
    gap: clamp(14px, 1vw, 18px);
  }

  .zen-home-hero__title {
    /* Type ramp (D6): Type/6XL - 60px desktop, 40px below 992px */
    font-size: var(--zen-text-6xl);
    line-height: 1.02;
  }

  .zen-home-hero__underline {
    width: clamp(220px, 18vw, 360px);
  }

  .zen-home-hero__description {
    /* Type ramp: Type/L - 18px desktop, 16px below 992px */
    font-size: var(--zen-text-l);
    line-height: 1.55;
    max-width: 34ch;
  }

  .zen-home-hero__cta {
    /* Type ramp: Type/L (Button/Button Large) */
    font-size: var(--zen-text-l);
    gap: clamp(16px, 1.1vw, 22px);
    padding: clamp(7px, 0.5vw, 9px) clamp(7px, 0.5vw, 9px) clamp(7px, 0.5vw, 9px)
      clamp(20px, 1.4vw, 26px);
    border-radius: clamp(40px, 2.8vw, 54px);
  }

  .zen-home-hero__cta-arrow {
    width: clamp(42px, 2.8vw, 54px);
    height: clamp(42px, 2.8vw, 54px);
  }

  /* Straddle the white hero + green "How It Works" section 50/50 */
  .zen-home-hero__inner {
    padding-bottom: clamp(56px, 6vh, 72px);
  }

  .zen-home-hero__trust-bar {
    bottom: 0;
    transform: translate(-50%, 50%);
  }

  /* Homepage wraps hero in a div; HIW uses lb-refer-works (not bg-primary-gradient) */
  div:has(> .zen-home-hero) + section.lb-refer-works,
  .zen-home-hero + section.bg-primary-gradient {
    margin-top: 0;
    padding-top: clamp(88px, 10vh, 120px);
  }

  /* HIW may not be adjacent to hero (member-home sections between them) */
  section.lb-refer-works {
    padding-top: clamp(88px, 10vh, 120px);
  }
}

/* Type ramp: the ≥1440px hero size bump (64 / 22 / 28) is retired - the ramp has one desktop step (D6).
   Between 992 and 1399px the hero column is only ~340–390px, where 60px wraps "Earn rewards." onto two
   lines each; step the h1 down to Type/5XL (48px) there. From 1400px the column is ≥395px and 60px fits. */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .zen-home-hero__title { font-size: var(--zen-text-5xl); }
}

/* =========================================================
   Homepage membership — smaller type, tighter images, more air
   ========================================================= */
@media (min-width: 992px) {
  .zen-home-membership__inner {
    padding-top: clamp(40px, 4.5vw, 64px);
    padding-bottom: clamp(40px, 4.5vw, 64px);
    gap: clamp(56px, 6vw, 88px);
  }

  .zen-home-membership__row {
    column-gap: clamp(48px, 4.8vw, 80px);
    row-gap: clamp(28px, 2.4vw, 36px);
  }

  .zen-home-membership__media {
    min-height: clamp(260px, 18vw, 360px);
  }

  .zen-home-membership__content {
    gap: clamp(20px, 2vw, 28px);
  }

  .zen-home-membership__copy {
    gap: clamp(12px, 1.2vw, 16px);
  }

  .zen-home-membership__title {
    /* Type ramp (D6): Type/4XL - 40px desktop, 28px below 992px */
    font-size: var(--zen-text-4xl);
    line-height: 1.1;
  }

  .zen-home-membership__description {
    /* Type ramp: Type/L - 18px desktop, 16px below 992px */
    font-size: var(--zen-text-l);
    line-height: 1.55;
  }

  .zen-home-membership__cta {
    width: auto;
    align-self: flex-start;
    /* Type ramp: Type/XL (Button/Button Large) - 20px desktop, 18px below 992px */
    font-size: var(--zen-text-xl);
    padding: clamp(10px, 0.85vw, 12px) clamp(28px, 2vw, 36px);
  }
}

/* Type ramp: the ≥1440px membership size bump (36 / 22 / 22) is retired - one desktop step (D6) */

@media (min-width: 1025px) {
  .header-container {
    max-width: 1920px;
    padding-inline: clamp(24px, 5.2vw, 100px);
  }

  .main-header .navbar {
    position: static;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .header-wrapper .header-left {
    flex: 0 0 auto;
    gap: 0;
  }

  .header-wrapper .header-left .lb-desktop-menu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    flex: 1;
    justify-content: center;
  }

  .header-wrapper .header-left .lb-desktop-menu a.menu-item {
    font-size: 15px;
    padding-bottom: 0;
  }

  .header-wrapper .header-left .lb-desktop-menu a.menu-item:hover::after {
    bottom: -8px;
  }

  /* Help (and other submenus): no dot; keep dropdown reachable across the hover gap */
  .header-wrapper .header-left .lb-desktop-menu li.plain-menu:not(.no-child-menu) {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: -12px;
  }

  .header-wrapper .header-left .lb-desktop-menu li.plain-menu:not(.no-child-menu) a.menu-item:hover::after {
    content: none;
  }

  .after-signin-menu a.menu-item:hover::after {
    content: none !important;
  }

  .header-wrapper .header-left .lb-desktop-menu li.plain-menu:not(.no-child-menu) .lb-plain-menu-container {
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    width: auto !important;
    min-width: 160px;
    overflow: visible !important;
    padding-top: 6px;
  }

  .header-wrapper .header-left .lb-desktop-menu li.plain-menu:not(.no-child-menu) .lb-plain-menu-container::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
  }

  .header-wrapper .header-right {
    flex-shrink: 0;
    margin-left: 0;
  }
}

/* =========================================================
   Logged-in member homepage — random category product grids
   ========================================================= */
.zen-member-home {
  background: #f5f5f5;
  padding: 0 0 clamp(48px, 5vw, 72px);
}

.zen-member-home__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 6vw, 96px);
  padding-top: clamp(24px, 3vw, 40px);
}

.zen-member-home__top-picks {
  margin: clamp(28px, 3vw, 48px) 0;
  background: #fff;
}

.zen-member-home__top-picks .trending-cashback-stores-section {
  background: transparent;
  padding: clamp(32px, 4vw, 48px) 0;
}

.zen-member-home__banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 0;
  background: linear-gradient(221.57deg, var(--zen-green) 0%, #024959 100%);
  min-height: clamp(96px, 12vw, 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 32px) clamp(16px, 4vw, 48px);
}

.zen-member-home__banner-logo {
  display: block;
  width: min(100%, clamp(240px, 38vw, 520px));
  height: auto;
  max-height: clamp(44px, 7vw, 72px);
  object-fit: contain;
}

.zen-member-home__row {
  display: grid;
  gap: clamp(20px, 2vw, 32px);
}

.zen-member-home__row--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767.98px) {
  .zen-member-home__row--pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

.zen-member-home__row--full {
  grid-template-columns: minmax(0, 1fr);
}

.zen-member-home__section {
  min-width: 0;
}

.zen-member-home__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(12px, 1.2vw, 18px);
  flex-wrap: wrap;
}

.zen-member-home__section-title {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.15;
  color: #000;
}

@media (min-width: 1440px) {
  .zen-member-home__section-title { font-size: 22.5px; }
}

.zen-member-home__row--full .zen-member-home__section-title {
  font-size: 15px;
}

@media (min-width: 1440px) {
  .zen-member-home__row--full .zen-member-home__section-title { font-size: 24px; }
}

.zen-member-home__section-tools {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 20px);
  flex-wrap: wrap;
  justify-content: flex-end;
  --zen-member-control-h: 42px;
}

@media (max-width: 767.98px) {
  .zen-member-home__section-tools {
    --zen-member-control-h: 36px;
  }
}

.zen-member-home__section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--zen-member-control-h, 42px);
  padding: 0 clamp(14px, 1.2vw, 20px);
  border-radius: 12px;
  background: transparent;
  border: 2px solid #024959;
  font-size: 14px;
  font-weight: 600;
  color: #024959;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 1440px) {
  .zen-member-home__section-link { font-size: 16px; }
}

@media (max-width: 767.98px) {
  .zen-member-home__section-link {
    display: none;
  }
}

.zen-member-home__section-link:hover {
  text-decoration: none;
  background: #024959;
  color: #fff;
  border-color: #024959;
}

.zen-member-home__grid .deals-section-v2 {
  padding-top: 0;
}

.zen-member-home__grid .lb-deals-store {
  display: grid;
  gap: clamp(12px, 1.5vw, 24px);
  align-items: stretch;
}

@media (max-width: 575.98px) {
  .zen-member-home__grid .lb-deals-store {
    gap: 0.5rem;
  }
}

.zen-member-home__grid--paired .lb-deals-store {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zen-member-home__grid--full .lb-deals-store {
  grid-template-columns: repeat(var(--zen-member-cols, 5), minmax(0, 1fr));
}

@media (max-width: 1199.98px) {
  .zen-member-home__grid--full .lb-deals-store {
    grid-template-columns: repeat(min(var(--zen-member-cols, 5), 5), minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .zen-member-home__grid--full .lb-deals-store {
    grid-template-columns: repeat(min(var(--zen-member-cols, 4), 4), minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .zen-member-home__grid--full .lb-deals-store {
    grid-template-columns: repeat(min(var(--zen-member-cols, 3), 3), minmax(0, 1fr));
  }
}

.zen-member-home__grid--sparse .lb-deals-store {
  grid-template-columns: repeat(var(--zen-member-cols, 2), minmax(0, calc((100% - 4 * clamp(8px, 0.7vw, 12px)) / 5)));
  width: fit-content;
  max-width: 100%;
}

.zen-member-home .deal-card-v2--product,
.daily-deals-section .deal-card-v2--product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  height: 100%;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  --zen-card-title-size: 14px;
  --zen-card-price-now-size: 18px;
  --zen-card-price-was-size: 12px;
  --zen-card-badge-size: 11px;
  --zen-card-body-gap: 8px;
  --zen-card-cta-h: 30px;
  --zen-card-cta-size: 12px;
  --zen-card-title-line-h: 1.35;
}

@media (max-width: 1199.98px) {
  .zen-member-home .deal-card-v2--product,
  .daily-deals-section .deal-card-v2--product {
    --zen-card-title-size: 13px;
    --zen-card-price-now-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .zen-member-home .deal-card-v2--product,
  .daily-deals-section .deal-card-v2--product {
    --zen-card-title-size: 12px;
    --zen-card-price-now-size: 15px;
    --zen-card-price-was-size: 11px;
    --zen-card-badge-size: 10px;
    --zen-card-cta-h: 28px;
    --zen-card-cta-size: 11px;
  }
}

.zen-member-home .deal-card-v2--product .deal-card-v2__link,
.daily-deals-section .deal-card-v2--product .deal-card-v2__link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 12px;
}

.zen-member-home .deal-card-v2--product .deal-card-v2__visual,
.daily-deals-section .deal-card-v2--product .deal-card-v2__visual {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.zen-member-home .deal-card-v2--product .featured-img,
.daily-deals-section .deal-card-v2--product .featured-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 4%;
  transform: scale(1.1);
  transform-origin: center center;
  transition: transform 0.25s ease;
}

.zen-member-home .deal-card-v2--product .deal-card-v2__badge,
.daily-deals-section .deal-card-v2--product .deal-card-v2__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  max-width: calc(100% - 16px);
  padding: 5px 8px;
  border-radius: 6px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 1px 6px rgb(0 0 0 / 10%);
  font-size: var(--zen-card-badge-size);
  font-weight: 600;
  line-height: 1.25;
  color: var(--zen-green);
  text-align: right;
}

.zen-member-home .deal-card-v2--product .deal-card-v2__body,
.daily-deals-section .deal-card-v2--product .deal-card-v2__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--zen-card-body-gap);
  margin-top: 10px;
  padding: 0;
  min-height: 0;
  pointer-events: none;
}

.zen-member-home .deal-card-v2--product .deal-card-v2__info-title,
.daily-deals-section .deal-card-v2--product .deal-card-v2__info-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  flex-shrink: 0;
  height: calc(var(--zen-card-title-size) * var(--zen-card-title-line-h) * 2);
  font-size: var(--zen-card-title-size);
  font-weight: 600;
  line-height: var(--zen-card-title-line-h);
  color: #111;
}

.zen-member-home .deal-card-v2--product .deal-card-v2__footer,
.daily-deals-section .deal-card-v2--product .deal-card-v2__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  margin-top: auto;
  min-height: calc(var(--zen-card-cta-h) + 2px);
}

.zen-member-home .deal-card-v2--product .deal-card-v2__info-prices,
.daily-deals-section .deal-card-v2--product .deal-card-v2__info-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 2px;
  line-height: 1.15;
  min-width: 0;
  min-height: calc(
    var(--zen-card-price-now-size) * 1.15 + 2px + var(--zen-card-price-was-size) * 1.15
  );
}

.zen-member-home .deal-card-v2--product .deal-card-v2__info-now,
.daily-deals-section .deal-card-v2--product .deal-card-v2__info-now {
  font-size: var(--zen-card-price-now-size);
  font-weight: 700;
  color: #024959;
  letter-spacing: -0.02em;
}

.zen-member-home .deal-card-v2--product .deal-card-v2__info-was,
.daily-deals-section .deal-card-v2--product .deal-card-v2__info-was {
  font-size: var(--zen-card-price-was-size);
  font-weight: 500;
  color: #767676;
}

.zen-member-home .deal-card-v2--product .deal-card-v2__cta,
.daily-deals-section .deal-card-v2--product .deal-card-v2__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--zen-card-cta-h);
  padding: 0 12px;
  border-radius: var(--btn-radius);
  background: #fff;
  border: 1px solid rgb(0 0 0 / 12%);
  box-shadow: none;
  color: #024959;
  font-size: var(--zen-card-cta-size);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .zen-member-home .deal-card-v2--product:hover .featured-img,
  .daily-deals-section .deal-card-v2--product:hover .featured-img {
    transform: scale(1.14);
  }

  .zen-member-home .deal-card-v2--product:hover .deal-card-v2__cta,
  .daily-deals-section .deal-card-v2--product:hover .deal-card-v2__cta {
    background: var(--zen-green);
    border-color: var(--zen-green);
    color: #fff;
  }
}

.zen-member-home__empty {
  margin: 0;
  padding: 48px 16px;
  font-size: 18px;
}

.zen-member-products-slider-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zen-member-products-button-prev,
.zen-member-products-button-next {
  width: var(--zen-member-control-h, 48px);
  height: var(--zen-member-control-h, 48px);
  border: 2px solid rgba(2, 73, 89, 0.2);
  border-radius: 50%;
  background: transparent;
  color: #024959;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.zen-member-products-button-prev svg,
.zen-member-products-button-next svg {
  width: 45%;
  height: 45%;
}

.zen-member-products-button-prev:hover:not(.swiper-button-disabled),
.zen-member-products-button-next:hover:not(.swiper-button-disabled) {
  background: #024959;
  border-color: #024959;
  color: #fff;
}

.zen-member-products-button-prev.swiper-button-disabled,
.zen-member-products-button-next.swiper-button-disabled {
  color: rgba(0, 0, 0, 0.28);
  border-color: rgba(0, 0, 0, 0.14);
  cursor: not-allowed;
  pointer-events: none;
}

.zen-member-products-slider-wrapper {
  position: relative;
  min-width: 0;
}

.zen-member-products-slider-wrapper .zen-member-products-slider {
  overflow: hidden;
}

.zen-member-products-slider-wrapper .swiper-slide {
  display: flex;
  height: auto;
}

.zen-member-products-slider-wrapper .swiper-slide .deal-card-v2--product {
  width: 100%;
}

.daily-deals-section .deals-slider-wrapper .swiper-slide {
  display: flex;
  height: auto;
}

.daily-deals-section .deals-slider-wrapper .swiper-slide .deal-card-v2--product {
  width: 100%;
}

/* Force black text on policy/legal pages only (scoped by page slug class) */
.page-privacy-policy .container p,
.page-privacy-policy .container h1,
.page-privacy-policy .container h2,
.page-privacy-policy .container h3,
.page-privacy-policy .container h4,
.page-privacy-policy .container h5,
.page-privacy-policy .container h6,
.page-privacy-policy .container li,
.page-privacy-policy .container td,
.page-privacy-policy .container span,
.page-terms-of-use .container p,
.page-terms-of-use .container h1,
.page-terms-of-use .container h2,
.page-terms-of-use .container h3,
.page-terms-of-use .container h4,
.page-terms-of-use .container h5,
.page-terms-of-use .container h6,
.page-terms-of-use .container li,
.page-terms-of-use .container td,
.page-terms-of-use .container span,
.page-policies-procedures .container p,
.page-policies-procedures .container h1,
.page-policies-procedures .container h2,
.page-policies-procedures .container h3,
.page-policies-procedures .container h4,
.page-policies-procedures .container h5,
.page-policies-procedures .container h6,
.page-policies-procedures .container li,
.page-policies-procedures .container td,
.page-policies-procedures .container span,
.page-e-sign-consent-policy .container p,
.page-e-sign-consent-policy .container h1,
.page-e-sign-consent-policy .container h2,
.page-e-sign-consent-policy .container h3,
.page-e-sign-consent-policy .container h4,
.page-e-sign-consent-policy .container h5,
.page-e-sign-consent-policy .container h6,
.page-e-sign-consent-policy .container li,
.page-e-sign-consent-policy .container td,
.page-e-sign-consent-policy .container span,
.page-arbitration-policy .container p,
.page-arbitration-policy .container h1,
.page-arbitration-policy .container h2,
.page-arbitration-policy .container h3,
.page-arbitration-policy .container h4,
.page-arbitration-policy .container h5,
.page-arbitration-policy .container h6,
.page-arbitration-policy .container li,
.page-arbitration-policy .container td,
.page-arbitration-policy .container span {
  color: #000 !important;
}

/* Hide meta description paragraph in page banners */
.page-banner .description {
  display: none;
}

.info-box-description a { text-decoration: underline !important; }

/* =========================================================
   Cookie consent banner
   Toggled via config('pcb.cookie_consent.enabled') in pcb.php.
   Uses runtime theme tokens (--primary-color, --primary-gradient)
   with hard fallbacks so it renders correctly even if those
   aren't defined on a given page.
   ========================================================= */

.zen-cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    background: #024959;
    color: #fff;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
}

.zen-cookie-consent[hidden] {
    display: none;
}

.zen-cookie-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.zen-cookie-consent__text {
    flex: 1 1 320px;
    min-width: 0;
}

.zen-cookie-consent__text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.zen-cookie-consent__text a {
    color: #fff;
    text-decoration: underline;
}

.zen-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 0 0 auto;
}

.zen-cookie-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 13px;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.4;
    border: 1px solid transparent;
    background-clip: border-box;
    box-sizing: border-box;
    cursor: pointer;
    white-space: nowrap;
}

.zen-cookie-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.zen-cookie-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.zen-cookie-btn--primary {
    /* Flat fill, not var(--primary-gradient) - that token is
       teal(#024959)->green, and the teal end is identical to this
       banner's own background, so the gradient visually melted into
       the banner at that corner instead of reading as a filled button. */
    background: var(--primary-color, var(--zen-green));
    color: #fff;
}

.zen-cookie-btn--primary:hover {
    filter: brightness(1.05);
}

.zen-cookie-consent__panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px;
    display: grid;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
}

.zen-cookie-consent__panel[hidden] {
    display: none;
}

.zen-cookie-consent__category {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: default;
}

.zen-cookie-consent__category-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
}

.zen-cookie-consent__category-desc {
    font-size: 13px;
    opacity: 0.85;
    margin-left: 26px;
}

.zen-cookie-consent__panel .zen-cookie-btn--primary {
    justify-self: start;
}

@media (max-width: 576px) {
    .zen-cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .zen-cookie-consent__actions {
        justify-content: stretch;
    }

    .zen-cookie-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* ─── Associate Pages (myzenrewards.com/associate/{slug}) ───────────────
   Phase 1 functional styling - see docs/associate-deal-pages-plan.md.
   Brand tokens per plan section 2.3: teal #024959, green var(--zen-green), Karla.
   Stage 6 (see associate-deal-pages-status memory): the old big teal
   profile header this file used to have (avatar/name/bio/socials/
   disclosure, all centered on a dark band above the store grid) is gone -
   that content now lives on the About page instead (see
   .associate-about-* below), under the new persistent nav chrome
   (.associate-page-chrome). .associate-page-socials is kept and reused
   there (see .associate-about-socials for its light-background override). */
.associate-page-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.associate-page-socials a {
  color: #fff;
  font-size: 20px;
}
.associate-page-body {
  padding: 32px 0 56px;
}
.associate-page-note {
  font-size: 13px;
  color: #555;
  margin: 6px 0 0;
}
.associate-page-search {
  margin-bottom: 24px;
}
.associate-page-search input {
  width: 100%;
  max-width: 360px;
  /* 16px/20px, up from 10px/16px - Figma's search pill measures 56px
     tall (Home/Deals/Offers frames all match), this was closer to ~40px. */
  padding: 16px 20px;
  border: 1.5px solid #e5e7eb;
  border-radius: 999px;
  /* var(--assoc-body-font), not a hardcoded 'Karla' - this was silently
     overriding body.associate-page's own font-family binding, so a
     custom Body Font never actually reached the search input. */
  font-family: var(--assoc-body-font);
  font-size: 14px;
}
.associate-page-grid {
  display: grid;
  /* 232px, up from 180px - Figma's store/deal cards measure 232px wide
     in a 5-across row at this container width; 180px let auto-fill pack
     an extra (narrower, off-spec) 6th column in. */
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.associate-page-empty {
  text-align: center;
  padding: 48px 0;
  color: #777;
}
.associate-page-footer-note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 12px;
  color: #777;
}
.associate-page-footer-note a {
  display: inline-block;
  margin-top: 10px;
  color: var(--assoc-primary);
  font-weight: 700;
}
.associate-page-preview-banner {
  background: var(--zen-green);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
}

/* ─── Associate Pages - Stage 6: custom chrome + Deals/Offers/About ────
   See layouts/associate.blade.php and pages/associate/{home,deals,offers,
   about}.blade.php.

   Stage 8 (Page Settings) wires actual theming through: layouts/
   associate.blade.php emits --assoc-* custom properties on :root from the
   page's saved (or default) palette/typography, and the rules below read
   them instead of the old hardcoded #024959/var(--zen-green)/Karla - an
   un-customized page resolves to those exact values either way (see
   AssociatePageController::DEFAULT_PALETTE), so this is a no-visible-
   change refactor for anyone who hasn't touched Page Settings, and a real
   one for anyone who has. Only elements genuinely specific to the
   Associate page chrome/content are switched to --assoc-* vars here -
   sitewide-shared classes reused on this page (store-coupon-card, store-
   upto-amount, etc.) are deliberately left alone so an Associate's custom
   colors can't leak into the rest of the site; a couple of those are
   re-themed instead via a ".associate-page <shared-class>" override
   further below, scoped to just this page. */
body.associate-page {
  background: var(--assoc-background);
  color: var(--assoc-primary-text);
  font-family: var(--assoc-body-font);
  font-size: var(--assoc-base-font-size);
}
.associate-page-chrome {
  /* Figma's primary-nav frame has no fill - it sits directly on the page
     background (body.associate-page's own --assoc-background above),
     not a separate filled bar. */
  background: none;
  padding: 16px 0;
}
.associate-page-chrome-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.associate-page-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Was --assoc-hero-promo-text (white), sized for the old filled-navy
     bar - unreadable once the bar has no fill. Figma has this text as
     the page's primary text color. */
  color: var(--assoc-primary-text);
  text-decoration: none;
}
.associate-page-brand-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.associate-page-brand-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--assoc-accent);
  color: var(--assoc-hero-promo-text);
  font-size: 15px;
  font-weight: 700;
}
.associate-page-brand-name {
  font-family: var(--assoc-heading-font);
  font-weight: 700;
  font-size: 16px;
}
.associate-page-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.associate-page-nav a {
  color: var(--assoc-primary-text);
  opacity: 0.8;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.associate-page-nav a:hover,
.associate-page-nav a.is-active {
  opacity: 1;
  border-bottom-color: var(--assoc-accent);
}

.associate-page-title {
  font-family: var(--assoc-heading-font);
  font-size: calc(26px * var(--assoc-heading-scale, 1) / 1.25);
  font-weight: 700;
  margin: 32px 0 20px;
}

.associate-category-row { margin-bottom: 32px; }
.associate-category-row-header h2 {
  font-family: var(--assoc-heading-font);
  font-size: calc(20px * var(--assoc-heading-scale, 1) / 1.25);
  font-weight: 700;
  margin: 0 0 24px;
}

/* Home's top-level "Deals" / "Offers & Coupons" section headings (direct
   user request to split the two) - a level above the per-category row
   titles (.associate-carousel-header h2), so it's larger and gets a
   divider rule to read as a real section break rather than just another
   row title. */
.associate-home-section-heading {
  font-family: var(--assoc-heading-font);
  font-size: calc(28px * var(--assoc-heading-scale, 1) / 1.25);
  font-weight: 700;
  color: var(--assoc-primary-text);
  margin: 40px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--assoc-border);
}
.associate-home-section-heading:first-of-type { margin-top: 24px; }

/* Shared sitewide classes, re-themed but scoped to this page only (see
   the note above) - keeps an Associate's custom accent visible on price/
   cashback text without touching that class's definition everywhere
   else on the site. */
.associate-page .store-upto-amount,
.associate-page .associate-deal-offer-price,
.associate-page .deal-card-v2 .deals-current-amount {
  color: var(--assoc-accent);
}
.associate-page .deal-card-v2 .store-name {
  color: var(--assoc-primary);
}
.associate-scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  list-style: none;
  padding: 4px 0 8px;
  margin: 0;
  scroll-snap-type: x proximity;
  /* No visible scrollbar - matches every other horizontally-scrolling
     row sitewide that has its own drag/arrow/touch navigation instead
     (e.g. member-home's card strip, home-hero's trust-track) rather than
     this page's own scrollbar being the sitewide global-styled one
     (::-webkit-scrollbar in custom.scss) that every OTHER scrollable
     area uses - a category row here has its own carousel-scroll arrows,
     it doesn't need a visible scrollbar too. */
  scrollbar-width: none;
}
.associate-scroll-row::-webkit-scrollbar { display: none; }
.associate-scroll-row > li {
  /* 232px, up from 200px - matches the store/deal card width measured
     off Figma's category rows (see .associate-page-grid's own note). */
  flex: 0 0 232px;
  scroll-snap-align: start;
}

.associate-deal-store { font-size: 12px; color: #777; margin-top: 8px; }
.associate-deal-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--assoc-primary-text);
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.associate-deal-offer-price { font-weight: 700; font-size: 14px; }
.associate-deal-retail-price { font-size: 13px; color: #999; }

/* A curated Coupon has no price at all (a store-wide promo, not a priced
   product - see deal-card.blade.php/offer-row.blade.php's type check) -
   shown as a code/discount call-to-action in the price slot instead,
   same "Get Code"/"Get Discount" convention as this site's own
   components.coupon.card, re-themed to this page's --assoc-* accent
   instead of that component's fixed color. */
.associate-deal-coupon-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px dashed var(--assoc-accent);
  border-radius: 6px;
  padding: 4px 10px;
  margin-top: 6px;
}
.associate-offer-row-price.associate-deal-coupon-code { justify-content: flex-end; margin-top: 0; }
.daily-deals-info .associate-deal-coupon-code { margin-top: 0; }
.associate-deal-code-label { font-weight: 700; font-size: 13px; color: var(--assoc-accent); }
.associate-deal-code { font-size: 12px; color: var(--assoc-secondary-text); letter-spacing: 0.5px; }

/* Coupon CTA on the offer row rendered as a solid rounded-rectangle button,
   matching the public /coupons "Get Discount" button. */
.associate-offer-row .associate-offer-row-price.associate-deal-coupon-code {
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: none;
  padding: 0;
}
.associate-offer-row .associate-deal-code-label {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 14px;
  white-space: nowrap;
}

.associate-pill-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.associate-pill {
  background: var(--assoc-surface);
  border: 1.5px solid var(--assoc-border);
  border-radius: 999px;
  /* 12px/20px, up from 8px/18px - Figma's pills measure ~44px tall. */
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--assoc-primary);
  cursor: pointer;
}
.associate-pill.is-active {
  background: var(--assoc-primary);
  border-color: var(--assoc-primary);
  color: var(--assoc-hero-promo-text);
}

.associate-offer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
/* White card, matching the public /coupons offer cards (.hot-coupon-card look)
   while keeping the associate hybrid content (deal price OR coupon code). */
.associate-offer-row {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  box-shadow: 6px 6px 12.3px 0 rgba(204, 204, 204, 0.30);
}
.associate-offer-row-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  color: inherit;
}
.associate-offer-row-image {
  width: 96px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  outline: 1px solid #e5e7eb;
  outline-offset: -1px;
  border-radius: 8px;
  flex-shrink: 0;
}
.associate-offer-row-body { flex: 1; min-width: 0; }
.associate-offer-row-body .associate-deal-title { -webkit-line-clamp: 2; color: #024959; }
.associate-offer-row-price { text-align: right; flex-shrink: 0; }

/* Figma-fidelity pass: full-width banner + 2-column (profile card / 3
   stacked carousels) + a full-width "About Zen Rewards" card - replaces
   the old single-column centered-profile-then-one-picks-row layout. */
.associate-about-banner {
  background: linear-gradient(135deg, #024959, #033a45);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin-bottom: 24px;
}
.associate-about-banner-logo { max-width: 240px; height: auto; }

.associate-about-columns {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .associate-about-columns { grid-template-columns: 1fr; }
}

.associate-about-profile-card {
  background: var(--assoc-surface);
  border: 1px solid var(--assoc-border);
  border-radius: 16px;
  padding: 24px;
}
.associate-about-profile-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.associate-about-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.associate-about-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--assoc-accent);
  color: var(--assoc-hero-promo-text);
  font-size: 24px;
  font-weight: 700;
  font-family: var(--assoc-heading-font);
}
.associate-about-name {
  font-family: var(--assoc-heading-font);
  font-size: calc(22px * var(--assoc-heading-scale, 1) / 1.25);
  font-weight: 700;
  margin: 0 0 2px;
}
.associate-about-title { font-size: 14px; font-weight: 700; color: var(--assoc-primary); margin: 0 0 2px; }
.associate-about-tagline { font-size: 13px; color: var(--assoc-secondary-text); margin: 0; }

.associate-about-contact { margin-bottom: 16px; }
.associate-about-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--assoc-primary-text);
  padding: 6px 0;
  text-decoration: none;
}
.associate-about-contact-row i { color: var(--assoc-primary); width: 14px; text-align: center; }
.associate-about-contact-row:hover { text-decoration: underline; }

.associate-about-bio { font-size: 14px; line-height: 1.6; margin: 0 0 16px; }
.associate-about-socials.associate-page-socials { justify-content: flex-start; margin-bottom: 0; }
.associate-about-socials.associate-page-socials a { color: var(--assoc-primary); }
.associate-about-cta {
  display: inline-block;
  background: var(--assoc-accent);
  color: var(--assoc-hero-promo-text);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: var(--btn-radius);
  text-decoration: none;
  white-space: nowrap;
}

.associate-about-carousels { display: flex; flex-direction: column; gap: 28px; min-width: 0; }

.associate-about-zen-card {
  background: var(--assoc-surface);
  border: 1px solid var(--assoc-border);
  border-radius: 16px;
  padding: 24px;
}
.associate-about-zen-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.associate-about-zen-card-head h2 { font-family: var(--assoc-heading-font); font-size: 18px; font-weight: 700; margin: 0; }
.associate-about-zen-card p { font-size: 14px; line-height: 1.6; color: var(--assoc-secondary-text); margin: 0; }

/* Shared carousel row (About's 3 rows + Home's hero/category rows) */
.associate-carousel-block { min-width: 0; }
.associate-carousel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.associate-carousel-header h2 { font-family: var(--assoc-heading-font); font-size: 18px; font-weight: 700; margin: 0; }
.associate-carousel-nav { display: flex; gap: 8px; }
.associate-carousel-nav[hidden] { display: none; }
.associate-carousel-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--assoc-border);
  background: var(--assoc-surface);
  color: var(--assoc-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.associate-carousel-arrow:hover { background: var(--assoc-background); }
.associate-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.associate-carousel-store-card { flex: 0 0 140px; scroll-snap-align: start; }
.associate-carousel-store-card a { text-decoration: none; display: block; }
.associate-carousel-store-card img {
  width: 100%;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  outline: 1px solid var(--assoc-border);
  outline-offset: -1px;
  border-radius: 8px;
}
.associate-carousel-store-card .store-name-text { margin-top: 6px; font-size: 13px; text-align: center; }

@media (max-width: 600px) {
  .associate-page-chrome-inner { justify-content: center; text-align: center; }
  .associate-page-nav { justify-content: center; }
  .associate-scroll-row > li { flex-basis: 160px; }
}

/* Stage 7 - Interests & Tags on About (see associate-deal-pages-status memory) */
.associate-about-interests {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.associate-about-interest-chip {
  background: var(--assoc-background);
  color: var(--assoc-primary);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 14px;
}

/* --- Search + filter bar (Figma-fidelity pass, Home/Deals/Offers) --- */
.associate-search-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.associate-search-filter-bar .associate-page-search {
  margin-bottom: 0;
  flex: 1 1 260px;
}
/* A search that hides every card on the page (Deals/Offers' one flat
   list, or every one of Home's independent rows) previously just went
   quietly blank - see search-filter-script.blade.php. */
.associate-search-no-results {
  text-align: center;
  color: var(--assoc-secondary-text);
  padding: 40px 0;
  margin: 0;
}
.associate-page-search--icon {
  position: relative;
}
.associate-page-search--icon input {
  padding-left: 48px;
  max-width: 100%;
}
.associate-page-search--icon i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 13px;
}
.associate-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--assoc-border);
  border-radius: var(--btn-radius);
  background: var(--assoc-surface);
  color: var(--assoc-primary);
  font-family: var(--assoc-body-font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.associate-filter-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.associate-filter-dropdown {
  position: relative;
}
.associate-filter-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 220px;
  background: var(--assoc-surface);
  border: 1px solid var(--assoc-border);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.associate-filter-panel-title {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--assoc-primary-text);
}
.associate-filter-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 6px 0;
  color: var(--assoc-primary-text);
  cursor: pointer;
}

/* --- Rich site footer (Figma-fidelity pass) - see
   components/associate/site-footer.blade.php's own comment --- */
.associate-site-footer {
  background: var(--assoc-surface);
  border-top: 1px solid var(--assoc-border);
  padding: 32px 0;
  margin-top: 32px;
}
.associate-site-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.associate-site-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.associate-site-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.associate-site-footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.associate-site-footer-logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--assoc-accent);
  color: var(--assoc-hero-promo-text);
  font-size: 15px;
  font-weight: 700;
}
.associate-site-footer-name {
  font-family: var(--assoc-heading-font);
  font-weight: 700;
  font-size: 20px;
  color: var(--assoc-primary-text);
}
.associate-site-footer-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--assoc-primary);
  color: var(--assoc-hero-promo-text);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  width: fit-content;
}
.associate-site-footer-join:hover { opacity: 0.9; }
.associate-site-footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}
.associate-site-footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.associate-site-footer-nav a {
  color: var(--assoc-primary-text);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 3px solid transparent;
}
.associate-site-footer-nav a:hover,
.associate-site-footer-nav a.is-active {
  border-bottom-color: var(--assoc-primary-text);
}
.associate-site-footer-socials {
  display: flex;
  gap: 16px;
}
.associate-site-footer-socials a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--assoc-background);
  color: var(--assoc-primary);
  font-size: 14px;
}
.associate-site-footer-disclosure { margin-top: 24px; }
.associate-site-footer-disclosure p {
  font-size: 13px;
  color: var(--assoc-secondary-text);
  line-height: 1.6;
  margin: 0;
}
.associate-site-footer-divider {
  height: 1px;
  background: var(--assoc-border);
  margin: 24px 0;
}
.associate-site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.associate-site-footer-powered {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--assoc-secondary-text);
}
.associate-site-footer-powered img { height: 19px; width: auto; }
.associate-site-footer-directory {
  font-size: 14px;
  font-weight: 600;
  color: var(--assoc-secondary-text);
  text-decoration: none;
}
.associate-site-footer-directory:hover { color: var(--assoc-primary); }

@media (max-width: 600px) {
  .associate-site-footer-top { flex-direction: column; align-items: flex-start; }
  .associate-site-footer-right { align-items: flex-start; }
  .associate-site-footer-nav { justify-content: flex-start; }
  .associate-site-footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* --- Featured hero banner (Figma-fidelity pass round 3, slideshow
   round 4) - see components/associate/featured-hero-row.blade.php's
   own comment. Slide mechanics (Swiper + dots) are the SAME classes
   member-home's ad-carousel already uses and initializes
   (packages/ui/resources/js/custom.js's initializeMemberAdCarousel(),
   already loaded on this page via layouts.foot) - only the colors/
   sizing below are overridden here, scoped to .associate-page so
   member-home's own ad carousel is untouched. */
@media (min-width: 768px) {
  .associate-page .associate-hero-ads .swiper-slide {
    width: 480px;
  }
}
.associate-page .zen-mh-arrow {
  --zen-member-control-h: 48px;
  border-color: var(--assoc-border);
  color: var(--assoc-primary);
}
.associate-page .zen-mh-arrow:hover:not(.swiper-button-disabled) {
  background: var(--assoc-primary);
  border-color: var(--assoc-primary);
  color: var(--assoc-hero-promo-text);
}
.associate-page .associate-hero-ads .zen-mh-ads__slider {
  border-radius: 36px;
}
@media (min-width: 768px) {
  .associate-page .associate-hero-ads .zen-mh-ads__slider {
    /* Peeking cards fade out at the edges instead of being hard-clipped
       by overflow:hidden - softens the look and reads more like a
       spotlight on the centered/focused card than a jarring cutoff. */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  }
}
.associate-page .associate-hero-ads .zen-mh-ads__dots .swiper-pagination-bullet {
  background: var(--assoc-border);
}
.associate-page .associate-hero-ads .zen-mh-ads__dots .swiper-pagination-bullet-active {
  background: var(--assoc-primary);
}
.associate-hero-card {
  position: relative;
  height: 160px;
  border-radius: 36px;
  overflow: hidden;
}
.associate-hero-card a { display: block; height: 100%; position: relative; text-decoration: none; }
.associate-hero-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.associate-hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(168deg, rgba(2, 73, 89, 0.55) 0%, var(--assoc-primary) 92%);
}
.associate-hero-card-content {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--assoc-hero-promo-text);
  max-width: 62%;
}
.associate-hero-card-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.associate-hero-card-logo {
  width: 68px;
  height: 32px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--assoc-surface);
  flex-shrink: 0;
}
.associate-hero-card-badge {
  background: var(--assoc-surface);
  color: var(--assoc-primary-text);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.associate-hero-card-title {
  font-family: var(--assoc-body-font);
  font-size: 16px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.associate-hero-card-price { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.associate-hero-card-offer-price { font-size: 24px; font-weight: 700; }
.associate-hero-card-retail-price { font-size: 15px; opacity: 0.85; }
.associate-hero-card-image {
  position: absolute;
  right: 24px;
  top: 24px;
  bottom: 24px;
  height: calc(100% - 48px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}
@media (max-width: 700px) {
  .associate-hero-card-content { max-width: 100%; }
  .associate-hero-card-image { display: none; }
}


/* "Recommend similar products/stores?" thumbs line (components/recommend-line.blade.php) */
.zen-recommend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 18px 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #024959;
}
.zen-recommend__btns {
  display: inline-flex;
  gap: 8px;
}
.zen-recommend__btn {
  width: 36px;
  height: 36px;
  border: 1px solid #d7dde0;
  border-radius: var(--btn-radius, 10px);
  background: #fff;
  color: #024959;
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.zen-recommend__btn:hover {
  border-color: var(--primary-color, var(--zen-green));
  color: var(--primary-color, var(--zen-green));
}
.zen-recommend__btn.is-active {
  background: var(--primary-color, var(--zen-green));
  border-color: var(--primary-color, var(--zen-green));
  color: #fff;
}
.zen-recommend__btn[data-vote="-1"].is-active {
  background: #024959;
  border-color: #024959;
}
.zen-recommend__thanks {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
}


/* ==== 2026-09-23 customer-page review fixes (custom.css = override layer, no rebuild) ==== */

/* Listing pages (All Stores / Products / Offers) had no on-page heading */
.zen-listing-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary-color, var(--zen-blue));
  letter-spacing: -0.02em;
  margin: 28px 0 4px;
}
@media (max-width: 767px) {
  .zen-listing-title { font-size: 24px; margin: 16px 0 0; }
}

/* Store page: the SEO-style H1 ("Vans Coupons & Offers - September 2026") ran
   to three lines at 40px on phones and pushed Shop Now below the fold */
@media (max-width: 767px) {
  .store-hero-v3 .store-hero-title,
  .store-hero-v3 h1.store-hero-title { font-size: 26px !important; line-height: 1.15 !important; }
}

/* "Similar Stores" was 48px - bigger than the page's own H1 */
.lb-similar-stores-section .similar-stores-title { font-size: 32px; }
@media (max-width: 767px) {
  .lb-similar-stores-section .similar-stores-title { font-size: 24px; }
}

/* Product cards: the struck-through original price was #ccc on white
   (invisible), and the store name read as a green label rather than a store */
.deal-card-v2 .deals-was-amount,
.deal-card-v2 .deals-was-amount del,
.deal-card-v2 .deal-card-v2__info-was { color: #6b6b6b; }
.deal-card-v2 .deal-cb .store-name {
  color: #6b6b6b;
  font-weight: 500;
}


/* ==== 2026-09-23 customer dashboard (free-user shell) ==== */

/* On phones the tab row scrolled sideways with no hint that Favorites and
   Account Settings were off-screen; let it wrap into two rows instead. */
@media (max-width: 767px) {
  .free-user-shell .user-nav {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: 4px;
  }
}


/* ---- Dashboard empty states (EmptyListView variant="neutral") ----
   An empty list is not an error: grey box, dark-blue title, muted hint and
   a link to whatever fills the list. Overrides the theme's .alert sizing. */
.user-dashboard-wrapper .zen-empty.alert,
.zen-empty.alert {
  background: #f6f8f8;
  border: 1px solid #e1e7e8 !important;
  border-radius: 10px !important;
  color: #024959;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  padding: 18px 20px;
  border-radius: 10px;
}
.zen-empty .zen-empty-title {
  font-size: 17px;
  font-weight: 700;
  color: #024959;
  line-height: 1.3;
}
.zen-empty .zen-empty-hint {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: #666;
}
.zen-empty .zen-empty-action {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color, #024959);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.zen-empty .zen-empty-action:hover {
  color: #012f3a;
}
@media (max-width: 767px) {
  .zen-empty.alert {
    padding: 14px 16px;
  }
  .zen-empty .zen-empty-title {
    font-size: 16px;
  }
}


/* ---- Missing Cashback Claim form (free-tier dashboard) ---- */
#user_dashboard .free-user-shell .claim-cont .store-head-title {
  font-size: 20px; /* was 28px, larger than the 22px page heading */
}
.claim-cont .zen-req {
  color: #c0392b;
  font-weight: 700;
}
.claim-cont .zen-claim-note {
  background: #f6f8f8;
  border-left: 3px solid #024959;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}
.claim-cont .zen-claim-note p:last-child,
.claim-cont .zen-claim-note ul:last-child {
  margin-bottom: 0;
}
/* one control height across the form: text inputs, selects, the currency
   prefix and the amount field all differed (34-48px) */
.claim-cont .form-control,
.claim-cont .form-select,
.claim-cont .input-group .form-control,
.claim-cont .input-group .form-select,
.claim-cont .react-datepicker-wrapper .form-control {
  height: 42px;
  min-height: 42px;
}
.claim-cont textarea.form-control {
  height: auto;
  min-height: 110px;
}
.claim-cont .react-datepicker-wrapper,
.claim-cont .react-datepicker__input-container {
  display: block;
  width: 100%;
}

/* Account Settings: the deletion warning is a sentence, not a title */
#user_dashboard .free-user-shell .dlt-desc {
  text-transform: none;
}


/* ---- ZEN+ enrollment wizard on phones: the step buttons collapsed to a
   30px / 12px control while the inputs beside them are 52px ---- */
@media (max-width: 576px) {
  #zenPlusWizard .zen-wizard__btn,
  #zenPlusWizard .zen-auth-card .zen-wizard__btn {
    min-height: 46px !important;
    height: 46px !important;
    font-size: 16px !important;
    padding: 10px 16px !important;
  }
}
/* Subscription page: benefit titles were larger than the section headings on phones */
@media (max-width: 767px) {
  #user_dashboard .free-user-shell .subscription h3.title {
    font-size: 18px;
  }
}
