.ltc-pack-components {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.ltc-pack-component {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(69, 17, 19, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  padding: 12px;
}

.ltc-pack-component.is-invalid {
  border-color: #891812;
}

.ltc-pack-component__media img {
  aspect-ratio: 1;
  border-radius: 6px;
  height: auto;
  object-fit: cover;
  width: 72px;
}

.ltc-pack-component__name {
  color: #451113;
  display: inline-block;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
  text-decoration: none;
}

.ltc-pack-component__name:hover,
.ltc-pack-components-list__name:hover {
  color: #891812;
  text-decoration: underline;
}

.ltc-pack-component__controls {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.ltc-pack-component__controls input {
  background: #fcf8f4;
  border: 1px solid rgba(69, 17, 19, 0.18);
  border-radius: 6px;
  color: #451113;
  height: 38px;
  text-align: center;
  width: 64px;
}

.ltc-pack-component__qty-btn {
  align-items: center;
  background: #451113;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.ltc-pack-component__fixed,
.ltc-pack-component__hint {
  color: rgba(69, 17, 19, 0.72);
  font-size: 0.875rem;
}

.ltc-pack-component__hint,
.ltc-pack-component__error {
  margin: 6px 0 0;
}

.ltc-pack-component__error,
.ltc-pack-form__notice {
  color: #891812;
  font-size: 0.875rem;
  font-weight: 700;
}

.ltc-pack-component__price {
  color: rgba(69, 17, 19, 0.66);
  font-weight: 700;
  white-space: nowrap;
}

.ltc-pack-form .single_add_to_cart_button:disabled,
.ltc-pack-form .single_add_to_cart_button.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.ltc-pack-components-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 0;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.ltc-pack-components-list li {
  align-items: baseline;
  color: rgba(69, 17, 19, 0.72);
  display: inline-flex;
  font-size: 0.875rem;
  gap: 0;
  justify-content: flex-start;
  line-height: 1.35;
}

.ltc-pack-components-list__name {
  color: inherit;
  min-width: 0;
  text-decoration: none;
}

.ltc-pack-components-list__price {
  color: rgba(69, 17, 19, 0.56);
  font-weight: 700;
  white-space: nowrap;
}

.ltc-pack-components-list__separator,
.ltc-pack-components-list__item-separator {
  white-space: pre;
}

.ltc-pack-order-components {
  color: rgba(69, 17, 19, 0.72);
  font-size: 0.875rem;
  line-height: 1.35;
  margin-top: 8px;
}

.ltc-pack-component-order-row td {
  color: rgba(69, 17, 19, 0.72);
  font-size: 0.875rem;
}

@media (max-width: 575px) {
  .ltc-pack-component {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .ltc-pack-component__media img {
    width: 56px;
  }

  .ltc-pack-component__price {
    grid-column: 2;
  }
}
