#sn-product-widget {
  font-size: 14px;
  margin-bottom: 16px;
  flex-direction: column;
  width: 100%;
}

#sn-product-widget section h4 {
  color: #202223;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: left;
  text-transform: none;
}

#sn-product-widget__purchase-options div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

  margin-bottom: 15px;
}

#sn-product-widget__purchase-options button {
  height: 70px;
  width: 48%;

  display: flex;
  align-items: center;
  margin-bottom: 16px;

  background: transparent;
  color: #6d7175;
  border: 1px solid #d2d2d2;
  border-radius: 2px;
  box-sizing: border-box;
  font-size: 14px;

  position: relative;
}
.policy-link {
  font-size: 0.9em;
  text-decoration: underline !important;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
}

@media only screen and (max-width: 480px) {
  #sn-product-widget__purchase-options button {
    width: 100%;
  }
}

#sn-product-widget__purchase-options button.selected {
  border-color: #6d7175;
  color: #000000;
}

#sn-product-widget__purchase-options button svg {
  margin-right: 5px;
  width: 25%;
}

#sn-product-widget__purchase-options button svg path {
  fill: #6d7175;
}

#sn-product-widget__purchase-options button.selected svg path {
  fill: #000000;
}

#sn-product-widget__purchase-options button span.group-name {
  width: 75%;
  text-align: left;
}

#sn-product-widget__purchase-options .subscription_max_discount {
  display: none;

  position: absolute;
  top: -15px;
  right: -5px;

  background: #000000;
  border-radius: 2px;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
}

.sn-product-widget__delivery-frequency {
  display: none;
  margin-bottom: 5px;
}

.sn-product-widget__delivery-frequency .selling_plan {
  color: #6d7175;
  font-size: 14px;
  margin: 0.15em 0;
  padding: 1em 0.25em;
  width: 100%;
}

.sn-product-widget__delivery-frequency .radio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1em;
  height: 1em;
  line-height: 1;
  margin-bottom: 0;
}

.sn-product-widget__delivery-frequency .radio__header {
  display: flex;
  align-items: center;
}

.sn-product-widget__delivery-frequency .radio__input {
  display: flex;
  align-items: center;
}

.sn-product-widget__delivery-frequency .radio__input input {
  opacity: 0;
  width: 0;
  height: 0;
}

.sn-product-widget__delivery-frequency .radio__label {
  margin-left: 4px;
}

.sn-product-widget__delivery-frequency
  .radio__input
  input:focus
  + .radio__control {
  box-shadow: 0 0 0 0.05em #fff, 0 0 0.15em 0.1em currentColor;
}

.sn-product-widget__delivery-frequency
  .radio__input
  input:checked
  + .radio__control {
  background: radial-gradient(currentColor 50%, rgba(255, 0, 0, 0) 51%);
}

.sn-product-widget__delivery-frequency .radio__control {
  display: block;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  border: 0.1em solid currentColor;
  transform: translateY(-0.05em);
}

.sn-product-widget__delivery-frequency .radio__price {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.sn-product-widget__delivery-frequency .radio__price > span {
  display: inline-block;
}

.sn-product-widget__delivery-frequency .radio__price .second-discount {
  margin-top: 4px;
}

#sn-product-widget #powered-by {
  color: #6d7175;
  font-size: 12px;
  margin-top: 4px;
  text-align: center;
}

.datepicker-container .calendar-icon {
  height: 16px;
  width: 16px;
}

.datepicker-container,
.period {
  display: inline-block;
}

.period {
  width: 208px;
  text-align: initial;
}

.datepicker-container {
  position: relative;
  margin-right: 8px;
}

.datepicker-container .Polaris-TextField__Input:disabled {
  color: #212b36;
}

.datepicker-container .datepicker {
  background: #fff;
  height: 284px;
  width: 572px;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
  padding: 20px 15px;
  position: absolute;
  right: 0;
  display: none;
  z-index: 10;
}

.datepicker-container .datepicker.visible {
  display: block;
}

.boost-card .Polaris-Card {
  background-color: #ffd5dc;
}
.boost-card .Polaris-Choice span {
  font-weight: bold !important;
  color: #222222 !important;
}

.onboarding-steps-container {
  margin-top: 40px !important;
  margin-bottom: 30px !important;
}

.onboarding-steps-container a,
.onboarding-steps-container .steplist .Polaris-Button__Text {
  color: #008060;
  text-decoration: underline;
}

.step-1 .onboarding-steps-container,
.step-4 .onboarding-steps-container {
  margin-bottom: 10px !important;
}

.steplist ol,
.stepList li,
.steplist ::after,
.steplist ::before {
  box-sizing: border-box;
}

.steplist {
  counter-reset: step;
  border-top: 2px solid #ccc;
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  justify-content: space-between;
  overflow-x: clip;
  --circle-radius: 8px;
}

.steplist li {
  color: #999;
  padding: calc(5px + var(--circle-radius)) 0 0;
  margin: 0;
  position: relative;
  text-align: center;
}

.steplist li::before {
  counter-increment: step;
  content: counter(step);
  color: white;
  background-color: #ccc;
  border-radius: 50%;
  position: absolute;
  height: calc(2 * var(--circle-radius));
  width: calc(2 * var(--circle-radius));
  top: 0px;
  padding-top: 3px;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  font-size: 13px;
  font-weight: bold;
}

.steplist .active {
  color: black;
}

.steplist .active::before {
  background-color: #008060;
  box-shadow: 0 0 0 3px rgba(0, 128, 96, 0.25);
}

.steplist li:first-child::after {
  background-color: white;
  content: '';
  position: absolute;
  height: 2px;
  width: 100%;
  top: -2px;
  left: calc(-50% - var(--circle-radius));
}

.steplist li:last-child::after {
  background-color: white;
  content: '';
  position: absolute;
  height: 2px;
  width: 100%;
  top: -2px;
  left: calc(50% + var(--circle-radius));
}

.circle-big {
  --circle-radius: 14px;
}

.pulse-button button {
  -webkit-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -moz-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  -ms-animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  animation: pulsing 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
  box-shadow: 0 0 0 0 rgba(0, 128, 96, 0.3);
  transition: all 300ms ease-in-out;
}

.pulse-button button:hover {
  -webkit-animation: none;
  -moz-animation: none;
  -ms-animation: none;
  animation: none;
}

@keyframes prolong {
  0% {
    opacity: 0;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes pulsing {
  to {
    box-shadow: 0 0 0 8px rgb(0, 128, 96, 0.1);
  }
}

@-moz-keyframes pulsing {
  to {
    box-shadow: 0 0 0 8px rgba(0, 128, 96, 0.1);
  }
}

@-ms-keyframes pulsing {
  to {
    box-shadow: 0 0 0 8px rgba(0, 128, 96, 0.1);
  }
}

@keyframes pulsing {
  to {
    box-shadow: 0 0 0 8px rgba(0, 128, 96, 0.1);
  }
}

.confetti-explosion canvas {
  z-index: 1000 !important;
}

.skip-onboarding-container,
.skip-onboarding-container .Polaris-Button__Text {
  font-size: 0.9em;
}

.skip-onboarding-container .Polaris-Button__Text {
  color: #008060;
}

.quota-progress-bar-text {
  text-align: center;
  margin-top: 10px;
}

/** Customer Selector **/

.sn-center-spinner {
  display: flex;
  justify-content: center;
}

.sn-create-customer {
  display: flex;
}

.sn-create-customer .flex-start {
  flex: 1 1 50%;
  align-items: flex-start;
}

.sn-create-customer .flex-start label {
  font-weight: bold;
}

.sn-create-customer .flex-end {
  align-items: flex-end;
}

.create-subs-display-name {
  white-space: normal;
}

.create-subs-subtotal {
  text-align: right;
}

.create-subs-add-product-btn {
  display: flex;
  justify-content: center;
}

#sn-account-subscriptions-link {
  text-decoration: underline;
}