/** Shopify CDN: Minification failed

Line 7:0 Unexpected "<"
Line 337:0 Unexpected "<"

**/
<style>
#klarna-box {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #f8f8f8;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  width: 100%;
}

.klarna-logo {
  background: #ffb3c1;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.klarna-info-link {
  margin-left: auto;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
  color: #444;
}

.klarna-modal {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.klarna-modal.show {
  display: flex;
}

.klarna-modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 450px;
  width: 95%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  position: relative;
  height: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.klarna-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  flex-shrink: 0;
}

.klarna-modal-body {
  padding: 20px;
  overflow-y: auto;
  flex-grow: 1;
}

.klarna-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
  color: #444;
  z-index: 2;
}

.klarna-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  text-align: left;
  color: #000;
}

.klarna-subtitle {
  font-size: 14px;
  color: #666;
  margin: 6px 0 0 0;
  text-align: left;
  font-weight: normal;
}

.klarna-payment-option {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.klarna-payment-info {
  display: flex;
  flex-direction: column;
}

.klarna-payment-amount {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.klarna-payment-description {
  font-size: 13px;
  color: #666;
  margin: 4px 0 0 0;
}

.klarna-payment-button {
  background: #e3ddee;
  color: #531ca2;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
}

.klarna-installment-section {
  margin-top: 16px;
}

.klarna-timeline {
  display: flex;
  justify-content: space-between;
  margin: 16px 0;
}

.klarna-timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  text-align: center;
}

.klarna-timeline-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #7047A3, #531CA2);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}

.klarna-timeline-item:first-child .klarna-timeline-circle {
  background: linear-gradient(to bottom right, #7047A3, #531CA2);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.klarna-timeline-item:nth-child(2) .klarna-timeline-circle {
  background: conic-gradient(#ffffff 0deg, #ffffff 230deg, #7047A3 230deg, #7047A3 360deg);
}

.klarna-timeline-text {
  font-size: 12px;
  color: #666;
  max-width: 80px;
  line-height: 1.3;
}

.klarna-timeline-amount {
  font-weight: bold;
  font-size: 13px;
  color: #000;
  margin-bottom: 2px;
}

.klarna-info-section {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.klarna-info-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 16px 0;
}

.klarna-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.klarna-step {
  display: flex;
  padding: 0 0 20px 24px;
  position: relative;
}

.klarna-step:last-child {
  padding-bottom: 0;
}

.klarna-step::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #000;
  position: absolute;
  left: 0;
  top: 4px;
}

.klarna-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 22px;
  bottom: 0;
  width: 1px;
  background: #ddd;
}

.klarna-step-text-primary {
  font-weight: bold;
  margin-bottom: 2px;
}

.klarna-step-text-secondary {
  color: #666;
  font-size: 13px;
}

.klarna-footer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  position: sticky;
  bottom: 0;
  background: #fff;
}

.klarna-close-button {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
}

.klarna-payment-details {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 13px;
}

.klarna-payment-detail {
  text-align: center;
  flex: 1;
}

.klarna-payment-detail-label {
  color: #666;
  margin-bottom: 2px;
}

.klarna-payment-detail-value {
  font-weight: bold;
}

.klarna-payment-detail-value.green {
  color: #0D9866;
}

@media (max-width: 480px) {
  #klarna-box {
    font-size: 13px;
  }

  .klarna-logo {
    font-size: 11px;
    padding: 1px 5px;
  }
  
  .klarna-timeline-amount {
    font-size: 12px;
  }
  
  .klarna-timeline-text {
    font-size: 11px;
  }
  
  .klarna-modal-content {
    height: 90vh;
    width: 100%;
    max-width: 100%;
    border-radius: 12px 12px 0 0;
    position: fixed;
    bottom: 0;
    top: auto;
  }
}
</style>