/* SelectionCard.css */

.selection-card {
  display: flex;
  align-items: center;
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  cursor: pointer;
  gap: 16px;
  height: fit-content;
  transition: all 0.3s ease-in-out;
}

.selection-card:hover {
  border: 1px solid #6A7282;
}

.selection-card--selected {
  background-color: #EAF4E9;
  border: 1px solid #89A282;
}

.selection-card--selected:hover {
  border: 1px solid #89A282;
}

.selection-card__radio_height {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 12px;
  height: 100%;
}

/* Radio Button */
.selection-card__radio {
  display: absolute;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.selection-card__radio-outer {
  width: 20px;
  height: 20px;
  border: 1px solid #D1D5DC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.selection-card--selected .selection-card__radio-outer {
  /* border-color: #0D5D56; */
  border-color: #000;
  background-color: #000;
}

.selection-card__radio-inner {
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
}

/* Image */
/* .selection-card__image_bg{
  position: absolute;
  background-color: #364153;
} */

.selection-card__image-container {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 8px; */
  /* overflow: hidden; */
}

.selection-card__image_bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0%;
  transition: background 0.2s ease-in-out;
  overflow: visible;
  filter: blur(16px);
  border-radius: 999px;
  background: transparent;
}

/* When card is selected, change the image background */
.selection-card--selected .selection-card__image_bg {
  background: radial-gradient(#77BD62 25%, #77bd6200 110%);
  filter: blur(16px);
  border-radius: 999px;
  overflow: visible;
}

.selection-card__image {
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Content */

.selection-card__right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0px;
}

.selection-card__content {
  flex: 1;
  /* gap: 8px; */
  min-width: 0;
  text-align: start;
}

.selection-card__header {
  display: flex;
  align-items: center;
  /* gap: 8px; */
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.selection-card__title {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  line-height: 1.4;
}

.selection-card__badge {
  display: inline-block;
  padding: 2px 8px;
  background-color: rgba(54, 65, 83, 0.08);
  color: #5F8552;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.selection-card__description {
  font-size: 14px;
  color: #364153;
  margin: 0 0 8px 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.selection-card__price {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

/* Responsive */
@media (max-width: 550px) {
  .selection-card {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 16px;
    gap: 16px;
  }

  .selection-card__right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .selection-card__radio {
    position: absolute;
    top: 10px;
    left: 10px;
  }

  .selection-card__image-container {
    width: 120px;
    height: 120px;
  }


}

.product-selector__list {
  display: flex;
  gap: 12px;
  flex-direction: column;

}
