.basic-checkout {
  color: var(--text);
}

.basic-checkout__title {
  margin: 0 0 6px;
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 900;
}

.basic-checkout__meta {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.basic-checkout__benefits {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: #f8fafc;
}

.basic-checkout__benefits-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
}

.basic-checkout__benefits ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.7;
}

.basic-checkout__google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}

.basic-checkout__divider {
  position: relative;
  margin: 18px 0;
  text-align: center;
}

.basic-checkout__divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}

.basic-checkout__divider span {
  position: relative;
  padding: 0 12px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
}

.basic-checkout__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fafc;
}

.basic-checkout__tab {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}

.basic-checkout__tab.is-active {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 18px rgba(43, 191, 191, 0.22);
}

.basic-checkout__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.basic-checkout__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.basic-checkout__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 20px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.basic-checkout__optional {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.basic-checkout input[type="text"],
.basic-checkout input[type="email"],
.basic-checkout input[type="password"],
.basic-checkout input[type="tel"] {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-input);
  background: #fff;
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.basic-checkout input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(43, 191, 191, 0.12);
}

.basic-checkout__remember {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 13px;
}

.basic-checkout__remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

.basic-checkout__submit {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--text);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

[x-cloak] {
  display: none !important;
}

@media (max-width: 420px) {
  .basic-checkout__tabs {
    grid-template-columns: 1fr;
  }
}
