.kf-offer-section {
  background: #fff;
  padding: 14px 12px 28px;
  font-family: Montserrat, Arial, sans-serif;
  color: #111;
}

.kf-offer-card {
  max-width: 430px;
  margin: 0 auto;
}

.kf-main-media-wrap {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f3f3;
  border: 1px solid #ededed;
}

.kf-main-media {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.kf-thumb-scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.kf-thumb-scroller::-webkit-scrollbar {
  display: none;
}

.kf-thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  padding: 2px;
  border: 1px solid #dadada;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px #f2f2f2;
}

.kf-thumb.is-active {
  border-color: #18c96f;
  box-shadow: 0 0 0 1px #18c96f inset;
}

.kf-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.kf-offer-info {
  margin-top: 14px;
}

.kf-product-title {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  color: #1b2230;
}

.kf-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.kf-stars {
  display: flex;
  gap: 1px;
  font-size: 16px;
  color: #f7b500;
}

.kf-rating-text {
  font-size: 14px;
  color: #3f4754;
}

.kf-price-block {
  border-top: 1px solid #ececec;
  padding-top: 14px;
}

.kf-price-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.kf-price-current {
  font-size: 25px;
  line-height: 1;
  font-weight: 700;
  color: #000;
}

.kf-price-compare {
  font-size: 14px;
  color: #a5a5a5;
  text-decoration: line-through;
}

.kf-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  background: #ff3f3f;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.kf-installments {
  margin-top: 8px;
  font-size: 15px;
  color: #222;
}

.kf-installments strong {
  font-weight: 700;
  color: #000;
}

.kf-payment-trigger {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  color: #222;
  cursor: pointer;
}

.kf-payment-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kf-payment-icon svg {
  width: 18px;
  height: 18px;
}

.kf-pix-priority-badge {
  display: inline-flex;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 12px;
  border: 1px solid #cfeee0;
  border-radius: 6px;
  overflow: hidden;
}

.kf-pix-part {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  padding: 8px 10px;
  color: #1a2434;
  font-size: 12px;
  font-weight: 700;
}

.kf-pix-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  color: #19c36f;
}

.kf-pix-icon svg {
  width: 14px;
  height: 14px;
}

.kf-priority-part {
  display: inline-flex;
  align-items: center;
  background: #18c96f;
  color: #fff;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 700;
}

.kf-variant-area {
  margin-top: 14px;
}

.kf-variant-label {
  margin: 0 0 10px;
  font-size: 15px;
  color: #474747;
}

.kf-variant-grid {
  display: flex;
  gap: 12px;
}

.kf-variant-option {
  width: 72px;
  height: 62px;
  padding: 4px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.kf-variant-option.is-active {
  border-color: #18c96f;
  box-shadow: 0 0 0 1px #18c96f inset;
}

.kf-variant-option img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 4px;
}

.kf-buy-button {
  width: 100%;
  height: 56px;
  margin-top: 14px;
  background: #18c96f;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kf-shipping-card,
.kf-return-card {
  margin-top: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
}

.kf-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 999px;
  background: #18c96f;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kf-feature-icon svg {
  width: 22px;
  height: 22px;
}

.kf-feature-title {
  font-size: 15px;
  line-height: 1.25;
  color: #111827;
}

.kf-feature-subtitle {
  font-size: 14px;
  line-height: 1.25;
  color: #666;
}

.kf-payments-box {
  margin-top: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 12px 12px;
}

.kf-payments-title {
  position: relative;
  margin-bottom: 12px;
  text-align: center;
}

.kf-payments-title::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #ececec;
}

.kf-payments-title span {
  position: relative;
  background: #fff;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.kf-payments-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.kf-card-logo {
  height: 30px;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.kf-logo-visa { color: #153d8a; }
.kf-logo-master { color: #f16422; text-transform: none; }
.kf-logo-hiper { color: #b9111b; text-transform: none; }
.kf-logo-elo { color: #111; text-transform: none; }
.kf-logo-amex { color: #1671c3; }
.kf-card-logo-pix { color: #51b89f; text-transform: lowercase; }

/* modal */
.kf-payment-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.kf-payment-modal.is-open {
  display: block;
}

.kf-payment-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
}

.kf-payment-dialog {
  position: relative;
  width: calc(100% - 20px);
  max-width: 352px;
  margin: 20px auto 0;
  background: #fff;
  border-radius: 10px;
  z-index: 2;
  padding: 10px 0 14px;
}

.kf-payment-close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.kf-payment-title {
  margin: 2px 0 10px;
  text-align: center;
  color: #33475b;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.kf-payment-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 10px;
}

.kf-payment-tab {
  width: 110px;
  min-height: 72px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  background: #fff;
  color: #b0b5bb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  cursor: pointer;
}

.kf-payment-tab.is-active {
  color: #000;
  border-color: #222;
}

.kf-tab-icon {
  width: 40px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kf-tab-icon svg {
  width: 40px;
  height: 25px;
}

.kf-payment-tab span:last-child {
  font-size: 12px;
  line-height: 1.15;
  font-weight: 600;
  text-align: center;
}

.kf-payment-content {
  padding-top: 12px;
}

.kf-payment-panel {
  display: none;
}

.kf-payment-panel.is-active {
  display: block;
}

.kf-payment-table {
  padding: 0 8px;
}

.kf-payment-row {
  min-height: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 0 10px;
  color: #45556d;
}

.kf-payment-row:nth-child(odd) {
  background: #f2f2f2;
  border-radius: 3px;
}

.kf-payment-row span:last-child {
  font-weight: 600;
}

.kf-pix-price-big {
  margin-top: 6px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: #000;
}

.kf-pix-caption {
  margin: 6px 18px 0;
  padding-bottom: 16px;
  text-align: center;
  font-size: 14px;
  color: #33475b;
  border-bottom: 2px solid #222;
}

.kf-pix-note {
  padding: 16px 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  color: #33475b;
}

.kf-pix-note-icon {
  font-size: 18px;
}

@media (min-width: 768px) {
  .kf-offer-card {
    max-width: 500px;
  }

  .kf-thumb {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }
}.kf-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 22px;
  padding: 0 8px;
  background: #ff3f3f;
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.kf-discount-icon {
  width: 12px;
  height: 12px;
  display: block;
  flex-shrink: 0;
}

.kf-discount-text {
  line-height: 1;
}.kf-pix-priority-badge {
  margin-top: 12px;
  display: inline-flex;
  align-items: stretch;
  flex-wrap: nowrap;
  max-width: 100%;
  border: 1px solid #cfeee0;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.kf-pix-part {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  background: #ffffff;
  color: #1a2434;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.kf-pix-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #00b894; /* cor do svg */
}

.kf-pix-svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.kf-pix-text {
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
}

.kf-priority-part {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  background: #18c96f;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

/* caso o container da CTA esteja muito estreito */
@media (max-width: 360px) {
  .kf-pix-priority-badge {
    transform: scale(0.96);
    transform-origin: left center;
  }
}
:root {
  --product-truck-color: #ffffff;
  --product-box-color: #ffffff;
}

.kf-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 999px;
  background: #18c96f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.kf-truck-svg,
.kf-box-svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  background: transparent;
  margin: 0;
  padding: 0;
}

.kf-truck-svg {
  color: var(--product-truck-color);
}

.kf-truck-svg path:first-child {
  fill: transparent;
}

.kf-truck-svg path:last-child {
  stroke: currentColor;
}

.kf-box-svg {
  fill: var(--product-box-color);
}

.kf-feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 999px;
  background: #18c96f;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 🔥 PADRÃO PARA OS DOIS */
.kf-feature-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* CAMINHÃO */
.kf-truck-svg {
  color: #ffffff;
}

.kf-truck-svg path {
  stroke: currentColor;
}

/* CAIXA */
.kf-box-svg {
  fill: #ffffff !important;
}.kf-payments-box {
  margin-top: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 12px 12px;
  background: #fff;
}

.kf-payments-title {
  position: relative;
  margin-bottom: 12px;
  text-align: center;
}

.kf-payments-title::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #ececec;
}

.kf-payments-title span {
  position: relative;
  background: #fff;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.kf-payments-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.kf-card-logo {
  height: 30px;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 2px 4px;
  overflow: hidden;
}

.cartoes {
  width: 100%;
  height: 18px;
  display: block;
}
.kf-card-logo {
  height: 34px; /* pode subir um pouco */
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 4px; /* reduz padding pra ganhar espaço */
  overflow: hidden;
}

/* IMG ou SVG */
.kf-card-logo img,
.kf-card-logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain; /* mantém proporção */
}.kf-card-logo img,
.kf-card-logo svg {
  width: 85%;
  height: 85%;
}.kf-card-logo {
  height: 36px;
  padding: 2px;
}

.kf-card-logo img,
.kf-card-logo svg {
  width: 90%;
  height: 90%;
}

.kf-description-section {
  background: #ffffff;
  padding: 18px 12px 28px;
}

.kf-description-card {
  max-width: 430px;
  margin: 0 auto;
}

.kf-description-title {
  margin: 0 0 14px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  color: #1b2230;
}

.kf-description-preview {
  position: relative;
  overflow: hidden;
  max-height: 520px; /* altura inicial fechada */
  transition: max-height 0.42s ease;
  border-radius: 10px;
}

.kf-description-preview.is-open {
  max-height: 5000px; /* abre tudo */
}

.kf-description-content {
  display: block;
  line-height: 0;
  font-size: 0;
}

.kf-description-media {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

/* garante que fiquem coladas */
.kf-description-content > * + * {
  margin-top: 0;
}

.kf-description-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 88%);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.kf-description-preview.is-open .kf-description-fade {
  opacity: 0;
}

.kf-description-toggle {
  margin-top: 14px;
  width: 100%;
  height: 46px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #ffffff;
  color: #1b2230;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kf-description-toggle:active {
  transform: scale(0.99);
}

@media (min-width: 768px) {
  .kf-description-card {
    max-width: 500px;
  }

  .kf-description-preview {
    max-height: 620px;
  }
}/* container do ícone */
.kf-tab-icon--pix {
  width: 40px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG PIX */
.kf-tab-icon--pix svg {
  width: 20px;     /* controla tamanho */
  height: 20px;
  display: block;
  overflow: visible;  /* evita cortar */
}

/* garante que não seja espremido */
.kf-tab-icon--pix svg path {
  vector-effect: non-scaling-stroke;
}

.kf-headline {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: #1f2937;
  margin: 16px 0;
}

.kf-headline span {
  color: #ff7a00;
}
.kf-description-section {
  background: #ffffff;
  padding: 18px 12px 28px;
}

.kf-description-card {
  max-width: 430px;
  margin: 0 auto;
}

.kf-description-title {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  color: #1b2230;
}

.kf-description-preview {
  position: relative;
  overflow: hidden;
  max-height: 520px;
  transition: max-height 0.4s ease;
  border-radius: 10px;
}

.kf-description-preview.is-open {
  max-height: 5000px;
}

.kf-description-content {
  line-height: 0;
  font-size: 0;
}

.kf-description-media {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}

.kf-description-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 88%);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.kf-description-preview.is-open .kf-description-fade {
  opacity: 0;
}

.kf-description-toggle {
  margin-top: 14px;
  width: 100%;
  height: 46px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #ffffff;
  color: #1b2230;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

#kfDescriptionToggle {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: #D2822B; /* sua cor */
  color: #ffffff; /* texto branco */
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* hover (mais escuro) */
#kfDescriptionToggle:hover {
  background: #b96f1f;
}

/* clique */
#kfDescriptionToggle:active {
  transform: scale(0.97);
}

/* quando aberto (opcional) */
#kfDescriptionToggle.is-open {
  background: #e5e7eb;
  color: #1f2937;
}