.bb-combo {
  width: 100%;
  margin: 24px 0 32px;
  padding: 0;
  font-family: inherit;
  color: #1f2937;
}

.bb-combo * {
  box-sizing: border-box;
}

.bb-combo__inner {
  width: 100%;
  background: #ffffff;
  border: 1px solid #d9e1f2;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(20, 36, 94, .07);
}

.bb-combo__title {
  margin: 0 0 16px !important;
  color: #14245e !important;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 850;
  letter-spacing: .2px;
}

.bb-combo__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  align-items: stretch;
}

.bb-combo__items {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.bb-combo__item {
  position: relative;
  flex: 0 0 330px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 108px;
  padding: 6px 10px 6px 6px;
  background: #ffffff;
  border: 1px solid #d9e1f2;
  border-radius: 15px;
  color: #1f2937;
  overflow: visible;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}

.bb-combo__item--optional {
  padding-right: 50px;
}

.bb-combo__item:hover {
  transform: translateY(-2px);
  border-color: #336fdb;
  box-shadow: 0 8px 20px rgba(20, 36, 94, .11);
}

.bb-combo__item.is-off {
  opacity: .45;
  background: #f8fafc;
}

.bb-combo__img-wrap {
  width: 112px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bb-combo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.38);
  display: block;
}

.bb-combo__content {
  min-width: 0;
  padding: 0;
}

.bb-combo__name {
  display: block;
  margin: 0 0 8px;
  color: #111827 !important;
  font-size: 15px;
  line-height: 1.22;
  font-weight: 850;
  text-transform: uppercase;
  text-decoration: none !important;
}

.bb-combo__name:hover,
.bb-combo__name:focus {
  color: #111827 !important;
  text-decoration: none !important;
}

.bb-combo__price {
  color: #14245e;
  font-size: 19px;
  line-height: 1.1;
  font-weight: 950;
}

.bb-combo__check-wrap {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 20;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.bb-combo__check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bb-combo__check-box {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f6;
  border: 1px solid #e5eaf3;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65), 0 4px 10px rgba(20, 36, 94, .08);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bb-combo__check-wrap:hover .bb-combo__check-box {
  transform: translateY(-1px);
  border-color: #336fdb;
}

.bb-combo__check:checked + .bb-combo__check-box {
  background: #336fdb;
  border-color: #336fdb;
  box-shadow: 0 5px 12px rgba(51, 111, 219, .22);
}

.bb-combo__check:checked + .bb-combo__check-box::after {
  content: "✓";
  color: #ffffff;
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
}

.bb-combo__plus {
  flex: 0 0 28px;
  width: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #14245e;
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}

.bb-combo__summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 16px;
  background: #14245e;
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(20, 36, 94, .18);
}

.bb-combo__summary-label {
  margin: 0 0 8px;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .35px;
}

.bb-combo__summary-price {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.bb-combo__button {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: none;
  border-radius: 999px;
  padding: 11px 16px;
  cursor: pointer;
  background: #336fdb;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.bb-combo__button:hover {
  transform: translateY(-1px);
  background: #285fc2;
  box-shadow: 0 10px 22px rgba(51, 111, 219, .32);
}

.bb-combo__button.is-loading {
  opacity: .75;
  pointer-events: none;
}

.bb-combo__cart-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.bb-combo__error {
  display: none;
  margin-top: 10px;
  color: #ffffff;
  background: rgba(220, 38, 38, .2);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.bb-combo__error.is-visible {
  display: block;
}

.bb-combo__img--missing {
  opacity: .22;
}

@media (max-width: 991px) {
  .bb-combo__layout {
    grid-template-columns: 1fr;
  }

  .bb-combo__summary {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .bb-combo__items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
    padding: 0;
  }

  .bb-combo__plus {
    width: 100%;
    min-width: 100%;
    height: 18px;
    font-size: 24px;
  }

  .bb-combo__item {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .bb-combo {
    margin: 22px 0 28px;
  }

  .bb-combo__inner {
    padding: 14px;
    border-radius: 16px;
  }

  .bb-combo__title {
    font-size: 18px;
    margin-bottom: 14px !important;
  }

  .bb-combo__item {
    grid-template-columns: 104px 1fr;
    gap: 8px;
    min-height: 104px;
    padding: 6px 10px 6px 6px;
    border-radius: 14px;
  }

  .bb-combo__item--optional {
    padding-right: 46px;
  }

  .bb-combo__img-wrap {
    width: 104px;
    height: 92px;
  }

  .bb-combo__img {
    transform: scale(1.32);
  }

  .bb-combo__name {
    font-size: 14px;
  }

  .bb-combo__price {
    font-size: 18px;
  }

  .bb-combo__summary {
    padding: 16px;
    border-radius: 16px;
  }

  .bb-combo__summary-price {
    font-size: 26px;
  }
}

@media (max-width: 370px) {
  .bb-combo__item {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 12px;
  }

  .bb-combo__item--optional {
    padding-right: 46px;
  }

  .bb-combo__img-wrap {
    width: 100%;
    max-width: 150px;
    height: 100px;
    margin: 0 auto;
  }
}