:host {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  min-width: 0;
  align-self: stretch;
  --mobile-size: 100px;
}

[hidden] {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

.choice {
  background: var(--sc-choice-background-color);
  font-family: var(--sc-input-font-family);
  font-size: var(--sc-input-font-size-medium);
  font-weight: var(--sc-input-font-weight);
  user-select: none;
  border: var(--sc-choice-border);
  border-radius: var(--sc-choice-border-radius, var(--sc-input-border-radius-large));
  box-shadow: var(--sc-choice-box-shadow);
  cursor: pointer;
  padding: var(--sc-choice-padding, 1.3em 1.1em);
  position: relative;
  text-decoration: none;
  color: var(--sc-input-color);
  height: 100%;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}
.choice--is-rtl {
  text-align: right;
}
.choice__content {
  cursor: pointer;
  display: flex;
  gap: 0.75em;
  align-items: center;
}
.choice--checked {
  border-color: var(--sc-color-primary-500);
  box-shadow: 0 0 0 1px var(--sc-color-primary-500);
  z-index: 1;
}
.choice__title {
  display: inline-block;
  font-weight: var(--sc-input-label-font-weight);
  font-size: var(--sc-input-label-font-size-medium);
}
.choice--size-small {
  padding: 0.75em 0.9em;
}
.choice--size-large {
  padding: 1.3em 1.1em;
}

.choice__icon {
  display: inline-flex;
  width: var(--sc-radio-size);
  height: var(--sc-radio-size);
}
.choice__icon svg {
  width: 100%;
  height: 100%;
}

.choice__control {
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: solid var(--sc-input-border-width) var(--sc-input-border-color);
  background-color: var(--sc-input-background-color);
  color: transparent;
  transition: var(--sc-input-transition, var(--sc-transition-medium)) border-color, var(--sc-input-transition, var(--sc-transition-medium)) background-color, var(--sc-input-transition, var(--sc-transition-medium)) color, var(--sc-input-transition, var(--sc-transition-medium)) box-shadow;
}
.choice__control.choice__radio {
  width: var(--sc-radio-size);
  height: var(--sc-radio-size);
  border-radius: 50%;
}
.choice__control.choice__checkbox {
  width: var(--sc-toggle-size);
  height: var(--sc-toggle-size);
  border-radius: 4px;
}
.choice__control input[type=radio],
.choice__control input[type=checkbox] {
  position: absolute;
  opacity: 0;
  padding: 0;
  margin: 0;
  pointer-events: none;
}

.choice:not(.choice--checked):not(.choice--disabled) .choice__control:hover {
  border-color: var(--sc-input-border-color-hover);
  background-color: var(--sc-input-background-color-hover);
}

.choice.choice--focused:not(.choice--checked):not(.choice--disabled) .choice__control {
  border-color: var(--var-sc-checked-focus-border-color, var(--sc-input-background-color));
  background-color: var(--sc-input-background-color-focus);
  box-shadow: 0 0 0 var(--sc-focus-ring-width) var(--sc-color-primary-500);
}

.choice.choice--focused:not(.choice--checked):not(.choice--disabled) {
  outline-style: solid;
  outline-color: var(--sc-color-primary-500);
  outline-width: var(--sc-focus-ring-width);
  outline-offset: 2px;
}

.choice--checked .choice__control {
  color: var(--var-sc-checked-color, var(--sc-input-background-color));
  border-color: var(--sc-color-primary-500);
  background-color: var(--sc-color-primary-500);
}

.choice.choice--checked:not(.choice--disabled) .choice__control:hover {
  border-color: var(--var-sc-checked-hover-radio-border-color, var(--sc-input-background-color));
  background-color: var(--sc-color-primary-500);
}

.choice.choice--checked:not(.choice--disabled).choice--focused .choice__control {
  border-color: var(--var-sc-checked-focus-radio-border-color, var(--sc-input-background-color));
  background-color: var(--sc-color-primary-500);
  box-shadow: 0 0 0 var(--sc-focus-ring-width) var(--sc-focus-ring-color-primary);
}

.choice--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.choice:not(.choice--checked) svg circle {
  opacity: 0;
}

.choice__label {
  width: 100%;
  line-height: 1;
  user-select: none;
}

.choice--layout-columns .choice__label {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5em;
}
.choice--layout-columns .choice__price {
  text-align: right;
  margin: 0;
  display: flex;
  gap: var(--sc-spacing-xx-small);
}

.choice__description {
  display: inline-block;
  color: var(--sc-color-gray-500);
  font-size: var(--sc-font-size-medium);
}

.choice__label-text {
  display: block;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  flex: 1;
}

.choice__price {
  display: block;
}