.elementor-435 .elementor-element.elementor-element-1754288f{--display:flex;--min-height:50vh;}/* Start custom CSS for container, class: .elementor-element-1754288f *//* ==============================================
  更换YITH插件 
============================================== */
.ywraq-form-table-wrapper.wide {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 🔥 统一美化 YITH 空列表提示（有内容才显示） */
#yith-ywraq-message:not(:empty),
.ywraq-form-table-wrapper > p:only-child {
  text-align: center;
  padding: 50px 20px;
  font-size: 18px;
  color: #555;
  background: #f7f7f7;
  border-radius: 8px;
  margin: 30px 0;
  display: block;
}

/* 空内容时完全隐藏，不占位置 */
#yith-ywraq-message:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  visibility: hidden !important;
}

/* 隐藏 YITH 询价表格里的 Quantity 列 */
#yith-ywrq-table-list th.product-quantity,
#yith-ywrq-table-list td.product-quantity {
  display: none !important;
}
/* 修复：图片列太宽，限制固定宽度 */
#yith-ywrq-table-list td.product-thumbnail {
  width: 50px !important;
  max-width: 50px !important;
}
/* 修复：删除列太宽，限制固定宽度 */
#yith-ywrq-table-list td.product-remove {
  width: 40px !important;
  max-width: 40px !important;
  padding: 6px 4px !important;
}

/* 产品名称列自动占满剩余宽度 */
#yith-ywrq-table-list td.product-name {
  width: auto !important;
  white-space: normal !important;
}

/* 设置 YITH 询价表格产品图片大小 */
#yith-ywrq-table-list .product-thumbnail a img {
  width: 40px !important;
  height: 40px !important;
  object-fit: cover !important;
}

/* 产品表格 */
#yith-ywrq-table-list {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    background: #fff;
    margin-bottom: 40px;
}

#yith-ywrq-table-list th {
    background: #f7f7f7;
    padding: 6px 6px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
}

#yith-ywrq-table-list td {
    padding: 6px 6px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

/* 删除按钮 */
.yith-ywraq-item-remove.remove {
    font-size: 18px;
    color: #999 !important;
    text-decoration: none;
}
.yith-ywraq-item-remove.remove:hover {
    color: #ff4444 !important;
}

/* 按钮统一风格 */
#yith-ywraq-form .button,
.raq-send-request {
    background: #2D3960 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px 22px !important;
    font-weight: 600 !important;
    transition: 0.2s !important;
}

#yith-ywraq-form .button:hover,
.raq-send-request:hover {
    background: #2D3980 !important;
}

/* ==============================================
   询价发送表单 #yith-ywraq-mail-form
============================================== */
.yith-ywraq-mail-form-wrapper {
    background: #fbfbfb;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.yith-ywraq-mail-form-wrapper h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 20px;
    font-weight: 600;
    color: #222;
}

#yith-ywraq-mail-form p {
    margin-bottom: 20px !important;
}

#yith-ywraq-mail-form label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #222;
}

#yith-ywraq-mail-form input[type="text"],
#yith-ywraq-mail-form input[type="email"],
#yith-ywraq-mail-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
}

#yith-ywraq-mail-form input:focus,
#yith-ywraq-mail-form textarea:focus {
    border-color: #222;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
    outline: none;
}

#yith-ywraq-mail-form .required {
    color: #ff4444;
}/* End custom CSS */