.elementor-31 .elementor-element.elementor-element-cff2ccd{--display:flex;overflow:visible;}/* Start custom CSS for text-editor, class: .elementor-element-2a8a29c7 *//* ==================================================
   West Shore Request a Quote Page
================================================== */

/* 整个报价页面限制宽度 */
.westshore-quote-page,
.yith-ywraq-request-quote-wrapper,
.yith_ywraq_request_quote,
.ywraq-wrapper,
.woocommerce.ywraq-wrapper {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}


/* ==================================================
   Page Title
================================================== */

.westshore-quote-page h1,
.yith-ywraq-request-quote-wrapper h1,
.ywraq-wrapper h1 {
    margin-bottom: 30px;
    font-size: 46px;
    line-height: 1.15;
    text-align: center;
}


/* ==================================================
   Product Table
================================================== */

/* 表格外层 */
.ywraq-form-table-wrapper,
#yith-ywraq-form {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 35px;
    float: none;
    box-sizing: border-box;
}


/* 表格本身 */
#yith-ywraq-form table.shop_table,
table.shop_table.cart.ywraq-form-table,
table.ywraq-form-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 14px;
}


/* 单元格间距 */
#yith-ywraq-form table.shop_table th,
#yith-ywraq-form table.shop_table td,
table.ywraq-form-table th,
table.ywraq-form-table td {
    padding: 14px 16px;
    vertical-align: middle;
    box-sizing: border-box;
}


/* 删除按钮列 */
#yith-ywraq-form .product-remove,
.ywraq-form-table .product-remove {
    width: 40px;
    min-width: 40px;
    text-align: center;
}


/* 图片列 */
#yith-ywraq-form .product-thumbnail,
.ywraq-form-table .product-thumbnail {
    width: 170px;
    min-width: 170px;
}


/* 产品图片 */
#yith-ywraq-form .product-thumbnail img,
.ywraq-form-table .product-thumbnail img {
    display: block;
    width: 125px;
    max-width: 125px;
    height: 125px;
    max-height: 125px;
    margin: 0 auto;
    object-fit: contain;
}


/* 产品信息列 */
#yith-ywraq-form .product-name,
.ywraq-form-table .product-name {
    width: auto;
    line-height: 1.5;
}


/* 产品标题 */
#yith-ywraq-form .product-name > a,
.ywraq-form-table .product-name > a {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 600;
}


/* SKU、材质、尺寸等信息 */
#yith-ywraq-form .product-name ul,
#yith-ywraq-form .product-name dl,
#yith-ywraq-form .variation,
.ywraq-form-table .product-name ul,
.ywraq-form-table .product-name dl {
    margin: 5px 0 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.5;
}


/* 数量列 */
#yith-ywraq-form .product-quantity,
.ywraq-form-table .product-quantity {
    width: 120px;
    min-width: 120px;
    text-align: center;
}


/* 数量输入框 */
#yith-ywraq-form .product-quantity input.qty,
.ywraq-form-table .product-quantity input.qty {
    width: 64px;
    min-width: 64px;
    height: 40px;
    padding: 6px;
    text-align: center;
    box-sizing: border-box;
}


/* 防止产品行过高 */
#yith-ywraq-form tbody tr,
.ywraq-form-table tbody tr {
    height: auto;
    min-height: 155px;
}


/* ==================================================
   List Action Buttons
================================================== */

#yith-ywraq-form .actions,
.ywraq-form-table-wrapper .raq-actions,
.ywraq-form-table-wrapper .yith-ywraq-list-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    padding: 14px 0;
}


/* 清除插件按钮的左右浮动 */
#yith-ywraq-form .button,
#yith-ywraq-form input.button,
.ywraq-form-table-wrapper .button,
.ywraq-form-table-wrapper input.button {
    float: none;
    margin: 0;
}


/* Update List 不再固定在最右边 */
#yith-ywraq-form .update-list-wrapper,
#yith-ywraq-form .update-list,
.ywraq-form-table-wrapper .update-list-wrapper {
    float: none;
    margin-left: 0;
}


/* 按钮尺寸 */
#yith-ywraq-form .button,
.ywraq-form-table-wrapper .button {
    min-height: 40px;
    padding: 10px 17px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.2;
}


/* ==================================================
   Quote Form Container
================================================== */

/* 清除左右分栏和浮动 */
.woocommerce.ywraq-wrapper,
.ywraq-wrapper {
    display: block;
}


.yith-ywraq-mail-form-wrapper {
    float: none !important;
    clear: both;
    width: 100% !important;
    max-width: 820px;
    margin: 35px auto 70px !important;
    padding: 30px;
    background: #f7f8fa;
    border: 1px solid #e3e7ec;
    border-radius: 8px;
    box-sizing: border-box;
}


/* 表单标题 */
.yith-ywraq-mail-form-wrapper h3,
.yith-ywraq-mail-form-wrapper .form-heading {
    margin: 0 0 22px;
    color: #123d73;
    font-size: 25px;
    line-height: 1.3;
}


/* ==================================================
   Quote Form Fields
================================================== */

/* 两列布局 */
.yith-ywraq-mail-form-wrapper form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 17px;
}


/* 字段容器 */
.yith-ywraq-mail-form-wrapper form > p,
.yith-ywraq-mail-form-wrapper .form-row,
.yith-ywraq-mail-form-wrapper .ywraq-form-row {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box;
}


/* 字段标签 */
.yith-ywraq-mail-form-wrapper label {
    display: block;
    margin-bottom: 7px;
    color: #263544;
    font-size: 14px;
    font-weight: 600;
}


/* 输入框统一宽度 */
.yith-ywraq-mail-form-wrapper input[type="text"],
.yith-ywraq-mail-form-wrapper input[type="email"],
.yith-ywraq-mail-form-wrapper input[type="tel"],
.yith-ywraq-mail-form-wrapper input[type="number"],
.yith-ywraq-mail-form-wrapper input[type="url"],
.yith-ywraq-mail-form-wrapper select,
.yith-ywraq-mail-form-wrapper textarea {
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #d8dde4;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}


/* 消息框 */
.yith-ywraq-mail-form-wrapper textarea {
    min-height: 125px;
    resize: vertical;
}


/* 包含消息框的字段占满整行 */
.yith-ywraq-mail-form-wrapper form > p:has(textarea),
.yith-ywraq-mail-form-wrapper .form-row:has(textarea),
.yith-ywraq-mail-form-wrapper .ywraq-form-row:has(textarea) {
    grid-column: 1 / -1;
}


/* 提交按钮区域占满整行 */
.yith-ywraq-mail-form-wrapper form > p:has(input[type="submit"]),
.yith-ywraq-mail-form-wrapper form > p:has(button[type="submit"]),
.yith-ywraq-mail-form-wrapper .form-row:has(input[type="submit"]),
.yith-ywraq-mail-form-wrapper .form-row:has(button[type="submit"]) {
    grid-column: 1 / -1;
}


/* 提交按钮 */
.yith-ywraq-mail-form-wrapper input[type="submit"],
.yith-ywraq-mail-form-wrapper button[type="submit"] {
    width: auto !important;
    min-height: 44px;
    padding: 10px 22px;
    background: #1e5a96;
    color: #ffffff;
    border: 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}


/* 输入框选中状态 */
.yith-ywraq-mail-form-wrapper input:focus,
.yith-ywraq-mail-form-wrapper select:focus,
.yith-ywraq-mail-form-wrapper textarea:focus {
    border-color: #1e5a96;
    outline: none;
    box-shadow: 0 0 0 2px rgba(30, 90, 150, 0.12);
}


/* ==================================================
   Tablet and Mobile
================================================== */

@media screen and (max-width: 767px) {

    .westshore-quote-page,
    .yith-ywraq-request-quote-wrapper,
    .yith_ywraq_request_quote,
    .ywraq-wrapper {
        padding-left: 14px;
        padding-right: 14px;
    }


    .westshore-quote-page h1,
    .yith-ywraq-request-quote-wrapper h1,
    .ywraq-wrapper h1 {
        font-size: 34px;
    }


    #yith-ywraq-form table.shop_table th,
    #yith-ywraq-form table.shop_table td,
    table.ywraq-form-table th,
    table.ywraq-form-table td {
        padding: 10px 8px;
    }


    #yith-ywraq-form .product-thumbnail,
    .ywraq-form-table .product-thumbnail {
        width: 90px;
        min-width: 90px;
    }


    #yith-ywraq-form .product-thumbnail img,
    .ywraq-form-table .product-thumbnail img {
        width: 72px;
        max-width: 72px;
        height: 72px;
        max-height: 72px;
    }


    #yith-ywraq-form .product-quantity,
    .ywraq-form-table .product-quantity {
        width: 75px;
        min-width: 75px;
    }


    .yith-ywraq-mail-form-wrapper {
        max-width: 100%;
        padding: 22px 17px;
        margin-bottom: 45px !important;
    }


    .yith-ywraq-mail-form-wrapper form {
        display: block;
    }


    .yith-ywraq-mail-form-wrapper form > p,
    .yith-ywraq-mail-form-wrapper .form-row,
    .yith-ywraq-mail-form-wrapper .ywraq-form-row {
        margin-bottom: 16px !important;
    }
}

/* Contact Form 7 整体布局 */
.wpcf7 form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 20px;
  width: 60%;
}

/* 清除 Contact Form 7 默认段落间距 */
.wpcf7 form > p {
  margin: 0;
}

/* Name 和 Email 分别占一列 */
.wpcf7 form > p:nth-of-type(1),
.wpcf7 form > p:nth-of-type(2) {
  grid-column: auto;
}

/* Phone、Message 和提交按钮占据整行 */
.wpcf7 form > p:nth-of-type(3),
.wpcf7 form > p:nth-of-type(4),
.wpcf7 form > p:nth-of-type(5) {
  grid-column: 1 / -1;
}

/* 标签文字 */
.wpcf7 form label {
  display: block;
  width: 100%;
  color: #263544;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

/* CF7 字段包裹层 */
.wpcf7 form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 8px;
}

/* 输入框统一样式 */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form textarea {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #d7dee7;
  border-radius: 8px;
  background-color: #f7f8fa;
  color: #263544;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease,
              background-color 0.2s ease,
              box-shadow 0.2s ease;
}

/* Name、Email、Phone 输入框高度 */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"] {
  height: 50px;
}

/* Message 留言框 */
.wpcf7 form textarea {
  height: 100px;
  resize: vertical;
}

/* 输入框点击效果 */
.wpcf7 form input[type="text"]:focus,
.wpcf7 form input[type="email"]:focus,
.wpcf7 form input[type="tel"]:focus,
.wpcf7 form textarea:focus {
  border-color: #123d73;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(18, 61, 115, 0.1);
}

/* 提交按钮 */
.wpcf7 form input[type="submit"] {
  min-width: 170px;
  min-height: 50px;
  margin: 0;
  padding: 13px 30px;
  border: none;
  border-radius: 8px;
  background-color: #123d73;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.2s ease,
              transform 0.2s ease;
}

/* 按钮悬停效果 */
.wpcf7 form input[type="submit"]:hover {
  background-color: #1e5a96;
  transform: translateY(-1px);
}

/* 错误字段 */
.wpcf7 form .wpcf7-not-valid {
  border-color: #d63638 !important;
}

/* 错误提示 */
.wpcf7 form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #d63638;
  font-size: 13px;
  font-weight: 400;
}

/* 提交状态信息占据整行 */
.wpcf7 form .wpcf7-response-output {
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: 12px 15px !important;
  border-width: 1px !important;
  border-radius: 8px;
}

/* 手机端恢复单列 */
@media screen and (max-width: 767px) {
  .wpcf7 form {
    grid-template-columns: 1fr;
    row-gap: 17px;
  }

  .wpcf7 form > p:nth-of-type(1),
  .wpcf7 form > p:nth-of-type(2),
  .wpcf7 form > p:nth-of-type(3),
  .wpcf7 form > p:nth-of-type(4),
  .wpcf7 form > p:nth-of-type(5) {
    grid-column: 1;
  }

  .wpcf7 form input[type="submit"] {
    width: 100%;
  }
}/* End custom CSS */