.display-hidden {
  opacity: 0;
}

.bundle-block {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  max-width: 44rem;
}

.bundle-container {
  padding: 10px !important;
  background: transparent;
  margin-bottom: 10px;
}

.bundle-title {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bundle-items {
  padding-left: 12px;
  padding-right: 12px;
}

.bundle-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.bundle-item .plus-icon {
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #777777;
  left: 50%;
  bottom: 0%;
  z-index: 50;
  transform: translateY(50%) translateX(-50%);
}

.bundle-item .plus-line-icon {
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0%;
  height: 1px;
  width: 100%;
  z-index: 49;
  transform: translateY(50%) translateX(-50%);
  background: #777777;
}

.plus-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  background: #fff;
  top: 50%;
  left: 50%;
  z-index: 51;
  transform: translate(-50%, -50%);
  border-radius: 4px;
}

.plus-icon::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  background: #fff;
  top: 50%;
  left: 50%;
  z-index: 51;
  transform: translate(-50%, -50%) rotate(90deg);
  border-radius: 4px;
}

.bundle-item img {
  border-radius: 4px;
  border: 1px solid #000;
}

.bundle-item-info {
  position: relative;
  flex-grow: 1;
  height: fit-content !important;
  width: calc(100% - 70px) !important;
}

.bundle-item-info .product-name {
  margin: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  width: calc(100% - 10px);
  display: inline-block;
}

.bundle-item-variant {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.bundle-item-variant-option {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.bundle-item-price {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.bundle-item-variant-option select {
  padding: 8px;
  border-radius: 4px;
  margin-right: 8px;
}

.bundle-item-variant select {
  background: transparent;
}

.bundle-item-variant select:focus,
.bundle-item-variant select:focus-visible {
  outline: none;
  box-shadow: none;
}

.bundle-item-qty {
  position: absolute;
  top: -8px;
  right: 0;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #d3d3d3;
  color: #000;
  font-size: 12px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.bundle-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  margin-bottom: 10px;
  background-color: #f3f3f3ed !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.bundle-footer__total-label {
  font-weight: 600 !important;
  color: #000;
  margin: 0;
  font-size: 14px;
}

.bundle-footer__total-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.bundle-footer__total-price--sale {
  color: #f00;
  font-weight: 600;
  font-size: 16px !important;
  margin: 0;
}

.bundle-footer__total-price--origin {
  text-decoration: line-through;
  color: #2b2b2b;
  margin: 0;
  font-size: 14px !important;
}

.bundle-addcart {
  width: 100%;
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: 0.07rem;
  padding: 1em 2em;
  outline: none;
  border: none;
  border-radius: 4px;
}

.bundle-addcart:hover {
  cursor: pointer;
}

.product-detail-json {
  display: none;
}

.bundle-items-horizontal-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 33px;
  row-gap: 15px;
  padding: 0;
}
.bundle-items-horizontal-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 33px;
  padding: 0;
}

.bundle-item-horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  border-radius: 5px;
  border: 1px solid #5c5f62;

  padding: 15px 5px 5px 5px;

  & .bundle-item-horizontal-image {
    position: relative;
    width: 75px;
    height: 75px;

    & img {
      width: 75px;
      height: 75px;
      border-radius: 5px;
      border: 1px solid #5c5f62;
    }
    & .bundle-item-horizontal-qty {
      position: absolute;
      top: -8px;
      right: -8px;
      height: 20px;
      width: 20px;
      border-radius: 50%;
      background: #d3d3d3;
      color: #000;
      font-size: 10px;

      display: flex;
      justify-content: center;
      align-items: center;
    }
  }

  & .bundle-item-horizontal-price {
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 650;
  }

  & .bundle-item-title {
    width: 100%;
    height: 50px;

    & a {
      color: black;
      text-decoration: none;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 20px;
      font-size: 14px;
    }
  }

  & .bundle-item-horizontal-plus_icon {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: #fff;
    left: -29px;
    top: 40%;
    z-index: 50;
    background-color: #777777; /* màu nền xám */
    border: none;
    padding: 0;

    & svg {
      width: 15px;
      height: 16px;
      fill: white;
    }
  }
}
