/* ========== 🔥 全站布局：页脚永远贴底 ========== */
html {
  height: 100%;
}
body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: 'PingFang SC', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  color: #222;
}

/* 关键：让 main 真正占满整行，才能撑开高度 */
main {
  flex: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 20px 0 !important;
}

/* 内容容器居中（不影响布局） */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.site-content {
  width: 100%;
}

/* ========== 以下是你原来的样式，不动 ========== */
.wc-block-components-button__text {
  background-color: rgb(0, 90, 255);
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.wc-block-components-button__text:hover {
  background-color: #d4af37;
  color: #fff;
}

.wc-block-cart__submit-container a {
  text-decoration: none;
}

.woocommerce-checkout #payment div.form-row{
  padding: 1em;
  display: flex;
  flex-direction: column;
}

.woocommerce-page #payment #place_order{
  width: 300px;
  height: 50px;
  margin: 20px auto;
}