.cart_table{font-family:Tahoma;font-size:11px;border:1px  dashed #009900;line-height:16px;background-color:white}.cart_table td{padding-left:5px}.table_main1{font-family: Verdana, Geneva, sans-serif;font-size:11px;}.table_main1 td{padding-left:5px; line-height:22px}input{font-family: Verdana, Geneva, sans-serif;font-size:11px}select{font-family: Verdana, Geneva, sans-serif;font-size:11px;}.p1{font-family: Verdana, Geneva, sans-serif; font-size:11px; padding:15px}.title_out{ margin-left:20px; margin-top:10px; margin-bottom:20px}.h1_title{font-family: 'Times New Roman', Times, serif; font-size:24px;padding:5px;text-shadow: 0 -1px 1px #eee;}.btn{background-color:#4caf50;border:0;border-radius:4px;color:white;padding:5px 5px;text-align:center;text-decoration:none;display:inline-block;font-size:11px;margin:4px 2px;cursor:pointer;-webkit-transition-duration:.4s;transition-duration:.4s; border:1px solid #666}.btn:hover{background-color:#900;color:white; border:1px solid #666}


.home-menu-color {
  color: #000000 !important;  /* 可改为你想要的颜色 */
  font-weight: bold;
}



/* =========================================================
   Cart Login Required Modal (cart_problem)
   ========================================================= */
#cart_problem {
  visibility: hidden;
  display: none;
  width: min(720px, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 18px 18px 16px 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  font-family: Arial, Helvetica, sans-serif;
}

#cart_problem .cp_header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

#cart_problem .cp_icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8f4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

#cart_problem .cp_title {
  font-size: 18px;
  font-weight: 700;
  color: #0b1220;
  margin: 0;
}

#cart_problem .cp_subtitle {
  margin: 6px 0 12px 0;
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
}

#cart_problem .cp_note {
  background: #f8fafc;
  border: 1px solid rgba(2,6,23,0.08);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: #475569;
  margin-bottom: 14px;
}

#cart_problem .cp_actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

#cart_problem .cp_btn {
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid rgba(2,6,23,0.15);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  background: #ffffff;
}

#cart_problem .cp_btn_primary {
  border: 1px solid rgba(2,6,23,0.0);
  background: #0ea5e9;
  color: #ffffff;
}

#cart_problem .cp_btn_primary:hover { filter: brightness(0.97); }
#cart_problem .cp_btn:hover { background: #f8fafc; }

#cart_problem .cp_close {
  margin-left: auto;
  cursor: pointer;
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 18px;
  color: #64748b;
  padding: 6px 8px;
}
#cart_problem .cp_close:hover { color: #0b1220; }




/* =========================================================
   Force center modal on any window size
   ========================================================= */
#cart_problem{
  position: fixed;             /* 固定在视口 */
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);  /* 真正居中 */
  z-index: 9999;               /* 确保在遮罩之上 */
  max-height: calc(100vh - 24px);    /* 小窗口时不溢出 */
  overflow: auto;              /* 小窗口时弹窗内部可滚动 */
}



/* =========================================================
   Modal inner scrolling when viewport is smaller than modal
   ========================================================= */

/* 外壳不滚动，滚动交给 cp_body */
#cart_problem{
  overflow: hidden;
}

/* 弹窗内部可滚动区域：同时支持垂直/水平滚动条 */
#cart_problem .cp_body{
  max-height: calc(100vh - 170px);  /* 预留 header 区域高度 */
  overflow-y: auto;
  overflow-x: auto;
  padding-right: 2px;               /* 给滚动条留一点空间 */
}





/* =========================================================
   Cart Login Required Modal - Enhanced UI
   ========================================================= */

#cart_problem{
  width: min(760px, calc(100vw - 16px));
  border-radius: 16px;
  border: 1px solid rgba(2,6,23,0.10);
  box-shadow: 0 24px 70px rgba(0,0,0,0.40);
}

/* 头部更像产品级弹窗 */
#cart_problem .cp_header{
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(2,6,23,0.08);
}

#cart_problem .cp_icon{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #e8f4ff;
  color: #0369a1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* body 内部区块 */
#cart_problem .cp_body{
  padding-top: 14px;
  max-height: calc(100vh - 170px);
  overflow-y: auto;
  overflow-x: auto;
}

#cart_problem .cp_panel{
  background: #f8fafc;
  border: 1px solid rgba(2,6,23,0.08);
  border-radius: 12px;
  padding: 12px 12px;
  margin-bottom: 12px;
}

#cart_problem .cp_panel_title{
  font-size: 13px;
  font-weight: 800;
  color: #0b1220;
  margin-bottom: 8px;
}

#cart_problem .cp_list{
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: #334155;
}

#cart_problem .cp_list li{
  margin: 6px 0;
}

/* 提示条更精致 */
#cart_problem .cp_note{
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
  background: #fff7ed;
  border: 1px solid rgba(234,88,12,0.18);
  color: #7c2d12;
}

/* 按钮更像正式 UI */
#cart_problem .cp_actions{
  gap: 12px;
}

#cart_problem .cp_btn{
  padding: 11px 14px;
  border-radius: 12px;
}

#cart_problem .cp_btn_primary{
  background: #16a34a;     /* 贴近你网站绿色风格 */
  color: #ffffff;
}




/* Cart summary bar above the white Quote Cart box */
.cart_summary_bar{
  text-align: center;
  margin: 6px 0 10px 0;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 14px;
  color: #234;
}
.cart_summary_note{
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
  color: #555;
}






