:root {
  --maincolorbest: #009;
  --primary: #4a6cf7;
  --secondary: #6c757d;
  --accent: #ff6b9d;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;

  --transition: all 0.3s ease;
}

.cards-credito_debito .content .tag {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  color: #000099;
  margin-bottom: 14px;
}
.cards-credito_debito .content .tag-h1 {
  font-size: 52px;
  font-weight: 600;
  color: #000099;
  max-width: 823px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 40px;
}

.cards-credito_debito .content_bottom {
  /*  display: flex;
  justify-content: space-between;
 */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(412px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  transition: var(--transition);
}
.bbest-hero-banner-text-btn .col-12:last-child .content {
  align-items: end !important;
}
.bbest-hero-banner-text-btn .content img {
  width: 219px;
  float: right;
}

.cards_credit_cards_debit_cards {
  border: 1px solid #dfeaf2;
  background: #fff;
  box-shadow: 0 7px 10px 0 rgba(0, 102, 255, 0.11);
  display: flex;
  padding: 40px;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  flex: 1 0 0;
}

.cards_credit_cards_debit_cards .main_card_image img {
  max-width: 201px;
  width: max-content;
  height: 130px;
}

.cards_credit_cards_debit_cards .content_text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 167px;
}
.cards_credit_cards_debit_cards .content_text .description {
  color: #64748b;
  text-align: center;
  font-family: Barlow;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}
.cards_credit_cards_debit_cards .content_text .title {
  color: #009;
  text-align: center;
  font-family: Barlow;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 38px;
}

.cards_credit_cards_debit_cards .cta a {
  width: 228px;
  height: 66px;
  flex-shrink: 0;
  border-radius: 33px;
  background: #06f;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  font-family: Barlow;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
}

.breakout_card_club {
  margin-top: 110px;
  margin-bottom: 110px;
  cursor: pointer;
}
.breakout_card_club .content {
  min-height: 280px;
  background: url(/bestsite//best_microsite/mkt_files/paginas-detalhe/redesign/card-club/images/breakout/bcc-home-2.jpg) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  padding: 120px 40px;
}

.breakout_card_club .content .tag-h1 {
  font-size: 52px;
  color: #000099;
  line-height: 56px;
  font-weight: 600;
  margin-top: 15px;
}
.breakout_card_club .content .tag-p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #000099;
  margin-top: 15px;
}

/* Update 30-11 */

.search-bar {
  flex: 1;
  max-width: 500px;
  margin: 0 25px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 14px 25px;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  padding-left: 50px;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.9);
}

.search-bar i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
}

.user-actions a {
  color: white;
  margin-left: 20px;
  font-size: 1.3rem;
  transition: var(--transition);
}

.user-actions a:hover {
  color: var(--accent);
}

.filters-section {
  background-color: white;
  /*   padding: 25px 0; */
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 96px;
  z-index: 100;
}

/* .filters-section .filters-container {
  background-color: yellow !important;
} */

.filters-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  gap: 10px;
  z-index: 3;
  justify-content: left;
  background: var(--Background, #ebf0ff);
  padding: 1.5rem;
}

.filter-btn {
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  background: #fff; /* #06f; */
  color: #06f;
  flex: 0 1 auto;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  transition: 0.2s ease-in;
  width: auto;
  padding: 8px;
  font-weight: 500;
  width: fit-content;
  height: fit-content;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}

.section-title {
  position: relative;
  margin: 40px 0 25px;
  padding-left: 15px;
  font-family: Barlow;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -1.879px;
  transition: var(--transition);
  opacity: 1;
  transform: translateY(0);
  background: var(
    --Gradient-Smooth,
    linear-gradient(68deg, #5433ff -0.01%, #20bdff 50.16%, #a5fecb 100.33%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background-color: #0066ff;
  transition: var(--transition);
}

.section-title.hidden {
  opacity: 0;
  transform: translateY(-20px);
  height: 0;
  margin: 0;
  overflow: hidden;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  transition: var(--transition);
}

.promo-grid.hidden {
  opacity: 0;
  transform: translateY(-20px);
  height: 0;
  margin: 0;
  overflow: hidden;
}

.promo-card {
  background-color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  background-color: white;
  flex: 0 1 278px;
  flex-direction: column;
  border: 1px solid #dfeaf2;
  box-shadow: 0px 7px 10px 0px #0066ff1d;
  cursor: pointer;
}

.promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.promo-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  font-weight: 600;
  font-size: 11px;
  line-height: 14px;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  width: auto;
  padding: 5px 15px;
  background: #ff9900;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
}

.promo-image {
  height: 200px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.promo-info {
  padding: 20px;
}

.promo-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  letter-spacing: 0px;
  text-align: center;
  color: #0066ff;
  min-height: 64px;
  text-align: left;
}

.promo-description {
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 72px;
  font-family: Barlow;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0px;
  color: #64748b;
}

.promo-price {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.original-price {
  text-decoration: line-through;
  color: var(--gray);
  margin-right: 10px;
  font-size: 1rem;
}

.discount-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.btn-saber-mais {
  background: var(
    --Gradient,
    linear-gradient(264deg, #06f -0.22%, #fa01e1 114.83%)
  );
  border-radius: 50px;
  padding: 13px 30px;
  color: white;
  border: none;
  margin: 0;
  align-self: center;
  font-size: 18px;
  font-weight: 600;
  transition: 0.4s;
}

.btn-saber-mais:hover {
  background-color: #3a5ce5;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  overflow-y: auto;
}

.modal-content {
  background-color: white;
  margin: 40px auto;
  width: 90%;
  max-width: 1000px;
  border-radius: var(--radius);
  overflow: hidden;
  animation: modalFadeIn 0.4s;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  margin-top: 106px;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--light-gray);
  background: linear-gradient(135deg, var(--primary), #06f);
  color: white;
  border-radius: 0 !important;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--accent);
}

.modal-body {
  display: flex;
  flex-direction: column;
}

.image-slider {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.slick-slide {
  height: 400px;
}

.slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--dark);
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 10;
  border: none;
}

.slick-arrow:hover {
  background-color: white;
  transform: translateY(-50%) scale(1.1);
}

.slick-prev {
  left: 20px;
}

.slick-next {
  right: 20px;
}

.slick-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
}

.slick-dots li {
  margin: 0;
}

.slick-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0;
  color: transparent;
}

/* .slick-dots .slick-active button {
  background-color: white;
  transform: scale(1.2);
} */

.modal-details {
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: -60px;
}

.promo-description-modal {
  grid-column: 1 / -1;
}

.promo-description-modal h3 {
  margin-bottom: 15px;
  color: var(--dark);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
}

.promo-description-modal h3 i {
  margin-right: 10px;
  color: var(--primary);
}

.promo-description-modal p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.7;
  font-size: 1.05rem;
}

.benefits-section {
  grid-column: 1 / -1;
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.benefits-column {
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.benefits-column h3 {
  margin-bottom: 20px;
  color: #0066ff;
  font-size: 16px;
  line-height: 22px;
  display: flex;
  align-items: center;
}
.benefits-column h3 img {
  margin-right: 10px;
  width: 24px;
}

.slick-next:before {
  display: none;
}
.slick-prev:before {
  display: none;
}

.benefits-column h3 i {
  margin-right: 10px;
  color: var(--primary);
  background-color: yellow;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
}

.benefit-item img {
  margin-right: 10px;
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.contacts-section {
  grid-column: 1 / -1;
  /*  margin-top: 10px; */
  padding: 25px;
  background-color: #f8f9ff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contacts-section h3 {
  margin-bottom: 20px;
  color: #0066ff;
  font-size: 16px;
  line-height: 22px;
  display: flex;
  align-items: center;
}

.contacts-section h3 img {
  margin-right: 10px;
  width: 24px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  word-break: break-all;
}

.contact-item img {
  margin-right: 10px;
  color: var(--primary);
  width: 20px;
  text-align: center;
}

@media (max-width: 992px) {
  .bbest-hero-banner-text-btn .col-12:last-child .content {
    align-items: start !important;
    margin-bottom: 3rem;
  }

  .cards-credito_debito .content_bottom {
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  }

  .filters-section {
    top: 76px;
  }

  .bbest-hero-banner-text-btn {
    margin-top: 92px;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  .search-bar {
    max-width: 100%;
    margin: 15px 0;
  }

  .modal-details {
    grid-template-columns: 1fr;
  }

  .benefits-section {
    grid-template-columns: 1fr;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .modal-footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .slick-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .slick-prev {
    left: 10px;
  }

  .slick-next {
    right: 10px;
  }
}

.benefit-item span a {
  color: #0066ff !important;
}

/* Slick dots */

/* Dots */

.slick-dotted.slick-slider {
  margin-bottom: 30px;
}

.bbest-mod-app .slick-dots {
  position: absolute;
  bottom: -25px;
  list-style: none;
  display: block;
  text-align: center;
  padding: 0;
  margin: 0;
  width: 100%;
}

.slick-dots li {
  position: relative;
  display: inline-block;
  height: 10px !important;
  width: 10px !important;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
}

.bbest-hero-slider .slick-dots li {
  list-style: none;
}

.slick-dots li button {
  border: 0;
  background: transparent;
  display: block;
  height: 20px;
  width: 20px;
  outline: none;
  line-height: 0px;
  font-size: 0px;
  color: transparent;
  padding: 5px;
  cursor: pointer;
}

.slick-dots li button:hover,
.slick-dots li button:focus {
  outline: none;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
  opacity: 1;
}

.slick-dots li button:before {
  position: absolute;
  top: 0;
  left: 0;
  content: 'â€¢';
  width: 20px;
  height: 20px;
  font-family: 'Ionicons';
  font-size: 26px;
  line-height: 20px;
  text-align: center;
  color: #dddddd;
  opacity: 0.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-dots li button:before {
  content: '';
  color: rgba(255, 0, 0, 0);
  background: rgba(255, 0, 0, 0) !important;
  border: 1px solid #000099 !important;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.slick-dots li.slick-active button:before {
  color: #000099 !important;
  width: 42px !important;
}

.slick-dots .slick-active {
  border-radius: 12px !important;
  background: #000099 !important;
  width: 42.86px !important;
  -webkit-animation-name: btn-slick;
  animation-name: btn-slick;
  -webkit-animation-duration: 0.8s;
  animation-duration: 0.8s;
}

.bbest-app-content-cards .slick-dots {
  justify-content: center !important;
  bottom: -53px !important;
}

/* Fim Slick dots */
