.qep-checkout-shell {
  width: 100%;
  padding: 160px 0 80px;
}

.qep-quantum-checkout-form {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.qep-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 640px) 360px;
  justify-content: center;
  align-items: start;
  gap: 64px;
}

.qep-checkout-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.qep-checkout-sidebar {
  min-width: 0;
}

.qep-checkout-main > .qep-checkout-section + .qep-checkout-section {
  margin-top: 0;
}

.qep-checkout-steps-wrap {
  position: sticky;
  z-index: 20;
  width: 100%;
  transition: background .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
}

.qep-checkout-steps-wrap.is-sticky {
  background: linear-gradient(180deg, rgba(0, 17, 39, 0.96) 0%, rgba(0, 17, 39, 0.88) 100%);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.qep-checkout-steps {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0;
}

.qep-checkout-step {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.qep-checkout-step-inner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.qep-checkout-step-label {
  white-space: nowrap;
}

.qep-checkout-section {
  opacity: .38;
  filter: grayscale(.14);
  transition: opacity .25s ease, filter .25s ease;
}

.qep-checkout-section.is-near-active {
  opacity: .68;
  filter: grayscale(.06);
}

.qep-checkout-section.is-active {
  opacity: 1;
  filter: grayscale(0);
}

@media (max-width: 767px) {
  .qep-checkout-steps {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .qep-checkout-step {
    flex: 0 0 auto;
  }

  .qep-checkout-section,
  .qep-checkout-section.is-near-active {
    opacity: 1;
    filter: none;
  }
}

.qep-checkout-steps {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.qep-checkout-step {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: opacity .2s ease;
}

.qep-checkout-step-number {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #354352;
  color: #8C97A2;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  border: 2px solid transparent;
  transition: .2s ease;
}

.qep-checkout-step-label {
  font-size: 14.22px;
  line-height: 18px;
  font-weight: 400;
  color: #425466;
  transition: .2s ease;
}

.qep-checkout-step.is-active .qep-checkout-step-number {
  background: #0066FF;
  color: #FFFFFF;
  border-color: #0066FF;
  box-shadow: 0 0 0 5.33333px rgba(0, 102, 255, 0.24);
  border-radius: 50%;
}

.qep-checkout-step.is-active .qep-checkout-step-label {
  color: #FFFFFF;
}

.qep-checkout-step.is-complete .qep-checkout-step-number {
  background: #0066FF;
  color: #FFFFFF;
  border-color: #0066FF;
  border-radius: 12px;
}

.qep-checkout-step.is-complete .qep-checkout-step-label {
  color: #FFFFFF;
}

.qep-checkout-section {
  padding: 0 0 48px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  scroll-margin-top: 120px;
  width: 100%;
}

.breakdance .qep-checkout-section h2 {
  margin: 0 0 24px;
  color: #FFFFFF;
  font-size: 22.78px;
  line-height: 32px;
  font-weight: 600;
}

.qep-section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.breakdance .qep-section-heading-row h2 {
  margin: 0;
}

.qep-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #D7DADF;
  font-size: 14.22px;
  line-height: 18px;
}

.qep-inline-check input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid #D0D5DD;
  border-radius: 4px;
  background: transparent;
  position: relative;
}

.qep-inline-check input:checked {
  background: #0066FF;
  border-color: #0066FF;
}

.qep-inline-check input:checked::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  top: 3px;
}

.qst-row {
  width: 100%;
}

.qep-section-heading-row.shipping-header{
  flex-direction: column;
  justify-content: flex-start;
      align-items: flex-start;
}

.qst-row.qst-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.qep-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qep-field label {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  color: #B2B9C1;
  font-size: 12.64px;
  line-height: 16px;
  font-weight: 400;
}

.qep-field .req {
  color: #D92D20;
  font-size: 14.22px;
  line-height: 18px;
  margin-left: 0;
}

.qep-field input,
.qep-field select,
.qep-field textarea {
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 10px 16px;
  background: #001127;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 16px;
  line-height: 16px;
  box-shadow: none;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.qep-field textarea {
  min-height: 120px;
  height: auto;
  resize: vertical;
}

.qep-field input::placeholder,
.qep-field textarea::placeholder {
  color: #667085;
  opacity: 1;
}

.qep-field select {
  color: #FFFFFF;
  padding-right: 44px;
  -webkit-appearance: none;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #FFFFFF 50%),
    linear-gradient(135deg, #FFFFFF 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 3px),
    calc(100% - 15px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.qep-field input:focus,
.qep-field select:focus,
.qep-field textarea:focus {
  border-color: rgba(0, 102, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

.qep-country-display input[disabled] {
  color: #667085;
  opacity: 1;
  cursor: not-allowed;
}

.qep-field.is-disabled {
  opacity: .72;
}

.qep-field.qep-field-error input,
.qep-field.qep-field-error select,
.qep-field.qep-field-error textarea,
.qep-field input.qep-input-error,
.qep-field select.qep-input-error,
.qep-field textarea.qep-input-error {
  border-color: #ff5c5c !important;
  box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.12);
}

.qep-payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.qep-payment-method {
  appearance: none;
  height: 56px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #8C97A2;
  font-size: 14.22px;
  line-height: 18px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: .2s ease;
}

.qep-payment-method.is-active {
  background: rgba(0, 102, 255, 0.16);
  border-color: #0066FF;
  color: #FFFFFF;
}

.qep-payment-panel {
  display: none;
}

.qep-payment-panel.is-active {
  display: block;
}

.qep-checkout-notices {
  width: 100%;
}

.qep-checkout-notices .woocommerce-NoticeGroup,
.qep-checkout-notices .woocommerce-error {
  margin-top: 24px;
}

.qep-checkout-summary {
  position: sticky;
  top: 24px;
  padding: 24px;
  border-radius: 16px;
  background: rgba(18, 38, 63, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(25px);
  box-shadow:
    0px 95px 80px rgba(0, 0, 0, 0.12),
    0px 39.6887px 33.4221px rgba(0, 0, 0, 0.0862625),
    0px 21.2195px 17.869px rgba(0, 0, 0, 0.0715329),
    0px 11.8955px 10.0172px rgba(0, 0, 0, 0.06),
    0px 6.3176px 5.32008px rgba(0, 0, 0, 0.0484671),
    0px 2.62889px 2.21381px rgba(0, 0, 0, 0.0337375);
}

.breakdance .qep-checkout-summary h3 {
  margin: 0 0 24px;
  color: #FFFFFF;
  font-size: 22.78px;
  line-height: 42px;
  padding-bottom: 24px;
  line-height: 100%;
  margin-bottom: 24px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 500;
}

.qep-summary-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  
  margin-bottom: 24px;
 
}

.qep-summary-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.qep-summary-item-thumb img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.qep-summary-item-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.qep-summary-item-content strong {
  color: #B2B9C1;
  font-size: 12.64px;
  font-style: normal;
  line-height: 16px; /* 126.582% */
  font-weight: 400;
  marb6px;
}


.qep-summary-row .woocommerce-Price-amount.amount{
  color: #fff;
}

.qep-summary-row .qep-summary-row is-total .woocommerce-Price-amount.amount{
  font-size: 18px;
  font-weight: 500;
}

.qep-summary-row.is-total{
  font-size: 18px;
  font-weight: 500;
}

.qep-summary-item-content span {
  color: #FFF;
  font-size: 14.22px;
  font-style: normal;
  font-weight: 100;
  line-height: 18px; /* 126.582% */
}

.qep-summary-item-total {
  color: #FFF;
  font-size: 14.22px;
  font-style: normal;
  font-weight: 100;
  line-height: 18px; /* 126.582% */
}

.qep-summary-totals {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qep-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #B2B9C1;
  font-size: 14.22px;
  line-height: 18px;
}

.qep-summary-row.is-total {
  margin-top: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 22.78px;
  line-height: 32px;
  font-weight: 600;
}

.qep-summary-submit {
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin-top: 20px;
  border: 0;
  border-radius: 8px;
  background: #0066FF;
  color: #FFFFFF;
  font-size: 14.22px;
  line-height: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.qep-summary-submit:hover {
  transform: translateY(-1px);
}

.qep-summary-submit:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

.qep-qg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 7, 20, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .2s ease;
  z-index: 99999;
}

.qep-qg-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.qep-qg-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: #0066FF;
  border-radius: 50%;
  animation: qepSpin .8s linear infinite;
}

@keyframes qepSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1200px) {
  .qep-checkout-shell {
    padding: 120px 24px 64px;
  }

  .qep-checkout-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .qep-checkout-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .qep-checkout-sidebar {
    order: -1;
  }

  .qep-checkout-summary {
    position: relative;
    top: 0;
  }

  .qep-checkout-steps-wrap {
    position: relative;
    top: 0;
  }
}

@media (max-width: 767px) {
  .qep-checkout-shell {
    padding: 96px 16px 48px;
  }

  .qep-checkout-main {
    gap: 32px;
  }

  .qep-checkout-steps {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .qst-row.qst-2col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .qep-section-heading-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .qep-payment-methods {
    grid-template-columns: 1fr;
  }

  .qep-checkout-summary h3 {
    font-size: 24px;
    line-height: 32px;
  }

  .qep-summary-row.is-total {
    font-size: 18px;
    line-height: 26px;
  }
}