@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//www.erhudio.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.2.7") format("woff2");
}

:root {
	--wd-text-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 14px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: #83b735;
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: #83b735;
	--btn-accented-bgcolor-hover: #74a32f;
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: url(https://www.buckwheati.com/wp-content/uploads/2025/08/Mountain-bg-3-1.png);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.page .wd-page-content {
	background-image: url(https://www.buckwheati.com/wp-content/uploads/2025/08/Mountain-bg-3-1.png);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 5px;
}

@media (min-width: 1222px) {
[data-vc-full-width]:not([data-vc-stretch-content]),
:is(.vc_section, .vc_row).wd-section-stretch {
padding-left: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
padding-right: calc((100vw - 1222px - var(--wd-sticky-nav-w) - var(--wd-scroll-w)) / 2);
}
}


.info-hover-effect {
  transition: all 0.3s ease;
  border-radius: 5px;
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #fff;
  border: 1px solid transparent; /* 初始透明边框，避免抖动 */
}

/* 鼠标滑过时变化 */
.info-hover-effect:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  background-color: #fff7e6;
  border: 1px solid #fbbc34; /* 只改变颜色 */
}

/* 自定义 Online Mall */
/* 保持按钮样式与 WoodMart 一致 */
.dropdown-btn {
    background-color: #83b735; /* 背景色 */
    color: #fff;
    border: 1px solid #83b735;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
	   text-transform: capitalize;
    transition: background-color 0.3s, border-color 0.3s;
}

/* 鼠标悬停时改变背景色 */
.dropdown-btn:hover {
    background-color: #74a32f; /* 悬停背景色 */
    border-color: #74a32f;
}

/* 下拉菜单容器 */
.dropdown {
    position: relative;
    display: inline-block;
}

/* 下拉菜单内容 */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
	   margin-top: 1px; /* 这里添加 3px 的间隔 */
}

/* 下拉菜单项 */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s, border-radius 0.3s;
}

/* 鼠标悬停时高亮显示，同时保持圆角 */
.dropdown-content a:hover {
    background-color: #74a32f;
    color: white;
    border-radius: 5px; /* 保持菜单项圆角 */
}

/* 显示下拉菜单 */
.dropdown:hover .dropdown-content {
    display: block;
    border-radius: 5px; /* 保证整个下拉菜单在 hover 时也保持圆角 */
}

/* 移动端自适应：调整字体、边距、按钮宽度等 */
@media (max-width: 768px) {
    .dropdown-btn {
        font-size: 14px;
        padding: 4px 6px;
    }

    .dropdown-content {
        min-width: 150px;
    }

    .dropdown-content a {
        padding: 8px;
    }

    .dropdown {
        display: block; /* 强制将下拉菜单改为块级元素 */
    }
}

/* Bulk Inquiry 批量询价单 */
/* ---------- Bulk Inquiry 按钮（与 buckwheati.com 风格一致：继承站点字体/阴影/大小） ---------- */
.bulk-inquiry-btn {
  display: inline-block;
  background: #83b735;            /* 默认背景色 */
  color: #ffffff;                 /* 字体颜色白色 */
  border: none;
  border-radius: 5px;             /* 弧度为5 */
  padding: 12px 20px;
  font-family: inherit;           /* 继承站点字体，保证一致 */
  font-size: 16px;                /* 如需微调按站点实际值变更 */
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12); /* 与导航一致的柔和阴影 */
  transition: background .18s ease, transform .08s ease;
  text-transform: lowercase;      /* 先小写所有字母 */
  line-height: 1;
  vertical-align: middle;
}

/* 仅将首字母大写 */
.bulk-inquiry-btn::first-letter {
  text-transform: uppercase;
}

/* hover 背景色 */
.bulk-inquiry-btn:hover,
.bulk-inquiry-btn:focus {
  background: #74a32f;            /* 悬停背景色 */
  transform: translateY(-1px);
  outline: none;
}

/* ---------- 弹窗遮罩与模态容器 ---------- */
.bw-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none; /* 初始隐藏 */
  z-index: 9998;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* modal 主体 */
.bw-modal {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 960px; /* 桌面宽度 */
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  position: relative;
  z-index: 9999;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 关闭按钮（右上角） */
.bw-modal .bw-modal-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(0,0,0,0.06);
  border: none;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10000;
}
.bw-modal .bw-modal-close:after {
  content: "✕";
  font-size: 16px;
  color:#333;
  line-height:1;
}

/* modal 内容容器 — 可滚动，确保在屏幕内查看全部表单 */
.bw-modal .bw-modal-content {
  padding: 20px;
  max-height: 80vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* 标题风格 */
.bw-modal .bw-modal-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 20px 0 20px;
}
.bw-modal .bw-modal-title {
  font-size: 20px;
  font-weight:700;
  margin:0;
  color:#253323;
}

/* 表单左右两列布局 */
.bw-modal .bw-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 18px;
  align-items: start;
}

/* 在窄屏上堆叠 */
@media (max-width: 900px) {
  .bw-modal .bw-form-grid { grid-template-columns: 1fr; }
  .bw-modal { max-width: 720px; }
}

/* CF7 表单内部控件美化 */
.wpcf7 .bw-left-col label,
.wpcf7 .bw-right-col label {
  display:block;
  margin-bottom:6px;
  font-weight:400;       /* 普通字重 */
  color:#555;            /* 中灰色，不再黑色突出 */
}

/* 基本输入/选择/textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d7e1d0;
  background: #fff;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
  color: #333;
}

/* placeholder 浅灰色 */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #aaa;
  opacity: 1;
}
.wpcf7 input:-ms-input-placeholder,
.wpcf7 textarea:-ms-input-placeholder {
  color: #aaa;
}
.wpcf7 input::-ms-input-placeholder,
.wpcf7 textarea::-ms-input-placeholder {
  color: #aaa;
}

/* submit 按钮样式（表单内） */
.wpcf7 input.wpcf7-submit {
  background: #83b735;
  color:#fff;
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  font-weight:700;
  cursor:pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.wpcf7 input.wpcf7-submit:hover { background:#74a32f; }

/* 产品下拉、国家全长显示 */
.wpcf7 select.product-select { min-width: 100%; }

/* bw-consent（自定义风格） */
.bw-consent {
  display:flex;
  align-items:center;
  gap:10px;
  margin-top: 10px;
  font-size: 14px;
  color: #253323;
}

/* 自定义绿色复选框 */
.bw-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #d7e1d0;
  display:inline-block;
  position:relative;
  cursor:pointer;
  background: #ffffff;
  transition: background .12s ease, border-color .12s ease;
}
.bw-consent input[type="checkbox"]:not(:checked) {
  border-color: #cfe1b9;
  background: #fff;
}
.bw-consent input[type="checkbox"]:checked {
  background: linear-gradient(180deg,#74a32f,#5f8f21);
  border-color: #5f8f21;
}
.bw-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.bw-consent .consent-text {
  font-size: 13px;
  color: #253323;
  line-height: 1.2;
}

/* 小屏幕上让 modal 近似全屏 */
@media (max-width: 640px) {
  .bw-modal { max-width: 100%; border-radius: 6px; height: 100%; }
  .bw-modal .bw-modal-content { max-height: calc(100vh - 60px); }
}

/* 微调：确保表单字段在列内垂直排布 */
.wpcf7 .bw-left-col .form-row,
.wpcf7 .bw-right-col .form-row { margin-bottom: 12px; }

/* 让 overlay 显示时使用 flex 居中 */
.bw-modal-overlay.show { display:flex; }

/* 防止页面滚动（JS 会添加 .bw-modal-open 到 body） */
body.bw-modal-open { overflow: hidden; }
/* Select 第一个选项（提示项）浅灰显示 */
.wpcf7 select option:first-child {
  color: #aaa;
}

/* 仅在移动端调整 Chaty 按钮位置 */
@media only screen and (max-width: 767px) {
  .chaty-widget {
    bottom: 80px !important;  /* 把按钮上移，避开底部购物车条 */
    right: 8px !important;    /* 距离右边的间距 */
    z-index: 99999 !important; /* 保证按钮在最上层 */
  }

}