/*总样式*/
.woocommerce-page .page-title {
    display: none !important;
}

body {
  margin: 0;
  background: #f5f7fa;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/*登录页面*/
.page-title {
  display: none !important;
}

/* 容器 */
#customer_login_toggle {
  max-width: 480px;
  margin: 50px auto;
  padding: 30px 35px;
  background: #f9fafc;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2c3e50;
}

/* 切换按钮组 */
.toggle-buttons {
  display: flex;
  margin-bottom: 35px;
  border-bottom: 3px solid #e0e4e8;
  user-select: none;
}
.toggle-buttons button {
  flex: 1;
  padding: 16px 0;
  border: none;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  color: #3498db;
  cursor: pointer;
  transition: color 0.3s ease, border-bottom 0.3s ease, background-color 0.2s ease;
  border-bottom: 4px solid transparent;
  border-radius: 0;
  letter-spacing: 0.03em;
}
.toggle-buttons button:hover:not(.active) {
  color: #2980b9;
  background-color: #f1f6fb;
}
.toggle-buttons button.active {
  color: #1c4e80;
  border-bottom-color: #1c4e80;
  background-color: #e6f0fb;
  box-shadow: inset 0 -4px 0 #1c4e80;
}

/* 表单面板 */
.form-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}
.form-panel.active {
  display: block;
}

/* 表单标题 */
.woocommerce-form h2 {
  font-size: 30px;
  color: #34495e;
  margin-bottom: 28px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.04em;
}

/* 输入行 */
.form-row {
  margin-bottom: 24px;
}

/* 标签 */
label {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
  color: #34495e;
  user-select: none;
}

/* 输入框 */
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 15px 18px;
  font-size: 16px;
  border: 2px solid #ccd6e4;
  border-radius: 10px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  color: #2c3e50;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.03);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 8px rgba(52, 152, 219, 0.5);
}

/* 提交按钮 */
button.woocommerce-button {
  background-color: #2980b9;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border: none;
  padding: 16px 0;
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  margin-top: 16px;
  box-shadow: 0 6px 12px rgba(41, 128, 185, 0.4);
}

button.woocommerce-button:hover {
  background-color: #1c5988;
  box-shadow: 0 8px 20px rgba(28, 89, 136, 0.6);
}

/* 忘记密码 */
.woocommerce-LostPassword {
  font-size: 14px;
  text-align: right;
  margin-top: -12px;
  margin-bottom: 20px;
  user-select: none;
}
.woocommerce-LostPassword a {
  color: #2980b9;
  text-decoration: none;
  font-weight: 600;
  transition: text-decoration 0.3s ease, color 0.3s ease;
}
.woocommerce-LostPassword a:hover {
  text-decoration: underline;
  color: #1c5988;
}

/* 显示/隐藏密码复选框 */
.show-password-wrapper {
  margin-top: -8px;
  margin-bottom: 24px;
  user-select: none;
  font-size: 15px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.show-password-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #2980b9;
}

/* 动画 */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/*登录页面end*/

/*账号仪表盘首页*/
.custom-dashboard {
  font-family: "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #eee;
}

.custom-dashboard h2 {
  font-size: 20px;
  margin-bottom: 25px;
  color: #222;
  border-left: 4px solid #0073aa;
  padding-left: 10px;
}

.dashboard-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.dashboard-card {
  flex: 1 1 180px;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.dashboard-card:hover {
  background-color: #0073aa;
  color: #fff;
  transform: translateY(-2px);
}

.dashboard-card i {
  font-size: 28px;
  margin-bottom: 10px;
  color: #0073aa;
  transition: color 0.2s ease;
}

.dashboard-card:hover i {
  color: #fff;
}

.dashboard-card a {
  text-decoration: none;
  font-weight: 500;
  color: inherit;
  display: block;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.order-table th, .order-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
  font-size: 14px;
}

.order-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.no-orders {
  padding: 20px;
  background-color: #fdf5f5;
  color: #cc0000;
  border-radius: 6px;
  margin-top: 10px;
}

/* 订单桌面表格样式（默认显示） */
.order-desktop {
  display: block;
}

.order-mobile {
  display: none;
}

/* 移动端订单卡片样式 */
.order-card {
  background-color: #fefefe;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  font-size: 14px;
}

.order-card strong {
  display: inline-block;
  width: 80px;
  color: #555;
}

.view-order-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;
  background-color: #0073aa;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
}

.view-order-btn:hover {
  background-color: #005d88;
}

.order-desktop { display: block; }
.order-mobile { display: none; }

@media (max-width: 768px) {
  .order-desktop { display: none; }
  .order-mobile { display: block; }
}


/* 响应式切换 */
@media (max-width: 768px) {
  .order-desktop {
    display: none;
  }

  .order-mobile {
    display: block;
  }
}


@media (max-width: 768px) {
  .dashboard-grid {
    flex-direction: column;
  }
}
/*账号仪表盘首页end*/

/*我的账号导航栏*/
.page-title {
  display: none !important;
}
/* 全局布局 */
.custom-myaccount-wrapper {
  max-width: 1200px;
  margin: 40px auto;
  display: flex;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  overflow: hidden;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 左侧导航 */
.account-sidebar {
  width: 240px;
  background: #f7f8fa;
  border-right: 1px solid #eee;
  padding: 20px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s, color 0.2s;
}

.nav-item:hover,
.nav-item.is-active {
  background: #0053a6;
  color: #fff;
}

.nav-icon {
  font-size: 16px;
}

/* 内容区域 */
.account-main {
  flex: 1;
  padding: 30px 40px;
  box-sizing: border-box;
  min-height: 500px;
}

.account-content {
  color: #444;
  font-size: 15px;
  line-height: 1.7;
}

/* 表格美化 */
.woocommerce table.my_account_orders {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.woocommerce table.my_account_orders th,
.woocommerce table.my_account_orders td {
  padding: 12px 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.woocommerce table.my_account_orders th {
  background: #f2f4f8;
  color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .custom-myaccount-wrapper {
    flex-direction: column;
    border-radius: 0;
    box-shadow: none;
  }

  .account-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
  }

  .account-nav {
    flex-direction: row;
    gap: 10px;
  }

  .nav-item {
    display: inline-flex;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 6px;
    white-space: nowrap;
  }

  .account-main {
    padding: 20px 16px;
  }

  .woocommerce table.my_account_orders th,
  .woocommerce table.my_account_orders td {
    font-size: 13px;
    padding: 8px;
  }
}
/*我的账号导航栏end*/

/*订单页面*/
/* ========= 布局 ========= */
.woocommerce-account-orders-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #2d2d2d;
}

.woocommerce-account-orders-wrapper h2 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 30px;
    color: #226;
}

/* ========= 网格 ========= */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* ========= 卡片 ========= */
.order-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    padding: 22px;
    display: flex;
    flex-direction: column;
    border-left: 5px solid #ccc;
    transition: transform 0.2s ease, box-shadow 0.3s;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* ========= 状态色 ========= */
.status-completed {
    border-color: #52c41a;
    background: #f6ffed;
}

.status-processing {
    border-color: #1890ff;
    background: #e6f7ff;
}

.status-on-hold {
    border-color: #faad14;
    background: #fffbe6;
}

.status-pending {
    border-color: #d46b08;
    background: #fff7e6;
}

.status-cancelled,
.status-failed,
.status-refunded {
    border-color: #ff4d4f;
    background: #fff1f0;
}

/* ========= 卡片内容 ========= */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 15px;
}

.order-status {
    padding: 4px 10px;
    background: #e8f4ff;
    border-radius: 8px;
    font-size: 13px;
    color: #1d39c4;
    font-weight: 500;
}

.order-body p {
    font-size: 14px;
    color: #444;
    margin: 5px 0;
}

.order-footer {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

/* ========= 按钮 ========= */
.order-btn {
    background: linear-gradient(to right, #36d1dc, #5b86e5);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background: linear-gradient(to right, #5b86e5, #36d1dc);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ========= 响应式 ========= */
@media (max-width: 600px) {
    .orders-grid {
        grid-template-columns: 1fr;
    }

    .order-card {
        padding: 16px;
    }

    .order-footer {
        flex-direction: column;
    }

    .order-btn {
        width: 100%;
        text-align: center;
    }
}
/*订单页面end*/

/*订单详情页面*/
.wc-view-order {
    max-width: 800px; /* 宽度从720改为800 */
    margin: 30px auto;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    background: #fff;
    padding: 20px 25px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
    border-radius: 6px;
}
.wc-view-order h2 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
    border-bottom: 2px solid #f1f1f1;
    padding-bottom: 8px;
}
.wc-view-order p {
    margin: 8px 0;
    font-size: 15px;
}
.wc-order-items {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.wc-order-items th,
.wc-order-items td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.wc-order-items th {
    background: #fafafa;
    font-weight: 600;
    color: #555;
}
.wc-order-summary {
    margin-top: 25px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}
.wc-order-summary p {
    font-weight: 600;
    font-size: 16px;
    margin: 6px 0;
}
.wc-order-summary p strong {
    display: inline-block;
    width: 120px;
    color: #444;
}
.wc-order-addresses {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.wc-order-addresses > div {
    flex: 1 1 300px;
}
.wc-order-addresses h3 {
    font-weight: 600;
    margin-bottom: 8px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
    color: #333;
}
.wc-order-addresses address {
    font-style: normal;
    line-height: 1.5;
    color: #555;
}
@media (max-width: 600px) {
    .wc-order-addresses {
        flex-direction: column;
    }
}

/* 自动发货账号简单竖排 */
.sham-account-group {
    background: #fff;
    border-radius: 8px;
    padding: 20px 25px; /* 内边距加宽 */
    margin-bottom: 25px;
    border: 1px solid #ccc;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.sham-account-group h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
    border-bottom: 2px solid #eee;
    padding-bottom: 6px;
}
.sham-account-block {
    margin-bottom: 18px;
}
.sham-account-block p {
    margin: 6px 0;
    font-size: 15px;
    color: #333;
    display: block;
    word-break: break-word; /* 防止长内容溢出 */
}
.sham-account-block p strong {
    display: inline-block;
    width: 120px; /* 标签宽度由80增至120 */
    color: #444;
    font-weight: 600;
}
.sham-account-block em {
    font-style: italic;
    font-size: 13px;
    color: #777;
    display: block;
    margin-top: 8px;
}
.copy-btn {
    display: none;
}
/*订单详情页面end*/

/*空购物车页面*/
.empty-cart-simple {
    max-width: 480px;
    margin: 60px auto;
    text-align: center;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #444;
    padding: 30px 20px;
    background: #f9fbfc;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    animation: fadeInUp 0.8s ease forwards;
}

.empty-cart-simple img {
    max-width: 180px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 0.5s;
}

.empty-cart-simple h2 {
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 14px;
    color: #2c3e50;
}

.empty-cart-simple p {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 28px;
}

.return-to-shop {
    text-align: center;
}

.return-to-shop .button {
    display: inline-block;
    padding: 14px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: #3498db;
    color: white;
    border-radius: 24px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(52,152,219,0.4);
    transition: background-color 0.3s ease;
}

.return-to-shop .button:hover {
    background-color: #2980b9;
    box-shadow: 0 8px 20px rgba(41,128,185,0.5);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
/*空购物车页面end*/

/*购物车页面*/


.cart-wrapper {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.cart-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #222;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  position: relative;
}

.cart-item-thumb img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item-details {
  flex: 1 1 200px;
}

.cart-item-details a {
  font-size: 1.1rem;
  color: #111;
  text-decoration: none;
  font-weight: 600;
}

.cart-item-details a:hover {
  text-decoration: underline;
}

.cart-item-prices {
  display: flex;
  gap: 20px;
  font-weight: 600;
  color: #444;
  flex-wrap: wrap;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cart-qty input.qty {
  width: 60px;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
}

.remove-item {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 20px;
  color: #dc3545;
  text-decoration: none;
}

.remove-item:hover {
  color: #ff4d4f;
}

/* 优惠券与更新按钮 */
.cart-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.coupon-box input[type="text"] {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 220px;
}

.coupon-box button,
.update-cart-btn {
  background: #0071a1;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.update-cart-btn {
  background: #6c757d;
}

.coupon-box button:hover,
.update-cart-btn:hover {
  opacity: 0.9;
}

/* 底部结算栏 */
.cart-summary-bar {
  position: sticky;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  z-index: 999;
  margin-top: 40px;
}

.cart-summary-bar .total-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111;
}

.cart-summary-bar .total-amount {
  font-size: 1.6rem;
  font-weight: bold;
  color: #28a745;
  margin-left: 10px;
}

.checkout-button {
  background: linear-gradient(90deg, #007bff, #6f42c1); /* 蓝到紫的渐变 */
  color: #fff !important;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease all;
  cursor: pointer;
}

.checkout-button:hover {
  background: linear-gradient(90deg, #0056b3, #5a2ea6); /* 深蓝到深紫渐变 */
}
/* 响应式 */
@media (max-width: 768px) {
  .cart-summary-bar {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .checkout-button {
    width: 100%;
    text-align: center;
  }

  .coupon-box input {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .cart-item-card {
    flex-direction: column;
    align-items: center;
    padding: 12px 12px 12px 12px;
    gap: 10px;
    position: relative;
  }

  .cart-item-thumb {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .cart-item-thumb img {
    max-width: 400px;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
  }

  .cart-item-details {
    flex: none !important;
    width: 100%;
    margin: 0 0 6px 0;
    padding: 0;
    text-align: center;
  }

  .cart-item-details a {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 auto 4px auto;
  }

  .cart-qty {
    justify-content: center;
    margin: 4px 0;
  }

  .cart-qty input.qty {
    width: 50px;
    padding: 6px;
    font-size: 0.9rem;
    text-align: center;
  }

  .cart-item-prices {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    flex-wrap: wrap;
    margin-bottom: 4px;
  }

  .remove-item {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 18px;
    color: #dc3545;
  }
}
/*购物车页面end*/

/*结账页面*/
/* === 结账主样式 === */
.custom-checkout-container {
  max-width: 1180px;
  margin: 40px auto;
  padding: 0 15px 60px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.checkout-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 10px;
}
.checkout-subtitle {
  font-size: 1rem;
  color: #555;
  text-align: center;
  margin-bottom: 30px;
}

/* 表单和订单区块 */
.col-1, #order_review, #payment_section, #order_review_section {
  background: #fff;
  padding: 32px 40px;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.04);
  margin-bottom: 40px;
}
.col-1 h2, #order_review_section h2, #payment_section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #34495e;
  margin-bottom: 24px;
}

/* 表单控件 */
.woocommerce form .form-row {
  margin-bottom: 20px;
}
.woocommerce form .form-row label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}
.woocommerce form .form-row input:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: #27ae60;
  box-shadow: 0 0 8px rgba(39, 174, 96, 0.25);
  outline: none;
}

/* 提交按钮 */
p.form-submit {
  text-align: center;
  margin-bottom: 40px;
}
p.form-submit button.button.alt {
  background-color: #27ae60;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 16px 48px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.6);
  transition: 0.3s ease;
  width: 100%;
  max-width: 360px;
}
p.form-submit button.button.alt:hover {
  background-color: #219150;
  box-shadow: 0 8px 24px rgba(33, 145, 80, 0.7);
}

/* 响应式 */
@media (max-width: 768px) {
  .custom-checkout-container {
    padding: 0 10px 40px;
  }
  .checkout-title { font-size: 2rem; }
  .checkout-subtitle { font-size: 0.95rem; margin-bottom: 25px; }

  .col-1, #order_review, #payment_section {
    padding: 24px 20px;
    margin-bottom: 30px;
  }

  .col-1 h2, #order_review_section h2, #payment_section h2 {
    font-size: 1.2rem;
    margin-bottom: 18px;
  }

  .woocommerce form .form-row input.input-text,
  .woocommerce form .form-row textarea,
  .woocommerce form .form-row select {
    font-size: 0.95rem;
    padding: 10px 14px;
  }

  p.form-submit button.button.alt {
    font-size: 1.1rem;
    padding: 14px 30px;
  }

  #order_review_section {
    padding: 20px;
  }

  .woocommerce-checkout-review-order-table th,
  .woocommerce-checkout-review-order-table td {
    padding: 12px 8px;
    font-size: 0.95rem;
  }
}
/*结账页面end*/