/* ==========================================================================
   Ofertas Premium ? CupomFacil Commerce Content System
   Namespace: cf-offer-
   Mobile-first, editorial commerce, shopping assistant aesthetic
   ========================================================================== */

/* ?? Tokens ???????????????????????????????????????????????????????????????? */
:root {
  --cfo-navy:          #1d2784;
  --cfo-navy-dark:     #141d6a;
  --cfo-navy-light:    #eef0fb;
  --cfo-green:         #0c7a58;
  --cfo-green-light:   #ecf7f2;
  --cfo-amber:         #b45309;
  --cfo-amber-light:   #fffbeb;
  --cfo-text:          #1a2236;
  --cfo-muted:         #64748b;
  --cfo-border:        rgba(29, 39, 132, 0.11);
  --cfo-border-hover:  rgba(29, 39, 132, 0.22);
  --cfo-shadow:        0 1px 2px rgba(0, 0, 0, 0.04), 0 3px 10px rgba(29, 39, 132, 0.06);
  --cfo-shadow-hover:  0 2px 6px rgba(0, 0, 0, 0.07), 0 8px 22px rgba(29, 39, 132, 0.10);
  --cfo-radius:        12px;
  --cfo-radius-sm:     8px;
  --cfo-radius-pill:   999px;
  --cfo-ease:          0.16s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ?? Base Card ????????????????????????????????????????????????????????????? */
.cf-offer-card {
  background: #fff;
  border-radius: var(--cfo-radius);
  border: 1px solid var(--cfo-border);
  box-shadow: var(--cfo-shadow);
  margin: 0 0 16px;
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--cfo-ease), border-color var(--cfo-ease), transform var(--cfo-ease);
}

.cf-offer-card:hover {
  box-shadow: var(--cfo-shadow-hover);
  border-color: var(--cfo-border-hover);
}

/* Featured accent ? left stripe */
.cf-offer-card--featured {
  border-left: 3px solid var(--cfo-navy);
}

/* ?? Inner Layout (grid) ??????????????????????????????????????????????????? */
.cf-offer-card__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: 'logo content cta';
  align-items: center;
  gap: 0 16px;
  padding: 16px 18px;
}

/* ?? Logo ?????????????????????????????????????????????????????????????????? */
.cf-offer-card__logo {
  grid-area: logo;
  width: 72px;
  height: 56px;
  border-radius: var(--cfo-radius-sm);
  background: #f8f9ff;
  border: 1px solid rgba(29, 39, 132, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cf-offer-card__logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.cf-offer-card__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 7px;
  display: block;
  float: none !important;
  margin: 0 !important;
  border-radius: 0;
  box-shadow: none;
}

/* ?? Content ??????????????????????????????????????????????????????????????? */
.cf-offer-card__content {
  grid-area: content;
  min-width: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ?? Badges ???????????????????????????????????????????????????????????????? */
.cf-offer-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 7px;
}

.cf-offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--cfo-radius-pill);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.6;
}

.cf-offer-badge--active {
  color: var(--cfo-green);
  background: var(--cfo-green-light);
  border: 1px solid rgba(12, 122, 88, 0.14);
}

.cf-offer-badge--top {
  color: var(--cfo-navy);
  background: var(--cfo-navy-light);
  border: 1px solid rgba(29, 39, 132, 0.12);
}

.cf-offer-badge--proof {
  color: var(--cfo-amber);
  background: var(--cfo-amber-light);
  border: 1px solid rgba(180, 83, 9, 0.13);
}

.cf-offer-badge--expired {
  color: #6b7280;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

/* ?? Title ????????????????????????????????????????????????????????????????? */
.cf-offer-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cfo-text);
  margin: 0 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ?? Description ??????????????????????????????????????????????????????????? */
.cf-offer-card__desc {
  font-size: 0.82rem;
  color: var(--cfo-muted);
  line-height: 1.45;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* ?? Trust indicator ??????????????????????????????????????????????????????? */
.cf-offer-card__trust {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--cfo-green);
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.cf-offer-card__trust svg {
  flex-shrink: 0;
  opacity: 0.9;
}

/* ?? CTA Area ?????????????????????????????????????????????????????????????? */
.cf-offer-card__cta {
  grid-area: cta;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* ?? CTA Button ???????????????????????????????????????????????????????????? */
.cf-offer-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 128px;
  min-height: 40px;
  padding: 0 18px !important;
  background: var(--cfo-navy) !important;
  color: #fff !important;
  border-radius: var(--cfo-radius-sm);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  border: none !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(29, 39, 132, 0.18);
  transition: filter var(--cfo-ease), transform var(--cfo-ease), box-shadow var(--cfo-ease);
  line-height: 1.2 !important;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
  vertical-align: middle;
}

.cf-offer-btn:hover,
.cf-offer-btn:focus {
  color: #fff !important;
  text-decoration: none !important;
  filter: brightness(0.88);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(29, 39, 132, 0.26);
  outline: none;
}

.cf-offer-btn:active {
  transform: translateY(0);
  filter: brightness(0.82);
}

/* Code reveal variant */
.cf-offer-btn--code {
  background: #fffce7 !important;
  color: #1a2236 !important;
  border: 1.5px dashed var(--cfo-navy) !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.07em;
  box-shadow: none;
}

.cf-offer-btn--code:hover,
.cf-offer-btn--code:focus {
  background: #fff9c4 !important;
  color: #1a2236 !important;
  filter: none;
  transform: none;
  box-shadow: none;
}

/* ?? Expiry ???????????????????????????????????????????????????????????????? */
.cf-offer-card__expiry {
  font-size: 0.67rem;
  color: #dc2626;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  line-height: 1.4;
}

/* ?? Hero variant ?????????????????????????????????????????????????????????? */
.cf-offer-card--hero {
  border-left: 4px solid var(--cfo-navy);
  background: linear-gradient(105deg, #f8f9ff 0%, #fff 55%);
  margin-bottom: 20px;
}

.cf-offer-card--hero .cf-offer-card__title {
  font-size: 1.06rem;
  white-space: normal;
}

.cf-offer-card--hero .cf-offer-card__desc {
  -webkit-line-clamp: 3;
}

.cf-offer-card--hero .cf-offer-btn {
  min-width: 148px;
  min-height: 46px;
  font-size: 0.78rem;
}

.cf-offer-card--hero .cf-offer-card__logo {
  width: 84px;
  height: 66px;
}

/* ?? Compact variant ??????????????????????????????????????????????????????? */
.cf-offer-card--compact {
  margin: 0 0 10px;
}

.cf-offer-card--compact .cf-offer-card__inner {
  padding: 10px 13px;
  gap: 0 10px;
}

.cf-offer-card--compact .cf-offer-card__logo {
  width: 50px;
  height: 40px;
}

.cf-offer-card--compact .cf-offer-card__title {
  font-size: 0.83rem;
}

.cf-offer-card--compact .cf-offer-card__desc {
  font-size: 0.75rem;
  -webkit-line-clamp: 1;
  margin-bottom: 3px;
}

.cf-offer-card--compact .cf-offer-card__trust {
  font-size: 0.63rem;
}

.cf-offer-card--compact .cf-offer-badge {
  font-size: 0.58rem;
  padding: 1px 6px;
}

.cf-offer-card--compact .cf-offer-card__badges {
  margin-bottom: 4px;
}

.cf-offer-card--compact .cf-offer-btn {
  min-width: 96px;
  min-height: 34px;
  font-size: 0.66rem;
  padding: 0 11px !important;
}

/* ?? Minimal variant ??????????????????????????????????????????????????????? */
.cf-offer-card--minimal {
  border: none;
  box-shadow: none;
  border-radius: var(--cfo-radius-sm);
  background: #f8f9ff;
  margin: 0 0 8px;
}

.cf-offer-card--minimal:hover {
  box-shadow: var(--cfo-shadow);
}

.cf-offer-card--minimal .cf-offer-card__inner {
  padding: 10px 12px;
  gap: 0 10px;
}

.cf-offer-card--minimal .cf-offer-card__logo {
  width: 44px;
  height: 36px;
  background: #fff;
}

.cf-offer-card--minimal .cf-offer-card__title {
  font-size: 0.80rem;
}

.cf-offer-card--minimal .cf-offer-card__badges,
.cf-offer-card--minimal .cf-offer-card__trust {
  display: none;
}

.cf-offer-card--minimal .cf-offer-card__desc {
  font-size: 0.72rem;
  -webkit-line-clamp: 1;
  margin-bottom: 0;
}

.cf-offer-card--minimal .cf-offer-btn {
  min-width: 84px;
  min-height: 30px;
  font-size: 0.63rem;
  padding: 0 10px !important;
  box-shadow: none;
}

/* ?? No-logo layout (2-col grid) ??????????????????????????????????????????? */
.cf-offer-card--no-logo .cf-offer-card__inner {
  grid-template-columns: 1fr auto;
  grid-template-areas: 'content cta';
}

/* ?? Pointer-events: span inside clickable card ???????????????????????????? */
.cf-offer-card__content .cf-offer-card__title,
.cf-offer-card__content .cf-offer-card__desc,
.cf-offer-card__content .cf-offer-card__trust,
.cf-offer-card__content .cf-offer-card__badges {
  pointer-events: none;
}

/* ?? Mobile-first responsive ??????????????????????????????????????????????? */
@media (max-width: 640px) {

  /* Card COM logo: logo + content / cta abaixo */
  .cf-offer-card__inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      'logo content'
      '.    cta';
    gap: 10px 12px;
    padding: 14px 14px;
  }

  /* Card SEM logo: coluna ?nica, bot?o abaixo em largura total */
  .cf-offer-card--no-logo .cf-offer-card__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      'content'
      'cta';
    gap: 10px 0;
  }

  .cf-offer-card--no-logo .cf-offer-card__cta {
    align-items: stretch;
    flex-direction: column;
  }

  .cf-offer-card--no-logo .cf-offer-btn {
    width: 100%;
    flex: none;
  }

  /* Badges sempre em linha ?nica (n?o quebram) */
  .cf-offer-card__badges {
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .cf-offer-badge {
    flex-shrink: 0;
  }

  .cf-offer-card__title {
    white-space: normal;
    font-size: 0.90rem;
  }

  .cf-offer-card__cta {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .cf-offer-btn {
    min-width: 0;
    flex: 1;
    min-height: 44px;
    font-size: 0.76rem;
  }

  /* Hero on mobile */
  .cf-offer-card--hero .cf-offer-card__inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      'logo content'
      '.    cta';
  }

  .cf-offer-card--hero .cf-offer-btn {
    min-height: 44px;
    flex: 1;
  }

  /* Compact on mobile */
  .cf-offer-card--compact .cf-offer-card__inner {
    padding: 10px 12px;
  }

  .cf-offer-card--compact .cf-offer-btn {
    min-height: 40px;
  }

  /* Minimal on mobile */
  .cf-offer-card--minimal .cf-offer-card__inner {
    padding: 9px 11px;
  }
}

/* ==========================================================================
   Home ? Hero Editorial
   ========================================================================== */

/* Hero vis?vel apenas em mobile */
@media (min-width: 769px) {
  .cf-home-hero { display: none; }
}

.cf-home-hero {
  background: linear-gradient(145deg, #f4f6fd 0%, #fafbfe 48%, #fff 100%);
  border-radius: 18px;
  padding: 28px 22px 24px;
  margin: 0 16px 24px;
  border: 1px solid rgba(29, 39, 132, 0.07);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 20px rgba(29, 39, 132, 0.06);
  position: relative;
  overflow: hidden;
}

.cf-home-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cfo-navy);
  opacity: 0.85;
}

.cf-home-hero__eyebrow::before {
  content: '\2713\00a0';
  color: #16a34a;
}

.cf-home-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(29, 39, 132, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cf-home-hero__title {
  font-size: clamp(1.22rem, 5.2vw, 1.45rem);
  font-weight: 800;
  color: #172033;
  line-height: 1.28;
  margin: 0 0 12px;
  letter-spacing: -0.35px;
  padding: 0;
  text-align: left;
}

.cf-home-hero__sub {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 36em;
}

.cf-home-hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.cf-home-hero__benefit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--cfo-navy);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(29, 39, 132, 0.08);
  border-radius: var(--cfo-radius-pill);
  padding: 6px 11px 6px 8px;
  line-height: 1.2;
}

.cf-home-hero__benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(29, 39, 132, 0.09);
  font-size: 0.58rem;
  font-style: normal;
  flex-shrink: 0;
}

.cf-home-hero__search {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
}

.cf-home-hero__search-field {
  width: 100%;
}

.cf-home-hero__search-input,
.cf-home-hero .cf-home-hero__search-input.cf-search-input {
  flex: 1;
  width: 100% !important;
  height: 48px !important;
  border-radius: var(--cfo-radius-pill) !important;
  border: 1.5px solid rgba(29, 39, 132, 0.14) !important;
  padding: 0 16px 0 42px !important;
  font-size: 0.9rem !important;
  color: #172033 !important;
  background: #f8f9fd !important;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  -webkit-appearance: none;
  text-indent: 0 !important;
  transform: none !important;
}

.cf-home-hero__search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.cf-home-hero__search-input:focus,
.cf-home-hero .cf-home-hero__search-input.cf-search-input:focus {
  border-color: var(--cfo-navy) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(29, 39, 132, 0.1) !important;
  transform: none !important;
}

.cf-home-hero__search-field .cf-search-icon {
  left: 14px;
  width: 18px;
  height: 18px;
}

.cf-home-hero__search-btn {
  width: 100%;
  height: 54px;
  padding: 0 20px;
  background: var(--cfo-navy);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(29, 39, 132, 0.22);
  transition: filter 0.15s, transform 0.12s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.cf-home-hero__search-btn:hover {
  filter: brightness(1.05);
}

.cf-home-hero__search-btn:active {
  transform: scale(0.98);
  filter: brightness(0.92);
  box-shadow: 0 1px 4px rgba(29, 39, 132, 0.18);
}

@media (max-width: 768px) {
  .cf-home-hero {
    padding: 22px 18px 20px;
    border-radius: 16px;
    margin: 0 16px 20px;
  }

  .cf-home-hero__title {
    font-size: clamp(1.2rem, 6.4vw, 1.38rem);
    line-height: 1.32;
    text-wrap: balance;
  }

  .cf-home-hero__sub {
    font-size: 0.875rem;
    margin-bottom: 16px;
  }

  .cf-home-hero__benefits {
    gap: 7px;
    margin-bottom: 18px;
  }

  .cf-home-hero__benefit {
    font-size: 0.72rem;
  }

  .cf-home-hero__search-btn {
    height: 52px;
  }
}

@media (max-width: 390px) {
  .cf-home-hero__benefit {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  .cf-home-hero__benefit:nth-child(3) {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   Home ? Section Header
   ========================================================================== */

.cf-section-header {
  text-align: center;
  margin: 0 0 24px;
}

.cf-section-header__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #172033;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.cf-section-header__title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: #1d2784;
  border-radius: 2px;
}

.cf-section-header__sub {
  font-size: 0.84rem;
  color: #64748b;
  margin: 10px auto 0;
  max-width: 520px;
  line-height: 1.5;
}

/* ==========================================================================
   Home ? Store Cards (cf-store-card)
   ========================================================================== */

.cf-store-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 0 0 4px;
}

.cf-store-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(29, 39, 132, 0.09);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 14px 10px 12px;
  text-decoration: none !important;
  color: inherit;
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
  text-align: center;
}

.cf-store-card:hover {
  box-shadow: 0 4px 14px rgba(29, 39, 132, 0.12);
  border-color: rgba(29, 39, 132, 0.2);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none !important;
}

.cf-store-card__img-wrap {
  width: 72px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.cf-store-card__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  float: none !important;
  background: none;
}

.cf-store-card__name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a2236;
  line-height: 1.3;
  margin-bottom: 4px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cf-store-card__meta {
  display: none;
}

@media (max-width: 991px) {
  .cf-store-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .cf-store-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .cf-store-card {
    padding: 11px 8px 10px;
    border-radius: 10px;
  }

  .cf-store-card__img-wrap {
    width: 56px;
    height: 40px;
    margin-bottom: 6px;
  }

  .cf-store-card__name {
    font-size: 0.68rem;
  }

  .cf-store-card__meta {
    font-size: 0.59rem;
  }
}

/* ==========================================================================
   Newsletter ? Premium
   ========================================================================== */

.cf-newsletter-premium {
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
  border: 1px solid rgba(29, 39, 132, 0.10);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(29, 39, 132, 0.07);
  padding: 28px 28px 22px;
  max-width: 680px;
  margin: 0 auto;
}

.cf-newsletter-premium__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.cf-newsletter-premium__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(29, 39, 132, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cf-newsletter-premium__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #172033;
  margin: 0 0 4px;
  line-height: 1.3;
}

.cf-newsletter-premium__sub {
  font-size: 0.83rem;
  color: #4a5568;
  margin: 0;
  line-height: 1.45;
}

.cf-newsletter-premium__row {
  display: flex;
  gap: 10px;
}

.cf-newsletter-premium__input {
  flex: 1;
  height: 46px;
  border-radius: 10px;
  border: 1.5px solid rgba(29, 39, 132, 0.15);
  padding: 0 14px;
  font-size: 0.88rem;
  color: #172033;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}

.cf-newsletter-premium__input:focus {
  border-color: #1d2784;
  box-shadow: 0 0 0 3px rgba(29, 39, 132, 0.10);
}

.cf-newsletter-premium__btn {
  height: 46px;
  padding: 0 22px;
  background: #1d2784;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.03em;
  transition: filter 0.15s;
}

.cf-newsletter-premium__btn:hover {
  filter: brightness(0.88);
  background: #1d2784;
}

.cf-newsletter-premium__fineprint {
  margin-top: 12px;
  font-size: 0.72rem;
  color: #6b7280;
  line-height: 1.4;
}

.cf-newsletter-premium__fineprint a {
  color: #1d2784;
  font-weight: 600;
  text-decoration: none;
}

.cf-newsletter-premium__fineprint a:hover {
  text-decoration: underline;
}

@media (max-width: 576px) {
  .cf-newsletter-premium {
    padding: 20px 16px 18px;
  }

  .cf-newsletter-premium__row {
    flex-direction: column;
  }

  .cf-newsletter-premium__btn {
    width: 100%;
    height: 48px;
  }

  .cf-newsletter-premium__title {
    font-size: 0.96rem;
  }
}

/* ==========================================================================
   Store Header ? P?gina de loja (cf-store-header)
   ========================================================================== */

.cf-store-header {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(29, 39, 132, 0.09);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 3px 10px rgba(29, 39, 132, 0.05);
  margin: 0 0 20px;
  overflow: hidden;
}

.cf-store-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
}

.cf-store-header__logo-wrap {
  width: 100px;
  height: 78px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.cf-store-header__logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 8px;
  border: none !important;
  display: block;
  float: none !important;
}

.cf-store-header__content {
  flex: 1;
  min-width: 0;
}

.cf-store-header__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #172033;
  margin: 0 0 6px;
  line-height: 1.3;
}

.cf-store-header__desc {
  font-size: 0.86rem;
  color: #4a5568;
  margin: 0 0 14px;
  line-height: 1.5;
}

.cf-store-header__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cf-store-header__btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 36px;
  padding: 0 16px;
  background: #1d2784;
  color: #fff !important;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: 0.03em;
  transition: filter 0.15s;
  white-space: nowrap;
}

.cf-store-header__btn:hover {
  filter: brightness(0.88);
  color: #fff !important;
}

/* ?? Trust Strip ??????????????????????????????????????????????????????????? */
.cf-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
}

.cf-trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #4a5568;
  white-space: nowrap;
}

.cf-trust-strip__item svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.cf-trust-strip__item--green {
  color: #059669;
}

.cf-trust-strip__item--green svg {
  opacity: 1;
}

@media (max-width: 576px) {
  .cf-trust-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    margin-top: 10px;
  }

  .cf-trust-strip__item {
    white-space: normal;
    font-size: 0.72rem;
  }
}

/* ?? Store Header responsive ??????????????????????????????????????????????? */
@media (max-width: 576px) {
  .cf-store-header__inner {
    gap: 14px;
    padding: 16px 14px;
  }

  .cf-store-header__logo-wrap {
    width: 72px;
    height: 58px;
  }

  .cf-store-header__title {
    font-size: 1.05rem;
  }

  .cf-store-header__desc {
    font-size: 0.82rem;
    margin-bottom: 4px;
  }
}

/* ==========================================================================
   Similar Stores ? Lojas semelhantes (monogram fallback)
   ========================================================================== */

.cf-store-similar-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 0 0 4px;
}

.cf-store-card--text {
  min-height: 72px;
  justify-content: center;
}

.cf-store-card__monogram {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(29, 39, 132, 0.09);
  color: #1d2784;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 7px;
  flex-shrink: 0;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .cf-store-similar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .cf-store-similar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
}

/* ==========================================================================
   Nav ? Active state premium
   ========================================================================== */

.navbar .nav-link.cf-nav-active {
  color: #1d2784 !important;
  font-weight: 800 !important;
  position: relative;
}

.navbar .nav-link.cf-nav-active::after {
  content: '';
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: -2px;
  height: 2px;
  background: #1d2784;
  border-radius: 2px;
}

.navbar .nav-link:hover {
  color: #1d2784 !important;
  font-weight: 700 !important;
}

@media (max-width: 991px) {
  .navbar .nav-link.cf-nav-active::after {
    display: none;
  }

  .navbar .nav-link.cf-nav-active {
    border-left: 3px solid #1d2784;
    padding-left: 12px;
  }
}

/* ==========================================================================
   Shops Grid ? P?gina /lojas/ (cf-shop-card)
   ========================================================================== */

.cf-shops-grid {
  grid-template-columns: repeat(5, 1fr);
}

.cf-shop-card {
  padding-bottom: 14px;
}

.cf-shop-card__cat {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #1d2784;
  background: rgba(29, 39, 132, 0.07);
  border-radius: 4px;
  padding: 1px 6px;
  margin-bottom: 4px;
  display: inline-block;
}

.cf-shop-card__micro {
  font-size: 0.65rem;
  color: #64748b;
  margin-top: 3px;
  display: block;
  line-height: 1.35;
  text-align: center;
}

@media (max-width: 991px) {
  .cf-shops-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .cf-shops-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cf-shop-card__micro {
    font-size: 0.63rem;
  }
}

/* ==========================================================================
   FAQ Compacto ? cf-faq-*
   ========================================================================== */

.cf-faq {
  padding: 28px 0 8px;
}

.cf-faq__inner {
  max-width: 680px;
  margin: 0 auto;
}

.cf-faq__heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #172033;
  margin: 0 0 14px;
  text-align: center;
}

.cf-faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cf-faq__item {
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(29, 39, 132, 0.09);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  overflow: hidden;
}

.cf-faq__item[open] {
  border-color: rgba(29, 39, 132, 0.18);
}

.cf-faq__q {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1a2236;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.cf-faq__q::-webkit-details-marker { display: none; }

.cf-faq__q::after {
  content: '+';
  font-size: 1.1rem;
  font-weight: 300;
  color: #1d2784;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.cf-faq__item[open] .cf-faq__q::after {
  transform: rotate(45deg);
}

.cf-faq__a {
  font-size: 0.82rem;
  color: #4a5568;
  line-height: 1.55;
  padding: 0 16px 14px;
}

/* ==========================================================================
   Footer Premium ? cf-footer-*
   ========================================================================== */

.cf-footer {
  background: #f8f9ff;
  border-top: 1px solid rgba(29, 39, 132, 0.10);
  margin-top: 48px;
}

.cf-footer__main {
  padding: 40px 0 32px;
}

.cf-footer__col {
  margin-bottom: 28px;
}

.cf-footer__logo {
  max-height: 52px;
  max-width: 160px;
  display: block;
  margin-bottom: 12px;
}

.cf-footer__slogan {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1d2784;
  margin: 0 0 4px;
}

.cf-footer__tagline {
  font-size: 0.76rem;
  color: #64748b;
  margin: 0 0 14px;
  line-height: 1.45;
}

.cf-footer__seals {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cf-footer__seal {
  height: 36px;
  width: auto;
  display: inline-block;
}

.cf-footer__col-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d2784;
  margin: 0 0 12px;
}

.cf-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cf-footer__links li a {
  font-size: 0.82rem;
  color: #4a5568;
  text-decoration: none;
  transition: color 0.12s;
  display: inline-block;
}

.cf-footer__links li a:hover {
  color: #1d2784;
  text-decoration: none;
  font-weight: 600;
}

.cf-footer__social {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cf-footer__social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(29, 39, 132, 0.07);
  color: #1d2784;
  font-size: 1rem;
  transition: background 0.12s, color 0.12s;
  text-decoration: none;
}

.cf-footer__social li a:hover {
  background: #1d2784;
  color: #fff;
}

.cf-footer__disclaimer {
  background: rgba(29, 39, 132, 0.04);
  border-top: 1px solid rgba(29, 39, 132, 0.08);
  padding: 14px 0;
}

.cf-footer__disclaimer p {
  font-size: 0.69rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
  text-align: center;
}

.cf-footer__copyright {
  background: #172033;
  padding: 12px 0;
}

.cf-footer__copyright p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .cf-footer__main {
    padding: 28px 0 16px;
  }

  .cf-footer__logo {
    max-height: 44px;
  }

  .cf-footer__col-title {
    margin-top: 4px;
  }
}

/* ==========================================================================
   Nav ? font-weight premium (override legado)
   ========================================================================== */

.navbar .nav-link {
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
}

.navbar .nav-link.cf-nav-active {
  font-weight: 700 !important;
}

.navbar .nav-link:hover {
  font-weight: 600 !important;
}

/* ==========================================================================
   ads=1 ? layout limpo
   ========================================================================== */

.cf-ads1-hide {
  display: none !important;
}

/* ==========================================================================
   FIXES ? Logo background, footer full-width, social hover
   ========================================================================== */

/* Logo containers ? background branco para todos os contextos */
.cf-offer-card__logo {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}

.cf-offer-card__logo img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.cf-store-header__logo,
.cf-shop-card__logo,
.cf-store-card__logo {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.cf-store-header__logo img,
.cf-shop-card__logo img,
.cf-store-card__logo img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

/* ac-card logo (artigo cupom) */
.ac-card__logo {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.ac-card__logo img {
  object-fit: contain;
}

/* Footer full-width */
.cf-footer {
  width: 100%;
  position: relative;
  left: 0;
  right: 0;
  margin-top: 0;
}

.cf-footer__main,
.cf-footer__disclaimer,
.cf-footer__copyright {
  width: 100%;
}

/* Social icon hover ? ?cone branco no hover */
.cf-footer__social li a:hover {
  background: #1d2784;
  color: #ffffff;
}

.cf-footer__social li a:hover i,
.cf-footer__social li a:hover svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.cf-footer__social li a i {
  transition: color 0.12s;
}

/* ==========================================================================
   Sticky Mobile Best Coupon ? cf-mobile-best-coupon-*
   ========================================================================== */

.cf-mobile-best-coupon {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 990;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.14);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(29, 39, 132, 0.06);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.34, 1.1, 0.64, 1), bottom 0.18s ease;
  will-change: transform;
}

.cf-mobile-best-coupon--visible {
  transform: translateY(0);
}

.cf-mobile-best-coupon--gone {
  transform: translateY(100%) !important;
  pointer-events: none;
}

.cf-mobile-best-coupon--hidden-footer {
  opacity: 0;
  pointer-events: none;
}

.cf-mobile-best-coupon__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cf-mobile-best-coupon__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a2236;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cf-mobile-best-coupon__sub {
  font-size: 0.69rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cf-mobile-best-coupon__btn {
  flex-shrink: 0;
  background: #1d2784;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 9px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.13s;
  min-height: 40px;
  -webkit-tap-highlight-color: transparent;
}

.cf-mobile-best-coupon__btn:hover,
.cf-mobile-best-coupon__btn:active {
  background: #151e63;
}

/* Only render on mobile */
@media (min-width: 769px) {
  .cf-mobile-best-coupon {
    display: none !important;
  }
}

/* ==========================================================================
   Exit Intent Modal ? cf-exit-coupon-*
   ========================================================================== */

.cf-exit-coupon {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1055;
  align-items: center;
  justify-content: center;
}

.cf-exit-coupon--open {
  display: flex;
}

.cf-exit-coupon__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cf-exit-coupon__dialog {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px 24px;
  max-width: 400px;
  width: calc(100% - 32px);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.22);
  text-align: center;
  animation: cfExitSlideIn 0.22s ease-out;
}

@keyframes cfExitSlideIn {
  from { opacity: 0; transform: translateY(-14px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cf-exit-coupon__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 0.1s, background 0.1s;
}

.cf-exit-coupon__close:hover {
  color: #1a2236;
  background: #f1f5f9;
}

.cf-exit-coupon__eyebrow {
  font-size: 0.69rem;
  font-weight: 700;
  color: #16a34a;
  letter-spacing: 0.03em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.cf-exit-coupon__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a2236;
  margin: 0 0 10px;
  line-height: 1.3;
}

.cf-exit-coupon__text {
  font-size: 0.84rem;
  color: #4a5568;
  line-height: 1.5;
  margin: 0 0 20px;
}

.cf-exit-coupon__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cf-exit-coupon__btn {
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
  min-height: 46px;
}

.cf-exit-coupon__btn--primary {
  background: #1d2784;
  color: #ffffff;
}

.cf-exit-coupon__btn--primary:hover {
  background: #151e63;
}

.cf-exit-coupon__btn--secondary {
  background: #f1f5f9;
  color: #4a5568;
}

.cf-exit-coupon__btn--secondary:hover {
  background: #e2e8f0;
  color: #1a2236;
}

/* Prevent body scroll when exit modal is open */
body.cf-exit-open {
  overflow: hidden;
}

/* ==========================================================================
   REFINAMENTOS PREMIUM ? v3
   ========================================================================== */

/* -- Footer: background + trust badges --------------------------------- */

.cf-footer {
  background: #f8fafc;
  border-top: 2px solid #e5e7eb;
}

.cf-footer__main {
  padding: 44px 0 28px;
}

.cf-footer__copyright {
  background: #1a2236;
}

.cf-footer__trust {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cf-footer__trust li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #4a5568;
  font-weight: 500;
}

.cf-footer__trust li a {
  color: #4a5568;
  text-decoration: none;
}

.cf-footer__trust li a:hover {
  color: #1d2784;
}

/* -- Coupon button ? larger, stronger ---------------------------------- */

.cf-offer-btn {
  min-height: 46px !important;
  padding: 0 22px !important;
  font-size: 0.76rem !important;
  box-shadow: 0 3px 10px rgba(29, 39, 132, 0.22) !important;
  transition: filter 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease !important;
  letter-spacing: 0.04em !important;
}

.cf-offer-btn:hover {
  filter: brightness(1.12) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(29, 39, 132, 0.3) !important;
}

.cf-offer-btn:active {
  transform: translateY(0) !important;
  filter: brightness(0.96) !important;
}

/* -- Coupon card ? microinteractions ----------------------------------- */

.cf-offer-card {
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.cf-offer-card:hover {
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.10);
  transform: translateY(-1px);
}

/* -- Store card ? microinteractions ------------------------------------ */

.cf-store-card {
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.cf-store-card:hover {
  box-shadow: 0 6px 20px rgba(29, 39, 132, 0.12);
  transform: translateY(-2px);
  border-color: rgba(29, 39, 132, 0.22);
  text-decoration: none;
}

.cf-store-card__logo {
  transition: transform 0.2s ease;
}

.cf-store-card:hover .cf-store-card__logo {
  transform: scale(1.04);
}

/* -- Similar stores ? more elegance + mobile --------------------------- */

.cf-store-similar-grid {
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  margin-bottom: 8px;
}

.cf-store-card--text {
  min-height: 80px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  padding: 10px 8px;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.cf-store-card--text:hover {
  box-shadow: 0 4px 14px rgba(29, 39, 132, 0.13);
  transform: translateY(-2px);
  border-color: rgba(29, 39, 132, 0.20);
}

.cf-store-card__monogram {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .cf-store-similar-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .cf-store-similar-grid::-webkit-scrollbar {
    display: none;
  }

  .cf-store-card--text {
    flex: 0 0 84px;
    min-width: 84px;
  }
}

/* -- FAQ ? hover + cursor ---------------------------------------------- */

.cf-faq__item {
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cf-faq__item:hover {
  border-color: rgba(29, 39, 132, 0.18);
  box-shadow: 0 2px 8px rgba(29, 39, 132, 0.07);
}

.cf-faq__q {
  transition: color 0.13s ease;
}

.cf-faq__item:hover .cf-faq__q {
  color: #1d2784;
}

/* -- Guide cards ? image zoom + line-clamp + badge --------------------- */

.cf-guia-card__media img {
  transition: transform 0.32s ease;
}

.cf-guia-card:hover .cf-guia-card__media img {
  transform: scale(1.04);
}

.cf-guia-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cf-guia-card__tag {
  background: rgba(29, 39, 132, 0.07);
  color: #1d2784;
  font-weight: 700;
  transition: background 0.15s ease;
}

.cf-guia-card:hover .cf-guia-card__tag {
  background: rgba(29, 39, 132, 0.13);
}

/* -- Store header ? more breathing room -------------------------------- */

.cf-store-header__inner {
  padding: 22px 28px;
  gap: 22px;
}

.cf-store-header__content {
  max-width: 620px;
}

.cf-trust-strip {
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
}

.cf-trust-strip__item {
  font-size: 0.73rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #4a5568;
}

.cf-trust-strip__item--green {
  color: #15803d;
}

.cf-trust-strip__item svg {
  flex-shrink: 0;
  opacity: 0.8;
}

/* -- Spacing ? section gaps -------------------------------------------- */

.cf-faq {
  padding: 20px 0 4px;
}

.cf-newsletter-premium {
  margin-top: 0;
}

/* -- Logo hover -------------------------------------------------------- */

.cf-offer-card__logo a,
.cf-store-card a {
  transition: opacity 0.15s ease;
}

.cf-offer-card__logo a:hover {
  opacity: 0.82;
}

/* -- General microinteraction baseline --------------------------------- */

.cf-footer__links li a,
.cf-footer__trust li a {
  transition: color 0.13s ease, font-weight 0.1s ease;
}

@media (max-width: 768px) {
  .cf-store-header__inner {
    padding: 16px 18px;
    gap: 14px;
  }

  .cf-store-header__logo-wrap {
    width: 72px;
    height: 56px;
  }

  .cf-trust-strip {
    gap: 6px 10px;
  }

  .cf-offer-btn {
    min-height: 44px !important;
    padding: 0 18px !important;
  }

  .cf-footer__main {
    padding: 28px 0 16px;
  }

  .cf-faq__inner {
    max-width: 100%;
  }
}

/* ==========================================================================
   AJUSTES FINAIS PREMIUM ? v4
   ========================================================================== */

/* -- Buttons ? rounded, stronger, premium ------------------------------ */

.cf-offer-btn {
  border-radius: 12px !important;
  min-height: 50px !important;
  padding: 0 26px !important;
  font-size: 0.77rem !important;
  letter-spacing: 0.05em !important;
  box-shadow: 0 4px 14px rgba(29, 39, 132, 0.20) !important;
}

.cf-offer-btn:hover {
  box-shadow: 0 8px 22px rgba(29, 39, 132, 0.30) !important;
  transform: translateY(-2px) !important;
  filter: brightness(1.08) !important;
}

.cf-offer-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 3px 8px rgba(29, 39, 132, 0.18) !important;
}

/* -- Hero offer ? glow premium ----------------------------------------- */

.cf-offer-card--hero {
  border: 1.5px solid rgba(29, 39, 132, 0.18);
  box-shadow: 0 0 0 4px rgba(29, 39, 132, 0.04),
              0 8px 28px rgba(29, 39, 132, 0.10);
  background: linear-gradient(108deg, #f5f7ff 0%, #ffffff 60%);
  border-left: none;
  position: relative;
}

.cf-offer-card--hero::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(29, 39, 132, 0.12) 0%,
    transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.cf-offer-card--hero > * {
  position: relative;
  z-index: 1;
}

.cf-offer-card--hero .cf-offer-btn {
  min-height: 52px !important;
  padding: 0 30px !important;
  font-size: 0.8rem !important;
}

/* -- Store hero ? more breathing room --------------------------------- */

.cf-store-header {
  margin-bottom: 24px;
}

.cf-store-header__inner {
  padding: 26px 32px;
  gap: 24px;
}

.cf-store-header__logo-wrap {
  width: 110px;
  height: 86px;
  border-radius: 12px;
}

.cf-store-header__title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 6px;
  color: #172033;
}

.cf-store-header__desc {
  font-size: 0.83rem;
  color: #64748b;
  margin: 0 0 10px;
  max-width: 540px;
}

/* -- Newsletter ? input focus glow + btn hover ------------------------- */

.cf-newsletter-premium__input {
  height: 50px;
  border-radius: 12px;
  font-size: 0.9rem;
  border: 1.5px solid rgba(29, 39, 132, 0.14);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cf-newsletter-premium__input:focus {
  border-color: #1d2784;
  box-shadow: 0 0 0 4px rgba(29, 39, 132, 0.10);
  outline: none;
}

.cf-newsletter-premium__btn {
  height: 50px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
  box-shadow: 0 3px 10px rgba(29, 39, 132, 0.18);
}

.cf-newsletter-premium__btn:hover {
  background: #151e63;
  box-shadow: 0 6px 18px rgba(29, 39, 132, 0.28);
  transform: translateY(-1px);
}

.cf-newsletter-premium__btn:active {
  transform: translateY(0);
}

/* -- Guide cards ? premium refinement ---------------------------------- */

.cf-guia-card {
  border-radius: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cf-guia-card:hover {
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

.cf-guia-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cf-guia-card__description,
.cf-guia-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.82rem;
  color: #64748b;
}

.cf-guia-card__cta,
.cf-guia-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1d2784;
  background: rgba(29, 39, 132, 0.07);
  border: none;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.cf-guia-card__cta:hover,
.cf-guia-card__btn:hover {
  background: #1d2784;
  color: #fff;
  text-decoration: none;
}

/* -- FAQ ? faster animation -------------------------------------------- */

.cf-faq {
  padding: 16px 0 4px;
}

.cf-faq__list {
  gap: 6px;
}

.cf-faq__item {
  transition: border-color 0.13s ease, box-shadow 0.13s ease, background 0.13s ease;
}

.cf-faq__item:hover {
  background: #f8fafc;
}

.cf-faq__item[open] {
  background: #fff;
}

.cf-faq__q::after {
  transition: transform 0.18s ease;
}

.cf-faq__item[open] .cf-faq__q::after {
  transform: rotate(45deg);
}

.cf-faq__a {
  animation: cfFaqOpen 0.18s ease-out;
}

@keyframes cfFaqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -- Mobile final polish ----------------------------------------------- */

@media (max-width: 768px) {
  .cf-offer-btn {
    min-height: 48px !important;
    padding: 0 20px !important;
    border-radius: 10px !important;
    width: 100%;
  }

  .cf-store-header__inner {
    padding: 18px 16px;
    gap: 14px;
  }

  .cf-store-header__logo-wrap {
    width: 80px;
    height: 64px;
    flex-shrink: 0;
  }

  .cf-store-header__title {
    font-size: 1.05rem;
  }

  .cf-newsletter-premium__row {
    flex-direction: column;
    gap: 10px;
  }

  .cf-newsletter-premium__input,
  .cf-newsletter-premium__btn {
    width: 100%;
    border-radius: 10px;
  }

  .cf-offer-card--hero {
    box-shadow: 0 4px 16px rgba(29, 39, 132, 0.10);
  }
}

/* -- Newsletter input mobile fix --------------------------------------- */
@media (max-width: 768px) {
  .cf-newsletter-premium {
    padding: 22px 18px 18px;
  }

  .cf-newsletter-premium__row {
    flex-direction: column;
    gap: 10px;
  }

  .cf-newsletter-premium__input {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    font-size: 1rem !important;
    border-radius: 10px !important;
    flex: none !important;
    box-sizing: border-box;
  }

  .cf-newsletter-premium__btn {
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    font-size: 0.9rem !important;
    border-radius: 10px !important;
    flex: none !important;
  }
}

/* ==========================================================================
   MICRO AJUSTES FINAIS ? v5
   ========================================================================== */

/* -- Home compact cards ------------------------------------------------ */

.cf-offer-card--compact .cf-offer-card__inner {
  padding: 10px 14px 10px 10px;
}

.cf-offer-card--compact .cf-offer-card__title {
  font-size: 0.88rem;
}

.cf-offer-card--compact .cf-offer-card__desc {
  font-size: 0.75rem;
  -webkit-line-clamp: 1;
}

.cf-offer-card--compact .cf-offer-btn {
  min-height: 42px !important;
  padding: 0 18px !important;
  font-size: 0.72rem !important;
}

.cf-offer-card--compact .cf-offer-card__logo {
  width: 56px;
  height: 44px;
}

.cf-offer-card--compact {
  margin-bottom: 8px;
}

/* -- Badge "Melhor cupom" ? editorial, menos marketplace -------------- */

.cf-offer-badge--top {
  color: #3b4ab0;
  background: rgba(59, 74, 176, 0.07);
  border: 1px solid rgba(59, 74, 176, 0.14);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  text-transform: uppercase;
  border-radius: 5px;
}

/* -- Menu ? font-weight 600 -------------------------------------------- */

.navbar .nav-link {
  font-weight: 600 !important;
  letter-spacing: 0.025em;
  font-size: 0.88rem;
}

/* -- Search field with icon -------------------------------------------- */

/* ?? Search autocomplete ? definitive positioning ???????????????????? */

/* Outer anchor: wraps the entire search li, no flex stretch here */
.cf-search-anchor {
  position: relative;
  width: 100%;
  max-width: 380px;
}

/* form-group: positioning context for the absolute dropdown */
#form-group-busca-top,
#form-group-busca-home {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Dropdown: absolute right below the input, full width, no transform */
#resultado_busca {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  margin: 0 !important;
  z-index: 99999 !important;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.13);
  border-radius: 0 0 8px 8px;
  transform: none !important;
}

/* Remove transform:scale on input focus ? replace with box-shadow only */
#input-busca-topo:focus,
#input-busca-home:focus {
  transform: none !important;
  box-shadow: 0 0 0 3px rgba(29, 39, 132, 0.18) !important;
  outline: none !important;
}

.cf-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  text-align: left !important;
}

.cf-search-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  pointer-events: none;
  flex-shrink: 0;
  transition: color 0.15s;
  z-index: 1;
}

.cf-search-input {
  padding-left: 36px !important;
  border-radius: 10px !important;
  border: 1.5px solid rgba(29, 39, 132, 0.12) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  background: #fff !important;
  height: 40px !important;
  font-size: 0.85rem !important;
  color: #172033 !important;
  width: 100% !important;
}

.cf-search-input:focus {
  border-color: #1d2784 !important;
  box-shadow: 0 0 0 3px rgba(29, 39, 132, 0.09) !important;
  outline: none !important;
}

.cf-search-wrap:focus-within .cf-search-icon {
  color: #1d2784;
}

/* -- Store header trust line ------------------------------------------- */

.cf-store-header__trust-line {
  font-size: 0.72rem;
  color: #64748b;
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* -- Logo standardization ---------------------------------------------- */

.cf-offer-card__logo img,
.cf-store-card__logo img,
.cf-shop-card__logo img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* -- "PUBLICIDADE" label ? hide visually, keep structure -------------- */

.banner-label-top,
.banner-label-bottom {
  display: none !important;
}

.footer-sticky-label,
.mobile-top-sticky-label {
  display: none !important;
}

/* -- Side banners ? softer presence ----------------------------------- */

.side-inner {
  padding: 4px;
}

.side-inner .banner-box {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.side-inner .banner-box:hover {
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

/* -- System-wide shadow tokens ----------------------------------------- */

.cf-offer-card {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 2px 8px rgba(29, 39, 132, 0.04);
}

.cf-offer-card:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.09), 0 2px 8px rgba(29, 39, 132, 0.06);
}

/* -- Mobile compact adjustments --------------------------------------- */

@media (max-width: 768px) {
  .cf-offer-card--compact .cf-offer-card__inner {
    padding: 10px 12px;
  }

  .cf-search-input {
    height: 44px !important;
    font-size: 0.9rem !important;
  }

  .cf-store-header__trust-line {
    font-size: 0.69rem;
  }
}

/* ==========================================================================
   HOME MOBILE ? POLIMENTO PREMIUM v1
   ========================================================================== */

/* ?? Hero card ???????????????????????????????????????????????????????????? */

.cf-home-hero {
  border-radius: 22px !important;
  padding: 30px 24px 26px !important;
  margin: 0 14px 24px !important;
  background: linear-gradient(150deg, #f5f7ff 0%, #fafbfe 55%, #fff 100%) !important;
  border: 1px solid rgba(29, 39, 132, 0.06) !important;
  box-shadow: 0 1px 1px rgba(15,23,42,.03), 0 4px 14px rgba(29,39,132,.07) !important;
}

/* ?? Eyebrow ?????????????????????????????????????????????????????????????? */

.cf-home-hero__eyebrow {
  font-size: 0.71rem !important;
  letter-spacing: 0.03em !important;
  margin-bottom: 12px !important;
  color: #16a34a !important;
  opacity: 1 !important;
}

/* ?? Headline ????????????????????????????????????????????????????????????? */

.cf-home-hero__title {
  font-size: 1.35rem !important;
  line-height: 1.35 !important;
  letter-spacing: -0.015em !important;
  font-weight: 800 !important;
  max-width: 280px !important;
  margin-bottom: 10px !important;
}

/* ?? Subtitle ????????????????????????????????????????????????????????????? */

.cf-home-hero__sub {
  font-size: 0.84rem !important;
  line-height: 1.55 !important;
  color: #4a5568 !important;
  margin-bottom: 16px !important;
  max-width: 300px !important;
  font-weight: 400 !important;
}

/* ?? Benefit badges ??????????????????????????????????????????????????????? */

.cf-home-hero__benefits {
  gap: 7px !important;
  margin-bottom: 20px !important;
  flex-wrap: wrap !important;
}

.cf-home-hero__benefit {
  padding: 7px 12px 7px 9px !important;
  border-radius: 50px !important;
  font-size: 0.72rem !important;
  font-weight: 650 !important;
  gap: 6px !important;
  background: rgba(255,255,255,0.9) !important;
  border: 1px solid rgba(29,39,132,0.1) !important;
  box-shadow: 0 1px 3px rgba(15,23,42,.05) !important;
  letter-spacing: 0.01em !important;
}

.cf-home-hero__benefit-icon {
  width: 17px !important;
  height: 17px !important;
  background: rgba(29,39,132,0.08) !important;
  font-size: 0.6rem !important;
}

/* ?? Search field ????????????????????????????????????????????????????????? */

.cf-home-hero__search {
  gap: 10px !important;
}

.cf-home-hero__search-field,
.cf-home-hero .cf-search-wrap {
  border-radius: 12px !important;
}

.cf-home-hero__search-input,
.cf-home-hero .cf-home-hero__search-input.cf-search-input {
  height: 52px !important;
  border-radius: 12px !important;
  font-size: 0.92rem !important;
  border: 1.5px solid rgba(29,39,132,0.13) !important;
  background: #fff !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.cf-home-hero__search-input:focus,
.cf-home-hero .cf-home-hero__search-input.cf-search-input:focus {
  border-color: #1d2784 !important;
  box-shadow: 0 0 0 3px rgba(29,39,132,0.12) !important;
  transform: none !important;
  outline: none !important;
}

/* ?? Search button ???????????????????????????????????????????????????????? */

.cf-home-hero__search-btn {
  height: 52px !important;
  border-radius: 14px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 4px 14px rgba(29,39,132,0.22) !important;
  transition: all 0.18s ease !important;
}

.cf-home-hero__search-btn:hover,
.cf-home-hero__search-btn:active {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(29,39,132,0.30) !important;
}

.cf-home-hero__search-btn:active {
  transform: scale(0.98) !important;
  box-shadow: 0 2px 8px rgba(29,39,132,0.18) !important;
}

/* ?? Back-to-top button ??????????????????????????????????????????????????? */

#back-top {
  width: 38px !important;
  height: 38px !important;
  font-size: 14px !important;
  line-height: 38px !important;
  padding: 0 !important;
  bottom: 24px !important;
  left: 16px !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 10px rgba(15,23,42,0.18) !important;
  background-color: #1d2784 !important;
  opacity: 0.88 !important;
  z-index: 400 !important;
}

#back-top.active {
  opacity: 0.88 !important;
}

#back-top:hover {
  background: #111 !important;
  box-shadow: 0 4px 14px rgba(15,23,42,0.25) !important;
  opacity: 1 !important;
}

/* ?? Store section spacing ???????????????????????????????????????????????? */

@media (max-width: 768px) {
  .cf-home-hero__title {
    font-size: 1.28rem !important;
    max-width: 100% !important;
  }

  .cf-home-hero__sub {
    max-width: 100% !important;
  }

  .cf-home-hero {
    margin: 0 12px 20px !important;
    padding: 26px 20px 22px !important;
  }

  #back-top {
    bottom: 80px !important;
  }
}

/* ==========================================================================
   STORE HERO — MOBILE PREMIUM (override definitivo)
   Breakpoint unico, sobreescrito com !important para limpar conflitos
   ========================================================================== */

@media (max-width: 768px) {

  /* ── Wrapper ──────────────────────────────────────────────────────── */
  .cf-store-header {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    margin: 0 0 16px !important;
    box-shadow: 0 2px 8px rgba(15,23,42,.06) !important;
  }

  /* ── Layout: coluna centrada ──────────────────────────────────────── */
  .cf-store-header__inner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 14px !important;
    padding: 28px 20px 22px !important;
  }

  /* ── Logo: quadrado elegante, centralizado ────────────────────────── */
  .cf-store-header__logo-wrap {
    width: 88px !important;
    height: 88px !important;
    border-radius: 18px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 8px rgba(15,23,42,.10) !important;
  }

  /* ── Content: largura total ───────────────────────────────────────── */
  .cf-store-header__content {
    width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  /* ── Title ────────────────────────────────────────────────────────── */
  .cf-store-header__title {
    font-size: clamp(1.3rem, 6.5vw, 1.7rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    margin-bottom: 8px !important;
  }

  /* ── Description ──────────────────────────────────────────────────── */
  .cf-store-header__desc {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    max-width: 100% !important;
    margin-bottom: 16px !important;
    color: #4a5568 !important;
  }

  /* ── Trust strip: grid 2 colunas ─────────────────────────────────── */
  .cf-trust-strip {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 12px !important;
    margin-top: 0 !important;
    width: 100% !important;
  }

  .cf-trust-strip__item {
    justify-content: center !important;
    background: rgba(29,39,132,.04) !important;
    border-radius: 10px !important;
    padding: 9px 10px !important;
    font-size: 0.74rem !important;
    gap: 5px !important;
    white-space: normal !important;
    line-height: 1.3 !important;
  }

  /* ── Trust line ───────────────────────────────────────────────────── */
  .cf-store-header__trust-line {
    justify-content: center !important;
    margin-top: 12px !important;
    font-size: 0.72rem !important;
  }

  /* ── Meta row ─────────────────────────────────────────────────────── */
  .cf-store-header__meta {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

}

/* Extra small phones */
@media (max-width: 390px) {
  .cf-store-header__inner {
    padding: 22px 16px 18px !important;
  }

  .cf-store-header__title {
    font-size: 1.25rem !important;
  }

  .cf-trust-strip__item {
    font-size: 0.7rem !important;
    padding: 8px 8px !important;
  }
}

/* ==========================================================================
   STORE HERO MOBILE — COMPACTO (conversao primeira dobra)
   ========================================================================== */

@media (max-width: 768px) {

  /* Hero menor, mais respiro para os cupons */
  .cf-store-header__inner {
    padding: 20px 18px 18px !important;
    gap: 12px !important;
  }

  /* Logo menor */
  .cf-store-header__logo-wrap {
    width: 64px !important;
    height: 64px !important;
    border-radius: 14px !important;
  }

  /* Titulo compacto */
  .cf-store-header__title {
    font-size: clamp(1.15rem, 5.5vw, 1.4rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 6px !important;
  }

  /* Descricao curta e menor */
  .cf-store-header__desc {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* Ocultar trust items 3 e 4 (Redirecionamento seguro + Ofertas selecionadas) */
  .cf-trust-strip .cf-trust-strip__item:nth-child(3),
  .cf-trust-strip .cf-trust-strip__item:nth-child(4) {
    display: none !important;
  }

  /* Trust strip: 2 itens em linha unica */
  .cf-trust-strip {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 0 !important;
  }

  /* Trust line menor */
  .cf-store-header__trust-line {
    margin-top: 10px !important;
    font-size: 0.7rem !important;
  }

  /* Primeiro cupom mais proximo do hero */
  .offer-holder,
  [data-cupons-list="1"] {
    margin-top: 12px !important;
  }

  /* Cupom hero: descricao clamp para nao ocupar muito */
  .cf-offer-card--hero .cf-offer-card__desc {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  /* Botao ver cupom bem visivel */
  .cf-offer-card--hero .cf-offer-btn {
    min-height: 50px !important;
    font-size: 0.9rem !important;
    width: 100% !important;
  }

}

@media (max-width: 390px) {
  .cf-store-header__inner {
    padding: 16px 14px 14px !important;
  }
  .cf-store-header__logo-wrap {
    width: 56px !important;
    height: 56px !important;
  }
  .cf-store-header__title {
    font-size: 1.1rem !important;
  }
}
