.tfd_widget__wrap {
  background-color: var(--white);
  -webkit-box-shadow: var(--box_shadow);
  -moz-box-shadow: var(--box_shadow);
  box-shadow: var(--box_shadow);
  border: 1px solid var(--story_highlight);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

/* ////////////////////////////////// */
/* this is for the header  */
/* ////////////////////////////////// */
.tfd_affi_info h1 {
  margin-bottom: 15px;
}

/* ////////////////////////////////// */
/* this is for the main top  */
/* ////////////////////////////////// */
.tfd_specs_container {
  display: flex;
  background: var(--form_input);
  border: 1px solid var(--story_highlight);
  border-radius: 5px;
  flex-direction: row;
}
/* this is for the main figure section  */
.tfd_specs_container .tfd_affi_figure {
  flex-basis: 220px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px 0;
}
.tfd_specs_container .tfd_affi_figure .tfd_affi_name {
  font-size: 18px;
  line-height: 24px;
  padding-bottom: 10px;
}
.tfd_specs_container .tfd_affi_figure .tfd_affi_image {
  border: 1px solid --story_highlight;
  border-radius: 5px;
  overflow: hidden;
  max-width: 220px;
  padding: 10px 0;
  background: var(--white);
}
.tfd_specs_container .tfd_affi_figure .tfd_affi_image img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* this is for the main second section  */
.tfd_specs_container .tfd_affi_list_specs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  justify-content: space-between;
  padding: 20px;
}
.tfd_specs_container .tfd_affi_list_specs .second_figure_list {
  display: flex;
  flex-direction: row;
  /* justify-content: center; */
  align-items: center;
  margin-bottom: 8px;
}
.tfd_specs_container .tfd_affi_list_specs .tfd_affi_default {
  display: flex;
  flex-direction: column;
}
.tfd_specs_container .tfd_affi_list_specs .tfd_affi_default .tfd_affi_title {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  line-height: 20px;
}
.tfd_specs_container .tfd_affi_list_specs .tfd_affi_default .tfd_affi_data {
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
  color: var(--red);
}
.tfd_specs_container .tfd_affi_list_specs .tfd_affi_default span {
  display: block;
}
.tfd_specs_container
  .tfd_affi_list_specs
  .tfd_affi_default
  .tfd_affi_datadetail {
  font-size: 12px;
  line-height: 20px;
  color: var(--tertiary_text_color);
}
.tfd_affi_icon {
  padding-right: 8px;
}

/* this is for the main third section  */
.tfd_specs_container .tfd_affi_buy_btn {
  flex-basis: 100%;
  padding: 20px;
  background: linear-gradient(
    103deg,
    var(--dark_blue) 0%,
    var(--link_color) 100%
  );
  color: var(--white);
  border-radius: 0 0 5px 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-basis: 250px;
  flex-shrink: 0;
  border-radius: 0 5px 5px 0;
}
.tfd_specs_container .tfd_affi_buy_btn ul {
  list-style: none;
}
.tfd_specs_container .tfd_affi_buy_btn ul .tfd_affi_price_tag {
  background-color: #fff108;
  border-radius: 0 0 6px 6px;
  padding: 10px 20px;
  font-size: 25px;
  font-weight: 600;
  color: var(--primary_text_color);
  text-align: center;
  margin: -20px 7px 22px;
}
.tfd_specs_container .tfd_affi_buy_btn ul li {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 15px;
}
.tfd_specs_container .tfd_affi_buy_btn ul li:before {
  content: "";
  width: 5px;
  height: 5px;
  background: #fff108;
  border-radius: 100%;
  display: block;
  position: absolute;
  top: 10px;
  left: 0;
}
.tfd_specs_container .tfd_affi_buy_btn ul li:before {
  content: "";
  width: 5px;
  height: 5px;
  background: #fff108;
  border-radius: 100%;
  display: block;
  position: absolute;
  top: 10px;
  left: 0;
}
.tfd_affi_dt {
  display: flex;
  padding: 10px 0;
  align-items: normal;
  justify-content: center;
}
.tfd_affi_dtli {
  width: 100%;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.2px;
  border-right: 1px solid var(--white_bark_a);
}
.tfd_affi_dtli:last-child {
  border-right: none;
}
.tfd_affi_dtli > span {
  font-size: 12px;
  color: var(--tertiary_text_color);
  display: block;
}
@media (max-width: 750px) {
  .tfd_specs_container {
    display: flex;
    background: var(--form_input);
    border: 1px solid var(--story_highlight);
    border-radius: 5px;
    flex-direction: column;
  }
  .tfd_specs_container .tfd_affi_list_specs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .tfd_specs_container .tfd_affi_list_specs .second_figure_list {
    flex: 0 0 48%; /* Adjust the percentage to control spacing */
    box-sizing: border-box;
    margin-bottom: 10px; /* Adjust the margin as needed */
  }
  .tfd_specs_container .tfd_affi_buy_btn {
    flex-basis: content;
  }
  .tfd_specs_container {
    padding-left: 0;
  }
  .tfd_specs_container .tfd_affi_buy_btn {
    border-radius: 5px;
  }
  .tfd_widget__wrap {
    padding: 10px 5px 0px;
  }
}
