.listing .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}
.card {
  border-radius: 8px;
  box-shadow: 0px 2px 7px 0px rgba(255, 255, 255, 0.34);
  box-shadow: 0px -1px 7px 0px rgba(255, 255, 255, 0.34);
  display: flex;
}
.start {
  width: 640px;
  position: relative;
}
.rank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  border-radius: 6px;
  padding-inline: 16px;
}
.rank_num {
  display: flex;
  align-items: center;
  gap: 8px;
}
.if_no_label{
  justify-content: center;
}
.rank_num p {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: 0px;
}
.label {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 19px;
  letter-spacing: 0px;
}
.rank_desk {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rank_desk .rank_num {
  width: 26px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rank_desk .label {
  height: 32px;
  display: flex;
  align-items: center;
  position: relative;
  margin-left: 32px;
  width: calc(100% - 96px);
}
.rank_desk .label::before,
.rank_desk .label::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-width: 16px;
  border-style: solid;
}
.rank_desk .label::before {
  right: 100%;
  border-left-color: transparent;
}
.rank_desk .label::after{
  left: 100%;
  border-right-color: transparent;
}
.start_content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  padding-top: 38px;
}
.card_bg_container_mb,
.card_bg_container_mb::before,
.card_bg_container,
.card_bg_container::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.card_bg_container_mb img,
.card_bg_container_mb::before
.card_bg_container img,
.card_bg_container::before {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.card_bg_container_mb img,
.card_bg_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card_bg_container_mb::before,
.card_bg_container::before {
  content: "";
  background: linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.67) 151.02%);
  z-index: 1;
}
.img_section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 175px;
  align-items: center;
  justify-content: center;
  padding-block: 10px;
}
.img_section img {
  max-width: 175px;
  max-height: 96px;
}
.score {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
}
.score_num {
  color: #fff;
  font-size: 43px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: -0.02em;
}
.score_text {
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  line-height: 17px;
  letter-spacing: -0.02em;
}
.pros {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pros div {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pros span {
  display: inline-flex;
}
.pros div img {
  width: 16px;
  height: 16px;
}
.pros div p {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.02em;
}

.end {
  width: 368px;
  background: rgba(23, 23, 23, 1);
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 5px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.card_title {
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  line-height: 36px;
  letter-spacing: -0.02em;
  text-align: center;
}
.btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.btn div {
  width: 255px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 184, 0, 1);
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: -0.02em;
  text-align: center;
  text-decoration: none;
}
.sdvklm{
  cursor: pointer;
}
.btn span {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  letter-spacing: -0.02em;
  text-align: center;
}

.tooltip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  letter-spacing: -0.02em;
  padding-bottom: 2px;
}
.tooltip_container {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.tooltip_text {
  display: none;
  position: absolute;
  top: 105%;
  left: 70%;
  transform: translateX(-70%);
  padding: 10px;
  min-width: 300px;
  background: #242424;
  color: #fff;
  border-radius: 8px;
}
.tooltip_container:hover .tooltip_text,
.tooltip_text:hover {
  display: block;
  z-index: 5;
}

.brand_name {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 27px;
  letter-spacing: -0.02em;
  margin-top: 10px;
}
.label_mb{
  display: none;
}
@media (max-width: 1000px) {
  .brand_mb_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .brand_name {
    margin-top: 0px;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
  }
  .listing .container {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .card {
    flex-direction: column;
    max-width: 343px;
    position: relative;
    gap: 24px;
    height: 100%;
    overflow: hidden;
  }
  .label_mb {
    position: absolute;
    z-index: 3;
    top: 20px;
    right: -78px;
    height: 40px;
    width: max-content;
    max-width: 180px;
    padding: 0px 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
  }
  .label_mb .label{
    max-width: 100px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    white-space: wrap;
    text-wrap: wrap;
  }
  .rank {
    top: 0px;
    left: 0px;
    right: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    padding-block: 3px;
    z-index: 2;
    background: #3F3F3F;
  }
  .start {
    max-width: 343px;
  }
  .card_bg_container_mb::before,
  .card_bg_container::before {
    background: linear-gradient(0.41deg, rgba(0, 0, 0, 0.76) 0.32%, rgba(0, 0, 0, 0.76) 75.67%, rgba(232, 232, 232, 0) 250.62%);
  }
  .card_bg_container_mb img,
  .card_bg_container_mb::before,
  .card_bg_container img,
  .card_bg_container::before {
    border-radius: 8px;
  }
  .start_content {
    justify-content: center;
    padding: 0px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.83) 46.72%, rgba(0, 0, 0, 0) 88.11%);
    border-radius: 8px;
  }
  .img_section {
    margin-top: 25px;
    flex-direction: row;
    max-width: 100%;
    padding-bottom: 0px;
    padding-top: 13px;
  }
  .end {
    width: calc(343px - 32px);
    background: none;
    padding-bottom: 22px;
    padding-top: 0px;
    justify-content: flex-start;
    gap: 24px;
  }
  .score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .pros,
  .score_text {
    display: none;
  }

  .card_title {
    font-weight: 700;
    line-height: 30px;
  }
  .rank_mob {
    width: 30px;
    justify-content: center;
    padding-inline: 0px;
    border-top-right-radius: 0px;
  }
  .btn {
    align-items: center;
    gap: 10px;
  }
}
@media (max-width: 745px) {
  .listing .container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .card,
  .start {
    max-width: 500px;
  }
  .end {
    width: calc(100% - 32px);
    justify-content: center;
  }
  .img_section {
    width: 100%;
  }
  .tooltip_text {
    left: 80%;
    transform: translateX(-80%);
    font-size: 8px;
  }
}

@media (max-width: 520px) {
  .card,
  .start {
    max-width: 343px;
  }
}
@media (max-width: 360px) {
  .card,
  .start {
    max-width: 100%;
  }
}
