#bulhost-checkout {
  margin-top: 20px;
  margin-bottom: 48px;
}

#bulhost-checkout,
#bulhost-checkout * {
  box-sizing: border-box;
}

body.bulhost-checkout-page main {
  padding-bottom: 360px;
}

#container > main {
  padding-bottom: 360px !important;
}

#bulhost-checkout .row {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
}

#bulhost-checkout [class*="col-"] {
  float: none;
  min-width: 0;
  position: relative;
}

#bulhost-checkout .form-label {
  display: block;
  line-height: 1.35;
  margin-bottom: 6px;
  position: static;
}

#bulhost-checkout .form-control,
#bulhost-checkout .form-select,
#bulhost-checkout textarea {
  clear: both;
  display: block;
  float: none;
  height: auto;
  line-height: 1.5;
  min-height: 42px;
  position: relative;
  width: 100%;
}

#bulhost-checkout select.form-select {
  padding-right: 36px;
}

.bc-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.bc-heading h1 {
  margin: 0;
}

.bc-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr);
}

.bc-main,
.bc-sidebar {
  display: grid;
  gap: 16px;
}

.bc-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  clear: both;
  overflow: visible;
  padding: 16px;
}

.bc-card h3 {
  font-size: 18px;
  margin: 0 0 14px;
}

.bc-radio,
.bc-checkbox {
  display: block;
  margin: 8px 0;
}

.bc-payments {
  display: grid;
  gap: 6px;
}

.bc-cart-lines {
  display: grid;
  gap: 10px;
}

.bc-cart-line {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) 72px auto;
}

.bc-cart-line strong,
.bc-cart-line small {
  display: block;
}

.bc-cart-line small,
.bc-location-note {
  color: #6b7280;
}

.bc-promo-row {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 8px;
}

.bc-total-row,
.bc-grand-total {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.bc-discount-row {
  color: #15803d;
}

.bc-free-shipping {
  border-radius: 6px;
  font-size: 13px;
  margin: 8px 0;
  padding: 8px 10px;
}

.bc-free-shipping.is-reached {
  background: #dcfce7;
  color: #166534;
}

.bc-free-shipping.is-pending {
  background: #fff7ed;
  color: #9a3412;
}

.bc-grand-total {
  border-top: 1px solid #e5e7eb;
  font-size: 18px;
  margin-top: 6px;
  padding-top: 14px;
}

.bc-summary-confirm {
  display: block !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-top: 14px;
  min-height: 54px;
  position: static !important;
  width: 100% !important;
}

.bc-alert {
  margin-bottom: 16px;
}

.bc-payment-page {
  margin: 0 auto;
  max-width: 520px;
  min-height: 0;
  padding-bottom: 48px;
}

.bc-payment-page .bc-card {
  min-height: 0;
  padding: 14px;
}

.bc-payment-frame {
  clear: both;
  display: block;
  min-height: 0;
  overflow: visible;
  padding-bottom: 52px;
  position: relative;
  width: 100%;
}

.bc-payment-frame form,
.bc-payment-frame iframe,
.bc-payment-frame > div {
  max-width: 100%;
}

.bc-payment-frame form {
  margin: 0 auto !important;
  max-width: 460px !important;
}

.bc-payment-frame label,
.bc-payment-frame .form-label {
  margin-bottom: 4px !important;
}

.bc-payment-frame .form-control,
.bc-payment-frame input,
.bc-payment-frame select {
  min-height: 38px !important;
}

.bc-payment-frame .form-group,
.bc-payment-frame .mb-3,
.bc-payment-frame .row {
  margin-bottom: 10px !important;
}

.bc-payment-frame iframe {
  display: block;
  height: 42px !important;
  min-height: 42px;
}

#sumup-card,
.bc-payment-frame #sumup-card {
  margin-top: 10px;
  min-height: 42px;
}

.bc-payment-frame #button-cancel-sumup {
  display: block !important;
  margin: 10px auto 0 !important;
  max-width: 460px;
  min-height: 38px;
  width: 100%;
}

.bc-final-actions {
  margin-bottom: 24px;
}

.bc-confirm-mobile,
.bc-confirm-desktop {
  display: block !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  min-height: 52px;
  margin-top: 16px;
  position: static !important;
  width: 100% !important;
}

.bc-confirm-desktop {
  display: block !important;
}

#sumup-card {
  margin-top: 16px;
  min-height: 320px;
}

@media (min-width: 992px) {
  .bc-layout {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .bc-sidebar {
    position: static;
  }

  .bc-final-actions {
    display: none !important;
  }

  .bc-confirm-mobile {
    display: none !important;
  }

}
