body {
  background: #efefef;
}

.mp-checkout-page {
  max-width: 650px;
  margin: 30px auto;
  font-family: Arial, sans-serif;
}

.mp-checkout-card {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  padding: 18px 16px;
}

.mp-checkout-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 13px;
  color: #444;
  margin-bottom: 14px;
}

.mp-country-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mp-product-header {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 18px;
}

.mp-product-thumb {
  width: 68px;
  height: 68px;
  border-radius: 4px;
  background: #44c7bf;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  flex-shrink: 0;
}

.mp-product-info h2 {
  margin: 0 0 4px;
  font-size: 28px;
  line-height: 1.15;
  color: #1f1f1f;
}

.mp-product-author {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

.mp-product-price {
  font-size: 18px;
  color: #3d5afe;
  font-weight: 700;
  margin-bottom: 4px;
}

.mp-product-installments {
  font-size: 14px;
  color: #4e4e4e;
}

.mp-form-group {
  margin-bottom: 14px;
}

.mp-form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #353535;
}

.mp-input,
.mp-select,
.mp-fake-input {
  width: 100%;
  height: 38px;
  border: 1px solid #cfd4dc;
  border-radius: 3px;
  padding: 0 12px;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}

.mp-fake-input {
  display: flex;
  align-items: center;
}

.mp-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.mp-coupon-box {
  border: 1px solid #d9dee5;
  border-radius: 4px;
  background: #fff;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  margin-bottom: 14px;
  color: #2b2b2b;
  font-size: 16px;
}

.mp-payment-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}

.mp-tab {
  height: 50px;
  border: 1px solid #d9dee5;
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #6b6f76;
  cursor: pointer;
  text-align: center;
  padding: 0 8px;
}

.mp-tab.active {
  border-color: #4d6cf8;
  color: #2f56d9;
  background: #f7f9ff;
  font-weight: 600;
}

.mp-tab.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.mp-card-box {
  border: 1px solid #e0e3e7;
  border-radius: 4px;
  background: #fafafa;
  padding: 16px;
  margin-bottom: 16px;
}

.mp-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: start;
}

.mp-card-preview {
  background: linear-gradient(180deg, #636a76 0%, #4b535f 100%);
  border-radius: 8px;
  min-height: 180px;
  position: relative;
  padding: 18px;
  color: rgba(255,255,255,0.9);
}

.mp-card-chip {
  width: 34px;
  height: 24px;
  background: #d6d7db;
  border-radius: 4px;
  margin-bottom: 24px;
}

.mp-card-number {
  letter-spacing: 2px;
  font-size: 18px;
  margin-bottom: 26px;
  opacity: 0.9;
}

.mp-card-lines {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.8;
}

.mp-installments-label {
  font-size: 14px;
  color: #3b3b3b;
  margin-bottom: 8px;
}

.mp-summary {
  margin-top: 8px;
}

.mp-summary-title {
  font-size: 28px;
  color: #7c818a;
  margin-bottom: 10px;
}

.mp-summary-box {
  border-top: 1px solid #e5e5e5;
  padding-top: 12px;
  margin-bottom: 16px;
}

.mp-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #222;
}

.mp-buy-button {
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 3px;
  background: #08a63a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 14px;
}

.mp-copy-button {
  background: #2f56d9;
}

.mp-footer-links {
  font-size: 12px;
  color: #6f7782;
  line-height: 1.55;
}

#mp-status {
  margin-top: 12px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .mp-checkout-page {
    margin: 10px;
  }

  .mp-product-info h2,
  .mp-summary-title {
    font-size: 22px;
  }

  .mp-payment-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .mp-card-grid,
  .mp-row-3 {
    grid-template-columns: 1fr;
  }
}