/* ==========================================================================
   YueF 美国独立站生产级主题覆盖包 (oceanwp-child-theme-master)
   目标：
   1. 将现网勃艮第酒红 (#551b31 / #922344) 平滑切换为全站统一「白底 · 孔雀绿 × 古金」
   2. 全站统一 Fraunces + Manrope 字体体系与等宽数字 (tabular-nums)
   3. 根治现网顶栏 OUR STORY + CONTACT 叠字 Bug (OUR STORYCON)
   4. 修复右下角 JEWELRY CONCIERGE 客服浮窗遮挡首屏 US 9 选码按钮问题
   挂载位置：wp-content/themes/oceanwp-child-theme-master/assets/css/yuef-peacock-gold-override.css
   加载优先级：排在 yuef-single-product-experience 与 yuef-pdp-refinements 之后
   ========================================================================== */

/* 1. 全站与详情页主体色切换（精准覆盖 yuef-single-product-experience.css L3483-3518） */
body.single-product.yuef-pdp-live,
body.yuef-refined,
body.yuef-header-experience {
  --pdp-wine: #163F37;           /* 标题、公告栏、主图精致边框 · 深墨绿 */
  --pdp-garnet: #05634F;         /* 唯一主加购按钮、选中边框 · 孔雀绿 */
  --pdp-garnet-hover: #044E3E;   /* 主按钮 Hover 丝绒加深 */
  --pdp-pearl: #FFFFFF;          /* 主画布底色 · 纯白 (保障 75-80% 净白留白) */
  --pdp-blush: #F1F4EF;          /* 交替浅灰绿楼层底色 (呼应首页 #F1F4EF) */
  --pdp-warm: #F7F2E8;           /* 提示区 / FAQ 暖米白 */
  --pdp-mint: #EDF5EF;           /* 属性选中淡绿底 */
  --pdp-foil: #E5CFA3;           /* 深绿沉浸带专用提亮柔香槟金 */
  --pdp-on-wine: #FAF8F3;        /* 深绿底反白象牙白 */
  --pdp-on-wine-muted: #C4D4CE;  /* 深绿底次级反白字 */
  --pdp-control-edge: #B8C4BE;   /* 未选中变体边框 */
  --pdp-inactive-bg: #E5EBE7;    /* 按钮未选尺码禁用底 */
  --pdp-inactive-text: #7A8A84;  /* 按钮禁用字 */
  --yf-alert: #9E3333;           /* 克制古典石榴红校验提醒 */
  --yf-serif: "Fraunces", Georgia, serif;
  --yf-sans: "Manrope", system-ui, -apple-system, sans-serif;
}

#yuef-pdp-main.yuef-pdp--refined {
  --yuef-pdp-paper: #FFFFFF;
  --yuef-pdp-white: #FFFFFF;
  --yuef-pdp-cream: #F7F2E8;
  --yuef-pdp-ink: #163F37;
  --yuef-pdp-copy: #34443F;
  --yuef-pdp-muted: #5C6D67;
  --yuef-pdp-gold: #82612F;
  --yuef-pdp-deep-gold: #6E5126;
  --yuef-pdp-line: #DFE5E0;
  background-color: #FFFFFF !important;
  color: #34443F;
  font-family: var(--yf-sans);
}
body.yuef-refined,
body.single-product.yuef-pdp-live {
  --yuef-pdp-paper: #FFFFFF !important;
  --yuef-pdp-ink: #163F37 !important;
  --yuef-pdp-gold: #82612F !important;
  --yuef-pdp-line: #DFE5E0 !important;
  background: #FFFFFF !important;
  color: #34443F;
}

/* 2. 全站字体统一：Fraunces 标题 + Manrope 正文与等宽数字 */
#yuef-pdp-main.yuef-pdp--refined :is(h1, h2, h3, .yuef-pdp-faq summary) {
  font-family: var(--yf-serif) !important;
  color: #163F37;
}
#yuef-pdp-main.yuef-pdp--refined :is(.yuef-pdp-price, .yuef-pdp-table-wrap td, .yuef-pdp-spec-list dd, [data-fit-result-value]) {
  font-variant-numeric: tabular-nums;
}
.yuef-refined .yuef-pdp-short-description,
.yuef-refined .yuef-pdp-consumer-story {
  color: #34443F !important;
}
.yuef-refined .yuef-pdp-consumer-story h3 {
  color: #163F37 !important;
}
.yuef-refined .yuef-pdp-gallery__main {
  border-color: #DFE5E0 !important;
  background: #FFFFFF !important;
  box-shadow: 0 14px 40px rgba(15, 59, 50, 0.06) !important;
}
.yuef-refined .yuef-pdp-gallery__thumb.is-active {
  outline: 1.5px solid #05634F !important;
  border-color: #05634F !important;
}
.yuef-refined .yuef-pdp-definition figure img,
.yuef-refined .yuef-pdp-tester__media img {
  border-color: #DFE5E0 !important;
  box-shadow: 14px 14px 0 #E7EEE9 !important;
}
@media (max-width: 767px) {
  .yuef-refined .yuef-pdp-definition figure img,
  .yuef-refined .yuef-pdp-tester__media img {
    box-shadow: 8px 8px 0 #E7EEE9 !important;
  }
}

/* 3. 属性选中态：淡绿底 #EDF5EF + 1.5px 孔雀绿边 #05634F + 深墨绿字 #163F37 */
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-commerce .variable-item.selected,
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-commerce .variable-item[aria-checked="true"],
.yuef-refined .yuef-pdp-commerce .variable-item.selected {
  background-color: #EDF5EF !important;
  border-color: #05634F !important;
  box-shadow: inset 0 0 0 1px #05634F !important;
  color: #163F37 !important;
}

/* 4. 详情页楼层冷暖呼吸律动（纯白买货 -> 深绿工艺 -> 白底规格 -> 浅灰绿试戴 -> 暖米白FAQ） */
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-craft,
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-marquee,
.yuef-refined .yuef-pdp-craft {
  background-color: #0F3B32 !important;
  color: #FAF8F3 !important;
}
.yuef-refined .yuef-pdp-marquee {
  border-block: 1px solid rgba(229, 207, 163, 0.34) !important;
}
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-craft :is(h2, h3) {
  color: #FFFFFF !important;
  font-weight: 500;
}
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-craft p,
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-craft figcaption,
.yuef-refined .yuef-pdp-craft__stats span {
  color: #E7EFEA !important;
}
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-craft :is(.yuef-pdp-kicker, .yuef-pdp-section-note, .yuef-pdp-craft__stats strong),
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-marquee i,
.yuef-refined .yuef-pdp-craft__stats strong {
  color: #E5CFA3 !important;
}
.yuef-refined .yuef-pdp-craft figure img {
  border-color: rgba(229, 207, 163, 0.32) !important;
}
.yuef-refined .yuef-pdp-craft figure > span {
  border-color: rgba(229, 207, 163, 0.42) !important;
}
.yuef-refined .yuef-pdp-craft__stats {
  border-top-color: rgba(229, 207, 163, 0.25) !important;
}
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-fit,
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-stone,
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-reviews,
.yuef-refined .yuef-pdp-fit,
.yuef-refined .yuef-pdp-stone,
.yuef-refined .yuef-pdp-reviews {
  background-color: #F1F4EF !important;
  border-color: #DFE5E0 !important;
}
.yuef-refined .yuef-pdp-fit__tool,
.yuef-refined .yuef-pdp-table-wrap,
.yuef-refined .yuef-pdp-reviews__content {
  background-color: #FFFFFF !important;
  border-color: #DFE5E0 !important;
  box-shadow: 0 16px 46px rgba(15, 59, 50, 0.06) !important;
}
.yuef-refined .yuef-pdp-fit__visual,
.yuef-refined .yuef-pdp-fit__quick {
  background-color: #F4F7F3 !important;
  border-color: #DFE5E0 !important;
}
.yuef-refined .yuef-pdp-fit-coverage {
  background-color: #EDF5EF !important;
  border-color: #C2DEC9 !important;
}
.yuef-refined .yuef-pdp-table-wrap tbody tr:hover {
  background-color: #EDF5EF !important;
}
.yuef-refined .yuef-pdp-spec-list > div {
  border-bottom-color: #DFE5E0 !important;
}
.yuef-refined .yuef-pdp-spec-list dt {
  color: #82612F !important;
}
.yuef-refined .yuef-pdp-faq__list details {
  border-bottom-color: #E6DEC8 !important;
}
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-delivery-note,
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-trust-grid a,
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-faq details[open],
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-boundary-note,
.yuef-refined .yuef-pdp-trust-grid a,
.yuef-refined .yuef-pdp-tester__demo,
.yuef-refined .yuef-pdp-faq__list details[open] {
  background-color: #F7F2E8 !important;
  border-color: #E6DEC8 !important;
}
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-kicker,
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-section-note {
  color: #82612F !important;
}
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-craft .yuef-pdp-section-note {
  color: #E5CFA3 !important;
}
#yuef-pdp-main.yuef-pdp--refined .yuef-pdp-meter__case {
  fill: #0F3B32 !important;
  stroke: #163F37 !important;
}

/* 4.5 详情页定向 3 切形轻量化 48 帧高火彩展台容器 */
.yuef-pdp-fire-wrap {
  width: min(1240px, 100% - clamp(24px, 5vw, 72px));
  margin: 0 auto clamp(34px, 4.5vw, 56px);
}
.yuef-pdp-fire-wrap .yf-gemstudio {
  max-width: 100%;
}

/* 4.6 Cut Guide 与深绿带清晰字重防发虚 */
.yf-detail-band .yf-floor-title,
.yf-detail-band .yf-detail-card strong {
  color: #FFFFFF !important;
  font-weight: 500;
}
.yf-detail-band .yf-detail-prose p,
.yf-detail-band .yf-detail-card p {
  color: #E7EFEA !important;
  font-weight: 450;
}

/* 5. 工厂直供三层穿透价温和胶囊（严禁使用廉价促销大红） */
.yuef-pdp-factory-compare {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 4px 10px;
  background-color: #EDF5EF;
  border: 1px solid #C2DEC9;
  color: #05634F;
  font: 600 12px/1.3 var(--yf-sans);
  vertical-align: middle;
}
.yuef-pdp-factory-compare del {
  color: #5C6D67;
  font-weight: 400;
}

/* 6. 全站统一页头（白底 #FFFFFF · 深孔雀绿公告带 #0F3B32 · 深墨绿导航 #163F37 · 古金 #82612F）
   并根治现网顶栏 OUR STORY + CONTACT 挤压重叠成 OUR STORYCON */
:root {
  --yuef-header-paper: #FFFFFF;
  --yuef-header-espresso: #0F3B32;
  --yuef-header-mocha: #34443F;
  --yuef-header-linen: #DFE5E0;
  --yuef-header-deep-gold: #82612F;
  --yuef-header-brass: #82612F;
}
body.yuef-header-experience #top-bar-wrap {
  background: #0F3B32 !important;
  color: #FAF8F3 !important;
  border-bottom: 1px solid rgba(229, 207, 163, 0.22) !important;
}
body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] [data-id="46cc7648"] {
  background: #FFFFFF !important;
  background-image: none !important;
  border-bottom: 1px solid #DFE5E0 !important;
}
body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"].is-scrolled [data-id="46cc7648"],
body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] [data-id="46cc7648"].elementor-sticky--active {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: #DFE5E0 !important;
  box-shadow: 0 10px 26px rgba(15, 59, 50, 0.06) !important;
}
body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] [data-id="977cca6"] a {
  color: #163F37 !important;
}
body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] .e-n-menu-title-container,
body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] .yuef-header-secondary-link,
.yuef-header-track-order {
  color: #163F37 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] .e-n-menu-title:hover .e-n-menu-title-container,
body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] .yuef-header-secondary-link:hover,
.yuef-header-track-order:hover {
  color: #82612F !important;
}
body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] [data-id="ae5d5c3"] .elementor-icon,
body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] [data-id="66d415f"] .elementor-menu-cart__toggle_button,
body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] .e-n-menu-toggle {
  color: #163F37 !important;
}
body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] [data-id="66d415f"] .elementor-menu-cart__toggle_button {
  border-color: #B8A074 !important;
}
body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] [data-id="66d415f"] .elementor-button-icon-qty {
  background: #82612F !important;
  color: #FFFFFF !important;
}
@media (min-width: 1025px) {
  body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] .e-n-menu-heading {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: clamp(10px, 1.15vw, 22px) !important;
  }
}
@media (min-width: 1025px) and (max-width: 1380px) {
  body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] .e-n-menu-heading {
    gap: clamp(7px, 0.72vw, 13px) !important;
  }
  body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] .e-n-menu-title,
  body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] .yuef-header-secondary-item {
    flex-shrink: 0 !important;
  }
  body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] .e-n-menu-title-container,
  body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] .yuef-header-secondary-link,
  .yuef-header-track-order {
    font-size: 11px !important;
    letter-spacing: 0.03em !important;
  }
  body.yuef-header-experience .elementor-location-header[data-elementor-id="31169"] [data-id="977cca6"] a {
    font-size: clamp(20px, 1.75vw, 24px) !important;
  }
}
.yuef-header-mobile-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: #DFE5E0 !important;
}
.yuef-header-mobile-menu__group-toggle,
.yuef-header-mobile-menu__child-link,
.yuef-header-mobile-menu__utility-link {
  color: #163F37 !important;
}

/* 7. 【现网 Bug 根治 #2】修复右下角 JEWELRY CONCIERGE 客服浮窗（Shadow DOM 变量）遮挡手机端吸底 ADD TO CART 按钮 */
body.single-product.yuef-pdp-live yuef-support-bootstrap,
body.single-product.yuef-pdp-live yuef-support-widget {
  --ys-dock-bottom: 88px !important;
}
@media (max-width: 900px) {
  body.single-product.yuef-pdp-live yuef-support-bootstrap,
  body.single-product.yuef-pdp-live yuef-support-widget {
    --ys-dock-bottom: 96px !important;
  }
}
body.single-product.yuef-pdp-live .yuef-support-launcher,
body.single-product.yuef-pdp-live [id*="yuef-support"] button {
  bottom: calc(var(--yuef-sticky-bar-h, 76px) + 16px) !important;
  right: 16px !important;
  background-color: #0F3B32 !important;
  border: 1px solid #E5CFA3 !important;
  color: #FAF8F3 !important;
}
body.single-product.yuef-pdp-live .yuef-support-teaser,
body.single-product.yuef-pdp-live .yuef-support-bubble-label {
  display: none !important; /* 首屏收起宽黑气泡条，避免覆盖尺码按钮与 Clear 操作 */
}

/* 8. 全站页脚方案 B：上深孔雀绿 #0F3B32 礼盒订阅带 + 下浅灰绿 #F1F4EF 清爽导航
   精准覆盖现网 Elementor Footer (.elementor-31473) 及独立页脚组件 (.store-footer) */
.elementor-31473 .yuef-site-footer-newsletter,
.store-footer .store-news {
  background: #0F3B32 !important;
  background-image: none !important;
  border-top: 1px solid rgba(229, 207, 163, 0.28) !important;
  color: #FAF8F3 !important;
}
.elementor-31473 .yuef-site-footer-kicker .elementor-heading-title,
.elementor-31473 .elementor-element-ea10864 .elementor-heading-title,
.elementor-31473 .yuef-site-footer-note a,
.store-footer .news-copy small,
.store-footer .store-existing-offer,
.store-footer .store-news a,
.store-footer .news-form label {
  color: #E5CFA3 !important;
}
.elementor-31473 .elementor-element-f1000004 .elementor-heading-title,
.store-footer .news-copy h2 {
  color: #FAF8F3 !important;
  font-family: var(--yf-serif, "Fraunces", Georgia, serif) !important;
  font-weight: 500 !important;
}
.elementor-31473 .yuef-site-footer-newsletter-copy,
.elementor-31473 .yuef-site-footer-newsletter-copy p,
.store-footer .news-copy p:not(.store-existing-offer) {
  color: #E7EFEA !important;
}
.elementor-31473 .yuef-site-footer-note,
.elementor-31473 .yuef-site-footer-note p,
.store-footer .news-privacy {
  color: #9DB5AC !important;
}
.elementor-31473 .yuef-site-footer-form input[type="email"],
.elementor-31473 .yuef-site-footer-form input[type="text"],
.store-footer .news-fields input {
  background: #FFFFFF !important;
  border: 1px solid rgba(229, 207, 163, 0.5) !important;
  padding: 0 14px !important;
  color: #163F37 !important;
}
.elementor-31473 .yuef-site-footer-form input[type="email"]::placeholder,
.store-footer .news-fields input::placeholder {
  color: #5C6D67 !important;
}
.elementor-31473 .yuef-site-footer-form button[type="submit"],
.elementor-31473 .yuef-site-footer-form .wpforms-submit,
.store-footer .news-fields button {
  background: #05634F !important;
  border: 1px solid #E5CFA3 !important;
  color: #FFFFFF !important;
}
.elementor-31473 .yuef-site-footer-form button[type="submit"]:hover,
.elementor-31473 .yuef-site-footer-form .wpforms-submit:hover,
.store-footer .news-fields button:hover {
  background: #044E3E !important;
  border-color: #E5CFA3 !important;
  color: #FFFFFF !important;
}

.elementor-31473 .yuef-site-footer-main,
.elementor-31473 .yuef-site-footer-bottom,
.store-footer .store-foot {
  background: #F1F4EF !important;
  background-image: none !important;
  color: #34443F !important;
}
.elementor-31473 .yuef-site-footer-main,
.store-footer .store-foot {
  border-top: 1px solid #DFE5E0 !important;
}
.elementor-31473 .yuef-site-footer-brand .elementor-heading-title,
.elementor-31473 .yuef-site-footer-brand .elementor-heading-title a,
.store-footer .store-foot .pr-logo {
  color: #163F37 !important;
  font-family: var(--yf-serif, "Fraunces", Georgia, serif) !important;
}
.elementor-31473 .yuef-site-footer-brand .elementor-heading-title em,
.elementor-31473 .yuef-site-footer-brand .elementor-heading-title i,
.store-footer .store-foot .pr-logo i,
.elementor-31473 .yuef-site-footer-column-title .elementor-heading-title,
.store-footer .store-foot-column h2 {
  color: #82612F !important;
}
.elementor-31473 .yuef-site-footer-brand-copy,
.elementor-31473 .yuef-site-footer-brand-copy p,
.store-footer .foot-brand p {
  color: #34443F !important;
}
.elementor-31473 .yuef-site-footer-social .elementor-social-icon {
  background: #FFFFFF !important;
  border: 1px solid #C9D3C9 !important;
  color: #163F37 !important;
}
.elementor-31473 .yuef-site-footer-social .elementor-social-icon svg,
.elementor-31473 .yuef-site-footer-social .elementor-social-icon i {
  color: #163F37 !important;
  fill: #163F37 !important;
}
.elementor-31473 .yuef-site-footer-social .elementor-social-icon:hover {
  border-color: #05634F !important;
  color: #05634F !important;
}
.elementor-31473 .yuef-site-footer-social .elementor-social-icon:hover svg,
.elementor-31473 .yuef-site-footer-social .elementor-social-icon:hover i {
  color: #05634F !important;
  fill: #05634F !important;
}
.elementor-31473 .yuef-site-footer-links a,
.elementor-31473 .yuef-site-footer-links .elementor-icon-list-text,
.store-footer .store-foot a {
  color: #163F37 !important;
  font-weight: 500;
}
.elementor-31473 .yuef-site-footer-links a:hover,
.elementor-31473 .yuef-site-footer-links a:hover .elementor-icon-list-text,
.store-footer .store-foot a:hover {
  color: #05634F !important;
  text-decoration: underline;
  text-decoration-color: #82612F;
  text-underline-offset: 4px;
}
.elementor-31473 .yuef-payment-row span,
.elementor-31473 .yuef-site-footer-payments span,
.store-footer .store-payment span {
  background: #FFFFFF !important;
  border: 1px solid #D5DDD6 !important;
  color: #5C6D67 !important;
}
.elementor-31473 .yuef-site-footer-bottom,
.store-footer .store-fine {
  border-top: 1px solid #DFE5E0 !important;
  color: #5C6D67 !important;
}
.elementor-31473 .yuef-site-footer-copyright,
.elementor-31473 .yuef-site-footer-copyright p,
.elementor-31473 .yuef-site-footer-legal,
.elementor-31473 .yuef-site-footer-legal a,
.store-footer .store-fine small,
.store-footer .store-fine a {
  color: #5C6D67 !important;
}
.elementor-31473 .yuef-site-footer-legal a:hover,
.store-footer .store-fine a:hover {
  color: #05634F !important;
}
