.elementor-501 .elementor-element.elementor-element-475b0cb{--display:flex;}.elementor-501 .elementor-element.elementor-element-f8b944d{--display:flex;}.elementor-501 .elementor-element.elementor-element-2c5590a{--display:grid;--e-con-grid-template-columns:repeat(3, 1fr);--e-con-grid-template-rows:repeat(1, 1fr);--grid-auto-flow:row;}.elementor-501 .elementor-element.elementor-element-904c491{--display:flex;}.elementor-501 .elementor-element.elementor-element-e146950{--display:flex;}.woocommerce .elementor-501 .elementor-element.elementor-element-07b20c8 .flex-viewport:not(:last-child){margin-bottom:0px;}.elementor-501 .elementor-element.elementor-element-61fa016{--display:flex;}.elementor-501 .elementor-element.elementor-element-99d7f88{--display:flex;}.elementor-widget-woocommerce-product-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-501 .elementor-element.elementor-element-8fac03b .elementor-heading-title{color:#000000;}.elementor-501 .elementor-element.elementor-element-7e2112e{--display:flex;}.elementor-501 .elementor-element.elementor-element-da67fb5{--display:flex;}.elementor-501 .elementor-element.elementor-element-102adef{--display:flex;}.elementor-widget-woocommerce-product-add-to-cart .added_to_cart{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-501 .elementor-element.elementor-element-0be83ef .cart button, .elementor-501 .elementor-element.elementor-element-0be83ef .cart .button{transition:all 0.2s;}.elementor-501 .elementor-element.elementor-element-0be83ef .quantity .qty{transition:all 0.2s;}.elementor-501 .elementor-element.elementor-element-2a75f87{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-501 .elementor-element.elementor-element-296ff8c .elementor-heading-title{color:#030303;}.elementor-501 .elementor-element.elementor-element-97218e1{--display:flex;}.elementor-501 .elementor-element.elementor-element-a56eecc{--display:flex;}.elementor-501 .elementor-element.elementor-element-8ec3ef0{--display:flex;}.woocommerce .elementor-widget-woocommerce-product-price .price{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.woocommerce .elementor-501 .elementor-element.elementor-element-f464dbe .price{color:#000000;}.elementor-501 .elementor-element.elementor-element-9a640e4{--display:flex;}.elementor-501 .elementor-element.elementor-element-8c32105{--display:flex;}.elementor-501 .elementor-element.elementor-element-086a147{--display:flex;--min-height:0px;}.elementor-501 .elementor-element.elementor-element-81c21e6 .cart button, .elementor-501 .elementor-element.elementor-element-81c21e6 .cart .button{color:#181515;background-color:#FFE321;transition:all 0.2s;}.elementor-501 .elementor-element.elementor-element-81c21e6 .quantity .qty{transition:all 0.2s;}.elementor-501 .elementor-element.elementor-element-acd24de{--display:flex;}.elementor-501 .elementor-element.elementor-element-e6e662c{--display:flex;}.elementor-501 .elementor-element.elementor-element-c68fc20{--display:flex;border-style:solid;--border-style:solid;border-width:1px 0px 0px 0px;--border-top-width:1px;--border-right-width:0px;--border-bottom-width:0px;--border-left-width:0px;border-color:#B5B8BB;--border-color:#B5B8BB;--border-radius:0px 0px 0px 0px;}.elementor-501 .elementor-element.elementor-element-754e076{--display:flex;}.elementor-501 .elementor-element.elementor-element-bbdd7b7{--display:flex;}.elementor-501 .elementor-element.elementor-element-19974b2{margin:0px 100px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-501 .elementor-element.elementor-element-a09737d{--display:flex;}.elementor-widget-woocommerce-product-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}@media(max-width:1024px){.elementor-501 .elementor-element.elementor-element-2c5590a{--grid-auto-flow:row;}}@media(max-width:767px){.elementor-501 .elementor-element.elementor-element-2c5590a{--e-con-grid-template-columns:repeat(1, 1fr);--grid-auto-flow:row;}}/* Start custom CSS for container, class: .elementor-element-2a75f87 *//* ===== About this item：Amazon 风格 ===== */
.moidy-product-info-col .moidy-product-about {
  margin-top: 14px !important;
  padding-top: 12px !important;
  border-top: 1px solid #d5d9d9 !important;
  color: #0f1111 !important;
  font-size: 14px !important;
  line-height: 1.42 !important;
}

/* ===== About 标题 ===== */
.moidy-product-info-col .moidy-about-title {
  margin-bottom: 5px !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* ===== About 列表 ===== */
.moidy-product-info-col .moidy-product-about ul {
  margin: 0 0 0 18px !important;
  padding: 0 !important;
}

/* ===== About 每一条 ===== */
.moidy-product-info-col .moidy-product-about li {
  margin-bottom: 5px !important;
  padding-left: 2px !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-61fa016 *//* =========================================================
   Moidy 产品页中间列 - 最终精简版
   包含：标题 / 店铺链接 / 评分 / Amazon's Choice / 价格款式区 / 优惠券 / About
   已删除：重复 CSS、旧价格样式、旧属性表样式、款式区底部横线
========================================================= */



.moidy-product-info-col {
  margin-top: 10px !important;
}
/* ===== 00 可调参数：后期只改这里 ===== */
.moidy-product-info-col {
  --moidy-middle-padding-left: 18px;    /* 中间列左内边距：正数整体往右 */
  --moidy-middle-padding-right: 18px;   /* 中间列右内边距 */
  --moidy-title-bottom: 6px;            /* 标题和店铺链接之间距离 */
  --moidy-store-bottom: 3px;            /* 店铺链接和评分之间距离 */
  --moidy-rating-left: 0px;             /* 评分左右位置：正数往右，负数往左 */
  --moidy-rating-bottom: 7px;           /* 评分和横线之间距离 */
  --moidy-choice-top: 6px;              /* Amazon's Choice 距离评分横线距离 */
  --moidy-about-top: 12px;              /* About 距离上方内容距离 */
  --moidy-offer-move-up: -19px;         /* 价格款式区上移：负数越大越往上 */
  --moidy-offer-width: 390px;           /* 价格款式区宽度 */
  --moidy-card-width: 62px;             /* 款式卡片宽度 */
  --moidy-card-image-height: 46px;      /* 款式图片区域高度 */
  --moidy-card-gap: 6px;                /* 款式卡片间距 */
  --moidy-about-top: 4px;
}

/* ===== 01 中间列整体 ===== */
.moidy-product-info-col {
  --widgets-spacing: 0px !important;
  row-gap: 0 !important;
  gap: 0 !important;
  padding: 0 var(--moidy-middle-padding-right) 0 var(--moidy-middle-padding-left) !important;
  color: #0f1111 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

/* ===== 02 清掉 Elementor 默认小组件间距 ===== */
.moidy-product-info-col .elementor-widget,
.moidy-product-info-col .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== 03 产品标题 ===== */
.moidy-product-info-col .moidy-product-title,
.moidy-product-info-col .moidy-product-title h1,
.moidy-product-info-col .moidy-product-title .product_title {
  margin: 0 0 var(--moidy-title-bottom) !important;
  padding: 0 !important;
  color: #0f1111 !important;
  font-size: 24px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

/* ===== 04 店铺链接 ===== */
.moidy-product-info-col .moidy-product-store {
  margin: 0 0 var(--moidy-store-bottom) !important;
  padding: 0 !important;
  color: #007185 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

.moidy-product-info-col .moidy-product-store a {
  color: #007185 !important;
  text-decoration: none !important;
}

.moidy-product-info-col .moidy-product-store a:hover {
  color: #c7511f !important;
  text-decoration: underline !important;
}

/* ===== 05 评分区域：带底部细线 ===== */
.moidy-product-info-col .moidy-product-rating {
  margin: 0 0 var(--moidy-choice-top) var(--moidy-rating-left) !important;
  padding: 0 0 var(--moidy-rating-bottom) !important;
  border-bottom: 1px solid #d5d9d9 !important;
}

/* ===== 06 评分行：4.1 + 星星 + 箭头 + 评论数 ===== */
.moidy-product-info-col .moidy-rating-line {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  color: #0f1111 !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
}

.moidy-product-info-col .moidy-rating-score {
  color: #0f1111 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.moidy-product-info-col .moidy-rating-stars {
  color: #ffa41c !important;
  font-size: 14px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.moidy-product-info-col .moidy-rating-arrow {
  color: #0f1111 !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

.moidy-product-info-col .moidy-rating-count {
  color: #007185 !important;
  font-size: 13px !important;
  text-decoration: none !important;
}

.moidy-product-info-col .moidy-rating-count:hover {
  color: #c7511f !important;
  text-decoration: underline !important;
}

/* ===== 07 Amazon's Choice 标签 ===== */
.moidy-product-info-col .moidy-choice-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 0 7px !important;
  padding: 0 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.moidy-product-info-col .moidy-choice-badge {
  display: inline-flex !important;
  align-items: center !important;
  height: 20px !important;
  padding: 0 7px !important;
  background: #232f3e !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.moidy-product-info-col .moidy-choice-badge em {
  margin-left: 3px !important;
  color: #fff !important;
  font-style: normal !important;
}

/* ===== 08 可持续 / 购买人数小字 ===== */
.moidy-product-info-col .moidy-mini-note {
  margin: 0 0 6px !important;
  color: #0f1111 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

.moidy-product-info-col .moidy-mini-note .moidy-leaf {
  color: #007600 !important;
  font-weight: 700 !important;
}

/* ===== 09 隐藏中间 Add To Cart：只保留变体数据，不占高度 ===== */
.moidy-product-info-col .moidy-mid-variation-form {
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* ===== 10 价格 / 款式区域：已删除底部横线 ===== */
.moidy-product-info-col .moidy-amz-offer {
  width: var(--moidy-offer-width) !important;
  max-width: 100% !important;
  margin: var(--moidy-offer-move-up) 0 10px !important;
  padding: 0 0 12px !important;
  color: #0f1111 !important;
  border-bottom: 0 !important; /* 删除你标出来的那条下划线 */
}

/* ===== 11 当前价格 ===== */
.moidy-product-info-col .moidy-amz-price {
  display: flex !important;
  align-items: flex-start !important;
  gap: 1px !important;
  margin: 0 0 3px !important;
}

.moidy-product-info-col .moidy-amz-currency {
  font-size: 13px !important;
  margin-top: 3px !important;
}

.moidy-product-info-col .moidy-amz-price-main {
  font-size: 28px !important;
  line-height: .95 !important;
  font-weight: 400 !important;
}

.moidy-product-info-col .moidy-amz-price-cents {
  font-size: 13px !important;
  margin-top: 3px !important;
}

.moidy-product-info-col .moidy-amz-price del {
  margin: 12px 0 0 6px !important;
  color: #565959 !important;
  font-size: 11px !important;
}

/* ===== 12 价格历史 / 分期 / Visa 文案 ===== */
.moidy-product-info-col .moidy-amz-price-history {
  display: inline-block !important;
  margin: 0 0 4px !important;
  color: #007185 !important;
  font-size: 12px !important;
  text-decoration: none !important;
}

.moidy-product-info-col .moidy-amz-pay-plan {
  margin: 0 0 7px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.moidy-product-info-col .moidy-amz-pay-plan span {
  padding: 1px 4px !important;
  background: #d5f2e3 !important;
}

.moidy-product-info-col .moidy-amz-pay-plan a,
.moidy-product-info-col .moidy-amz-visa,
.moidy-product-info-col .moidy-amz-return {
  color: #007185 !important;
  text-decoration: none !important;
}

.moidy-product-info-col .moidy-amz-visa {
  margin: 0 0 9px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

/* ===== 13 优惠券行 ===== */
.moidy-product-info-col .moidy-coupon-line {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin: 6px 0 7px !important;
  color: #0f1111 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
}

.moidy-product-info-col .moidy-coupon-checkbox {
  width: 13px !important;
  height: 13px !important;
  margin: 0 !important;
  cursor: pointer !important;
}

.moidy-product-info-col .moidy-coupon-line strong {
  color: #0f1111 !important;
  font-weight: 400 !important;
}

.moidy-product-info-col .moidy-coupon-line a {
  color: #007185 !important;
  text-decoration: none !important;
}

/* ===== 14 FREE Returns / Color ===== */
.moidy-product-info-col .moidy-amz-return {
  margin: 0 0 3px !important;
  font-size: 12px !important;
}

.moidy-product-info-col .moidy-amz-color {
  margin: 0 0 5px !important;
  color: #0f1111 !important;
  font-size: 13px !important;
}

/* ===== 15 变体卡片列表 ===== */
.moidy-product-info-col .moidy-amz-variants {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--moidy-card-gap) !important;
}

/* ===== 16 单个变体卡片 ===== */
.moidy-product-info-col .moidy-amz-variant-card {
  display: flex !important;
  flex-direction: column !important;
  width: var(--moidy-card-width) !important;
  min-height: 82px !important;
  padding: 0 !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 6px !important;
  background: #fff !important;
  overflow: hidden !important;
  cursor: pointer !important;
  text-align: left !important;
}

.moidy-product-info-col .moidy-amz-variant-card.is-active {
  border-color: #007185 !important;
  box-shadow: 0 0 0 2px #c8f3fa !important;
}

.moidy-product-info-col .moidy-amz-variant-card img {
  display: block !important;
  width: 100% !important;
  height: var(--moidy-card-image-height) !important;
  object-fit: contain !important;
  padding: 4px !important;
  margin: 0 !important;
  background: #fff !important;
}

/* ===== 17 卡片价格：保留图片和价格之间的细分割线 ===== */
.moidy-product-info-col .moidy-amz-variant-card span {
  display: block !important;
  width: 100% !important;
  margin-top: auto !important;
  padding: 5px 4px 0 !important;
  border-top: 1px solid #e7e7e7 !important;
  color: #0f1111 !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
}

.moidy-product-info-col .moidy-amz-variant-card del {
  display: block !important;
  padding: 0 4px 5px !important;
  color: #565959 !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
}

/* ===== 18 About this item ===== */
.moidy-product-info-col .moidy-product-about {
  margin: var(--moidy-about-top) 0 0 !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid #d5d9d9 !important;
  color: #0f1111 !important;
  font-size: 14px !important;
  line-height: 1.42 !important;
}

.moidy-product-info-col .moidy-product-about .moidy-about-title,
.moidy-product-info-col .moidy-product-about h2,
.moidy-product-info-col .moidy-product-about h3 {
  margin: 0 0 6px !important;
  padding: 0 !important;
  color: #0f1111 !important;
  font-size: 21px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.moidy-product-info-col .moidy-product-about ul {
  margin: 0 0 0 18px !important;
  padding: 0 !important;
}

.moidy-product-info-col .moidy-product-about li {
  margin: 0 0 6px !important;
  padding-left: 2px !important;
  color: #0f1111 !important;
}

.moidy-product-info-col .moidy-product-about p {
  margin: 0 0 7px !important;
}
/* =========================================================
   变体卡片：固定图片和价格之间的横线位置
   作用：不管原价/折扣文字多少，横线都固定在同一高度
========================================================= */

/* 单个商品款式卡片 */
.moidy-product-info-col .moidy-amz-variant-card {
  width: var(--moidy-card-width) !important;        /* 卡片宽度，想变宽改变量 --moidy-card-width */
  height: 88px !important;                         /* 卡片总高度，想更高改这里 */
  min-height: 88px !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* 图片区域：横线固定在图片底部 */
.moidy-product-info-col .moidy-amz-variant-card img {
  width: 100% !important;
  height: var(--moidy-card-image-height) !important; /* 图片区域高度，横线位置跟这个值走 */
  box-sizing: border-box !important;
  display: block !important;
  object-fit: contain !important;
  padding: 4px !important;
  margin: 0 !important;
  border-bottom: 1px solid #e7e7e7 !important;       /* 这根就是你要固定的横线 */
  background: #fff !important;
}

/* 当前价格：不要再用 border-top，否则线会被文字顶动 */
.moidy-product-info-col .moidy-amz-variant-card span {
  width: 100% !important;
  display: block !important;
  margin: 0 !important;
  padding: 5px 4px 0 !important;
  border-top: 0 !important;                         /* 删除原来价格上面的线 */
  box-sizing: border-box !important;
  color: #0f1111 !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
}

/* 原价：只负责显示，不影响中间横线位置 */
.moidy-product-info-col .moidy-amz-variant-card del {
  display: block !important;
  margin: 0 !important;
  padding: 0 4px 5px !important;
  color: #565959 !important;
  font-size: 10px !important;
  line-height: 1.1 !important;
  box-sizing: border-box !important;
}


/* =========================================================
   Moidy 产品页顶部三栏 - 只改响应式
   作用：
   1. 桌面端不动，保持你现在的三栏样式。
   2. 平板端避免中间列被挤成一条竖线。
   3. 手机端改成上下排列，避免所有内容缩成一坨。

   使用位置：
   放到 Elementor / WordPress 自定义 CSS 的最后面。
   不要替换你现有中间列 CSS，这段只是补丁。
========================================================= */

/* ===== 大平板端：左图 + 右侧信息，购买框放右侧信息下面 ===== */
@media (min-width: 901px) and (max-width: 1024px) {

  /* 顶部总容器：平板不要三栏硬挤，改成左右两栏 */
  .moidy-product-page {
    display: grid !important;
    grid-template-columns: minmax(0, 54%) minmax(0, 46%) !important;
    column-gap: 18px !important;
    row-gap: 14px !important;
    align-items: start !important;
  }

  /* 左边产品图片列：占左侧，允许右边信息和购买框上下排列 */
  .moidy-product-page > .moidy-product-gallery-col {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* 中间产品信息列：放第二列，给足宽度，文字就不会竖着挤 */
  .moidy-product-page > .moidy-product-info-col {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* 右侧购买框：不去整页下面，只放在右侧信息下面 */
  .moidy-product-page > .moidy-product-buybox-col {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    margin-top: 8px !important;
  }
}

/* ===== 小平板端：全部上下排列，避免中间列被挤没 ===== */
@media (min-width: 768px) and (max-width: 900px) {

  /* iPad Mini / 小平板：不要左右挤，直接上下排列 */
  .moidy-product-page {
    display: flex !important;
    flex-direction: column !important;
    row-gap: 18px !important;
    gap: 18px !important;
    align-items: start !important;
  }

  /* 三个主列都恢复完整宽度 */
  .moidy-product-page > .moidy-product-gallery-col,
  .moidy-product-page > .moidy-product-info-col,
  .moidy-product-page > .moidy-product-buybox-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }

  /* 小平板顺序：图片 -> 信息 -> 购买框 */
  .moidy-product-page > .moidy-product-gallery-col {
    order: 1 !important;
  }

  .moidy-product-page > .moidy-product-info-col {
    order: 2 !important;
  }

  .moidy-product-page > .moidy-product-buybox-col {
    order: 3 !important;
  }
}

/* ===== 手机端：三块全部上下排列 ===== */
@media (max-width: 767px) {

  /* 顶部总容器：手机端上下排列 */
  .moidy-product-page {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  /* 三个主列都恢复 100% 宽度，防止继续沿用桌面列宽 */
  .moidy-product-page > .moidy-product-gallery-col,
  .moidy-product-page > .moidy-product-info-col,
  .moidy-product-page > .moidy-product-buybox-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }

  /* 手机端顺序：图片 -> 中间信息 -> 购买框 */
  .moidy-product-page > .moidy-product-gallery-col {
    order: 1 !important;
  }

  .moidy-product-page > .moidy-product-info-col {
    order: 2 !important;
  }

  .moidy-product-page > .moidy-product-buybox-col {
    order: 3 !important;
  }

  /* 购买框内部卡片铺满手机宽度 */
  .moidy-product-buybox-col .moidy-buybox-card,
  .moidy-product-buybox-col .moidy-prime-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-086a147 *//* =========================================================
   Paste this into the Elementor Add To Cart widget Custom CSS.
   It is for the widget itself, so it uses .elementor-501 .elementor-element.elementor-element-086a147 directly.
========================================================= */

.elementor-501 .elementor-element.elementor-element-086a147,
.elementor-501 .elementor-element.elementor-element-086a147 .elementor-widget-container {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-501 .elementor-element.elementor-element-086a147 form.cart,
.elementor-501 .elementor-element.elementor-element-086a147 form.variations_form {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Variation dropdown: Color / Size etc. */
.elementor-501 .elementor-element.elementor-element-086a147 table.variations {
  display: table !important;
  width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  border-collapse: collapse !important;
}

.elementor-501 .elementor-element.elementor-element-086a147 table.variations tr,
.elementor-501 .elementor-element.elementor-element-086a147 table.variations th,
.elementor-501 .elementor-element.elementor-element-086a147 table.variations td {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  text-align: left !important;
}

.elementor-501 .elementor-element.elementor-element-086a147 table.variations label {
  display: block !important;
  margin: 0 0 6px !important;
  color: #0f1111 !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
}

.elementor-501 .elementor-element.elementor-element-086a147 table.variations select {
  display: block !important;
  width: 100% !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 6px 34px 6px 12px !important;
  border: 1px solid #888c8c !important;
  border-radius: 7px !important;
  background-color: #f0f2f2 !important;
  color: #0f1111 !important;
  box-shadow: 0 2px 5px rgba(15, 17, 17, .15) !important;
  font-size: 14px !important;
  line-height: 22px !important;
}

.elementor-501 .elementor-element.elementor-element-086a147 .reset_variations {
  display: block !important;
  margin: 6px 0 0 !important;
  color: #c7511f !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  text-align: right !important;
  text-decoration: none !important;
}

/* Do not show the variation price again inside this widget. */
.elementor-501 .elementor-element.elementor-element-086a147 .woocommerce-variation-price {
  display: none !important;
}

.elementor-501 .elementor-element.elementor-element-086a147 .single_variation_wrap,
.elementor-501 .elementor-element.elementor-element-086a147 .woocommerce-variation,
.elementor-501 .elementor-element.elementor-element-086a147 .woocommerce-variation-add-to-cart {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-501 .elementor-element.elementor-element-086a147 .woocommerce-variation-availability {
  margin: 0 0 10px !important;
}

.elementor-501 .elementor-element.elementor-element-086a147 .woocommerce-variation-availability .stock {
  margin: 0 !important;
  color: #007600 !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
}

/* Quantity full width */
.elementor-501 .elementor-element.elementor-element-086a147 .quantity {
  position: relative !important;
  float: none !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
}

.elementor-501 .elementor-element.elementor-element-086a147 .quantity::before {
  content: "Quantity:";
  position: absolute !important;
  left: 13px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
  color: #0f1111 !important;
  font-size: 14px !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

.elementor-501 .elementor-element.elementor-element-086a147 input.qty {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 6px 12px 6px 82px !important;
  border: 1px solid #888c8c !important;
  border-radius: 7px !important;
  background: #f0f2f2 !important;
  color: #0f1111 !important;
  box-shadow: 0 2px 5px rgba(15, 17, 17, .15) !important;
  font-size: 14px !important;
  line-height: 22px !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

/* Add to cart full width under quantity */
.elementor-501 .elementor-element.elementor-element-086a147 button.single_add_to_cart_button,
.elementor-501 .elementor-element.elementor-element-086a147 .single_add_to_cart_button,
.elementor-501 .elementor-element.elementor-element-086a147 .add_to_cart_button {
  float: none !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ffd814 !important;
  color: #0f1111 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 34px !important;
  font-weight: 400 !important;
  text-align: center !important;
  text-transform: none !important;
}

.elementor-501 .elementor-element.elementor-element-086a147 button.single_add_to_cart_button:hover,
.elementor-501 .elementor-element.elementor-element-086a147 .single_add_to_cart_button:hover,
.elementor-501 .elementor-element.elementor-element-086a147 .add_to_cart_button:hover {
  background: #f7ca00 !important;
  color: #0f1111 !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-e6e662c *//* ===== 底部 Ships from / Sold by / Returns：图二样式 ===== */
.elementor-501 .elementor-element.elementor-element-e6e662c {
  margin-top: 16px !important;
  padding: 0 !important;
}

/* 外层列表：做成两列 */
.elementor-501 .elementor-element.elementor-element-e6e662c .moidy-buybox-meta-list {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  column-gap: 10px !important;
  row-gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

/* 每个 div 不单独占盒子，让 span/strong 进入 grid */
.elementor-501 .elementor-element.elementor-element-e6e662c .moidy-buybox-meta-list > div {
  display: contents !important;
}

/* 左侧文字 */
.elementor-501 .elementor-element.elementor-element-e6e662c .moidy-buybox-meta-list span {
  margin: 0 !important;
  padding: 0 !important;
  color: #565959 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
}

/* 右侧文字 */
.elementor-501 .elementor-element.elementor-element-e6e662c .moidy-buybox-meta-list strong {
  margin: 0 !important;
  padding: 0 !important;
  color: #007185 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
}

/* 第一行 Amazon 显示黑色 */
.elementor-501 .elementor-element.elementor-element-e6e662c .moidy-buybox-meta-list > div:first-child strong {
  color: #0f1111 !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-a56eecc *//* =========================================================
   Buybox compact stack
   Paste at the VERY END of the parent product container Custom CSS.
   Keeps your current nested containers, but removes Elementor's big gaps.
========================================================= */

.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card {
  padding: 20px 20px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  row-gap: 0 !important;
}

/* Reset direct and nested Elementor spacing inside the buybox */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card > .e-con-inner,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card > .elementor-element,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card .elementor-element,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card .elementor-widget,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card .elementor-widget-container {
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  gap: 0 !important;
  row-gap: 0 !important;
}

/* The exact vertical rhythm */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-price {
  margin-bottom: -50px !important;
}

.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-shipping {
  margin-bottom: -8px !important;
}

.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-stock {
  margin-bottom: -10 !important;
}

.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-stock:not(:has(.stock)) {
  display: none !important;
}

.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart {
  margin-bottom: 1px !important;
}

.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now {
  margin-bottom: 4px !important;
}

.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-meta {
  margin-top: 0 !important;
}

/* Tighter WooCommerce variable form */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart table.variations {
  margin: 0 0 14px !important;
}

.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart table.variations tr {
  margin: 0 !important;
}

.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart table.variations label {
  margin: 0 0 6px !important;
}

.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart table.variations select {
  margin: 0 !important;
}

.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .quantity {
  margin: 0 0 10px !important;
}

/* Same button size */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart button.single_add_to_cart_button,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .single_add_to_cart_button,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .add_to_cart_button,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now a,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now button,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now .elementor-button,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buy-now-btn {
  width: 100% !important;
  max-width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  line-height: 34px !important;
  box-sizing: border-box !important;
}



/* ===== 右侧 buybox 同步后的价格样式 ===== */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-synced-price {
  margin: 0 !important;
  padding: 0 !important;
  color: #0f1111 !important;
  line-height: 1 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  white-space: nowrap !important;
}

/* 货币符号 $ */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-synced-price .moidy-buybox-currency {
  position: relative !important;
  top: -8px !important;
  margin-right: 2px !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

/* 主价格整数 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-synced-price .moidy-buybox-main {
  font-size: 30px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
}

/* 小数 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-synced-price .moidy-buybox-cents {
  position: relative !important;
  top: -8px !important;
  margin-left: 1px !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

/* 原价划线 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-synced-price del {
  margin-left: 7px !important;
  color: #565959 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

/* Optional: if you want everything more compact, lower these three numbers:
   shipping margin 58px, buy-now margin 44px, price margin 28px.
*/
/* =========================================================
   右侧 Buybox 间距微调版
   粘贴位置：产品页最外层大容器 Custom CSS 的最底部

   微调方法：
   只改下面 :root 这一组变量即可。
   数字越大 = 间距越大
   数字越小 = 间距越近
========================================================= */

.elementor-501 .elementor-element.elementor-element-a56eecc {
  /* 卡片内边距 */
  --buybox-pad-top: 0px;
  --buybox-pad-x: 0px;
  --buybox-pad-bottom: 8px;

  /* 价格下面到配送文案的距离 */
  --gap-price-to-shipping: px;

  /* 配送文案下面到库存 In Stock 的距离 */
  --gap-shipping-to-stock: -20px;

  /* 库存下面到 Color/Quantity 区域的距离 */
  --gap-stock-to-cart: px;

  /* Color 下拉和 Quantity 的内部距离 */
  --gap-color-to-qty: 1px;

  /* Quantity 下面到 Add to cart 的距离 */
  --gap-qty-to-addcart: 10px;

  /* Add to cart 下面到 Buy Now 的距离 */
  --gap-addcart-to-buynow: px;

  /* Buy Now 下面到 Ships from 的距离 */
  --gap-buynow-to-meta: px;
}

/* 购买框外层 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card {
  padding: var(--buybox-pad-top) var(--buybox-pad-x) var(--buybox-pad-bottom) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  row-gap: 0 !important;
}

/* 清掉 Elementor 默认间距，避免容器自己撑开 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card > .e-con-inner,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card > .elementor-element,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card .elementor-element,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card .elementor-widget,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card .elementor-widget-container {
  min-height: 0 !important;
  height: auto !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  gap: 0 !important;
  row-gap: 0 !important;
}

/* 价格到配送文案 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-price {
  margin-bottom: var(--gap-price-to-shipping) !important;
}

/* 配送文案到库存 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-shipping {
  margin-bottom: var(--gap-shipping-to-stock) !important;
}

/* 配送文案内部每行间距 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-shipping p,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-shipping div {
  margin-bottom: 8px !important;
}

/* 库存区域 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-stock {
  margin-bottom: var(--gap-stock-to-cart) !important;
}

/* 没有库存文字时隐藏，避免空白 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-stock:not(:has(.stock)) {
  display: none !important;
}

/* Add To Cart 整块 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart {
  margin-bottom: var(--gap-addcart-to-buynow) !important;
}

/* Color 下拉区域 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart table.variations {
  margin: 0 0 var(--gap-color-to-qty) !important;
}

/* Color 文字 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart table.variations label {
  margin: 0 0 6px !important;
}

/* Quantity 到 Add to cart */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .quantity {
  margin: 0 0 var(--gap-qty-to-addcart) !important;
}

/* Buy Now 到底部 meta */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now {
  margin-bottom: var(--gap-buynow-to-meta) !important;
}

/* 底部 meta */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-meta {
  margin-top: 0 !important;
}

/* 加入购物车和 Buy Now 统一宽高 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart button.single_add_to_cart_button,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .single_add_to_cart_button,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .add_to_cart_button,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now a,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now button,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now .elementor-button,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buy-now-btn {
  width: 100% !important;
  max-width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  line-height: 34px !important;
  box-sizing: border-box !important;
}
/* 配送信息往上：减少价格和配送之间的距离 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-price {
  margin-bottom: -20px !important;
}

/* 配送信息内部每行间距 */
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-shipping p,
.elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-shipping div {
  margin-bottom: 6px !important;
}
/* =========================================================
   右侧 Buybox：只改平板 / 手机响应式
   粘贴位置：当前 Buybox CSS 的最底部
   注意：这里所有规则都在 media 里面，不影响桌面端
========================================================= */

/* =========================================================
   01 平板端：iPad / iPad mini / 折叠屏横向附近
   范围：768px - 1024px
   作用：购买框变窄，文字和按钮略收紧，避免右侧被裁切
========================================================= */
@media (min-width: 768px) and (max-width: 1024px) {
  /* 右侧购买框列：限制宽度，避免超出屏幕 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-product-buybox-col {
    width: 230px !important;
    max-width: 230px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* 购买卡片：内边距收小一点 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 14px 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* 同步价格：平板端略小，避免挤出 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-synced-price .moidy-buybox-main {
    font-size: 28px !important;
  }

  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-synced-price .moidy-buybox-currency,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-synced-price .moidy-buybox-cents {
    font-size: 13px !important;
  }

  /* 配送文案：平板端收紧 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-shipping {
    margin-bottom: 12px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-shipping p,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-shipping div {
    margin-bottom: 5px !important;
  }

  /* Color 下拉区域：保持完整宽度 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart table.variations {
    width: 100% !important;
    margin-bottom: 8px !important;
  }

  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart table.variations select {
    width: 100% !important;
    max-width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    font-size: 12px !important;
  }

  /* Quantity 输入框：保持完整宽度 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .quantity {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 8px !important;
  }

  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart input.qty {
    width: 100% !important;
    max-width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    font-size: 12px !important;
  }

  /* 加入购物车和 Buy Now：同宽同高 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart button.single_add_to_cart_button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .single_add_to_cart_button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .add_to_cart_button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now a,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now .elementor-button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buy-now-btn {
    width: 100% !important;
    max-width: 100% !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    line-height: 32px !important;
    box-sizing: border-box !important;
  }

  /* Buy Now 到底部 meta 的距离 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now {
    margin-bottom: 14px !important;
  }

  /* 底部 meta：平板端两列更窄 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-meta-list {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    column-gap: 7px !important;
    row-gap: 5px !important;
  }

  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-meta-list span,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-meta-list strong {
    font-size: 10px !important;
    line-height: 1.25 !important;
  }
}

/* =========================================================
   02 iPad mini 竖屏特殊处理
   范围：768px - 820px
   作用：iPad mini 正好 768px，单独再收窄一点
========================================================= */
@media (min-width: 768px) and (max-width: 820px) {
  /* 购买框列更窄，避免被右侧裁切 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-product-buybox-col {
    width: 210px !important;
    max-width: 210px !important;
  }

  /* 卡片内边距更小 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card {
    padding: 12px 12px 12px !important;
  }

  /* 价格再小一点 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-synced-price .moidy-buybox-main {
    font-size: 26px !important;
  }

  /* 配送文案避免换行撑爆 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-shipping {
    font-size: 11px !important;
    line-height: 1.32 !important;
  }

  /* 按钮文字略小，保证完整显示 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart button.single_add_to_cart_button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .single_add_to_cart_button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .add_to_cart_button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now a,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now .elementor-button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buy-now-btn {
    font-size: 11px !important;
  }
}

/* =========================================================
   03 手机端：767px 以下
   作用：购买框变成整行卡片，居中显示，不再被挤压
========================================================= */
@media (max-width: 767px) {
  /* 右侧购买框列：手机端满宽 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-product-buybox-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  /* 购买卡片：手机端居中，最大宽度 360px */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card {
    width: 100% !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 16px 16px 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* 价格：手机端略小 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-synced-price .moidy-buybox-main {
    font-size: 28px !important;
  }

  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-synced-price .moidy-buybox-currency,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-synced-price .moidy-buybox-cents {
    font-size: 13px !important;
  }

  /* 价格到配送文案的距离 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-price {
    margin-bottom: 12px !important;
  }

  /* 配送文案：手机端收紧 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-shipping {
    margin-bottom: 12px !important;
    font-size: 13px !important;
    line-height: 1.36 !important;
  }

  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-shipping p,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-shipping div {
    margin-bottom: 6px !important;
  }

  /* Color 下拉、数量框、按钮全部满宽 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart table.variations,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart table.variations select,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .quantity,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart input.qty,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart button.single_add_to_cart_button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .single_add_to_cart_button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .add_to_cart_button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now a,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now .elementor-button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buy-now-btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Color 下拉和 Quantity 的距离 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart table.variations {
    margin-bottom: 9px !important;
  }

  /* Quantity 到 Add to cart 的距离 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .quantity {
    margin-bottom: 8px !important;
  }

  /* 手机端按钮统一高度 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart button.single_add_to_cart_button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .single_add_to_cart_button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-cart .add_to_cart_button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now a,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now .elementor-button,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buy-now-btn {
    height: 34px !important;
    min-height: 34px !important;
    line-height: 34px !important;
    font-size: 13px !important;
    padding: 0 14px !important;
  }

  /* Buy Now 到 meta 的距离 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-buy-now {
    margin-bottom: 14px !important;
  }

  /* 底部 meta：手机端保持两列 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-meta-list {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    column-gap: 8px !important;
    row-gap: 6px !important;
  }

  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-meta-list span,
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-meta-list strong {
    font-size: 11px !important;
    line-height: 1.28 !important;
  }
}

/* =========================================================
   04 超小手机：420px 以下
   作用：防止小屏幕左右溢出
========================================================= */
@media (max-width: 420px) {
  /* 卡片不再限制 360px，直接跟随屏幕 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-card {
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* meta 左列再窄一点 */
  .elementor-501 .elementor-element.elementor-element-a56eecc .moidy-buybox-meta-list {
    grid-template-columns: 52px minmax(0, 1fr) !important;
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-97218e1 *//* =========================================================
   Buy Now button fix
   Paste at the VERY END of the parent product container Custom CSS.
   HTML widget class should be: moidy-buybox-buy-now
========================================================= */

.elementor-501 .elementor-element.elementor-element-97218e1 .moidy-buybox-buy-now,
.elementor-501 .elementor-element.elementor-element-97218e1 .moidy-buybox-buy-now .elementor-widget-container,
.elementor-501 .elementor-element.elementor-element-97218e1 .moidy-buybox-buy-now .elementor-button-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

.elementor-501 .elementor-element.elementor-element-97218e1 .moidy-buybox-buy-now a.moidy-buy-now-btn,
.elementor-501 .elementor-element.elementor-element-97218e1 .moidy-buybox-buy-now .moidy-buy-now-btn,
.elementor-501 .elementor-element.elementor-element-97218e1 .moidy-buybox-buy-now .elementor-button {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #ffa41c !important;
  color: #0f1111 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 34px !important;
  font-weight: 400 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-sizing: border-box !important;
}

.elementor-501 .elementor-element.elementor-element-97218e1 .moidy-buybox-buy-now a.moidy-buy-now-btn:hover,
.elementor-501 .elementor-element.elementor-element-97218e1 .moidy-buybox-buy-now .moidy-buy-now-btn:hover,
.elementor-501 .elementor-element.elementor-element-97218e1 .moidy-buybox-buy-now .elementor-button:hover {
  background: #fa8900 !important;
  color: #0f1111 !important;
}


.elementor-501 .elementor-element.elementor-element-97218e1 .moidy-buybox-cart .reset_variations {
  display: none !important;
}
/* =========================================================
   右侧购买框：响应式适配
   粘贴位置：最大容器 Custom CSS 最底部

   父级容器 class：
   moidy-product-buybox-col

   作用：
   1. 平板端缩小右侧购买框，避免被裁切
   2. 手机端购买框变成整行居中
   3. 不改变桌面端样式
========================================================= */

/* =========================================================
   Moidy 产品页顶部三栏 - 只改响应式
   作用：
   1. 桌面端不动，保持你现在的三栏样式。
   2. 平板端避免中间列被挤成一条竖线。
   3. 手机端改成上下排列，避免所有内容缩成一坨。

   使用位置：
   放到 Elementor / WordPress 自定义 CSS 的最后面。
   不要替换你现有中间列 CSS，这段只是补丁。
========================================================= */

/* ===== 大平板端：三栏仍然同一行，不让购买框掉到下面 ===== */
@media (min-width: 901px) and (max-width: 1024px) {

  /* 顶部总容器：平板横屏 / iPad Pro 仍然保持三栏 */
  .moidy-product-page {
    display: grid !important;
    grid-template-columns: minmax(320px, 44%) minmax(290px, 34%) minmax(210px, 22%) !important;
    column-gap: 14px !important;
    row-gap: 0 !important;
    align-items: start !important;
  }

  /* 左边产品图片列：放第一列 */
  .moidy-product-page > .moidy-product-gallery-col {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* 中间产品信息列：放第二列，给足宽度，文字就不会竖着挤 */
  .moidy-product-page > .moidy-product-info-col {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* 右侧购买框：保持在第三列，不再掉到下面 */
  .moidy-product-page > .moidy-product-buybox-col {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    margin-top: 0 !important;
  }
}

/* ===== 小平板端：宽度不够时才把购买框放下面，避免中间列挤成竖排 ===== */
@media (min-width: 768px) and (max-width: 900px) {

  /* 小平板只有两栏：图片 + 中间信息 */
  .moidy-product-page {
    display: grid !important;
    grid-template-columns: minmax(0, 56%) minmax(0, 44%) !important;
    column-gap: 16px !important;
    row-gap: 18px !important;
    align-items: start !important;
  }

  /* 左边产品图片列 */
  .moidy-product-page > .moidy-product-gallery-col {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* 中间产品信息列 */
  .moidy-product-page > .moidy-product-info-col {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* 购买框小平板再换行，不影响 901px 以上的大平板 */
  .moidy-product-page > .moidy-product-buybox-col {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 420px !important;
    min-width: 0 !important;
    justify-self: end !important;
    margin-top: 0 !important;
  }
}

/* ===== 手机端：三块全部上下排列 ===== */
@media (max-width: 767px) {

  /* 顶部总容器：手机端上下排列 */
  .moidy-product-page {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch !important;
  }

  /* 三个主列都恢复 100% 宽度，防止继续沿用桌面列宽 */
  .moidy-product-page > .moidy-product-gallery-col,
  .moidy-product-page > .moidy-product-info-col,
  .moidy-product-page > .moidy-product-buybox-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
  }

  /* 手机端顺序：图片 -> 中间信息 -> 购买框 */
  .moidy-product-page > .moidy-product-gallery-col {
    order: 1 !important;
  }

  .moidy-product-page > .moidy-product-info-col {
    order: 2 !important;
  }

  .moidy-product-page > .moidy-product-buybox-col {
    order: 3 !important;
  }

  /* 购买框内部卡片铺满手机宽度 */
  .moidy-product-buybox-col .moidy-buybox-card,
  .moidy-product-buybox-col .moidy-prime-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-2c5590a *//* ===== 01 页面整体：亚马逊三栏布局 ===== */
/* ===== 01 页面整体：亚马逊三栏布局 ===== */
.elementor-501 .elementor-element.elementor-element-2c5590a {
  --moidy-page-width: 1480px;       /* 页面整体最大宽度 */

  --moidy-gallery-width: 580px;     /* 左侧图库宽度：控制整块主图区域大小 */
  --moidy-buybox-width: 300px;      /* 右侧购买框宽度 */
  --moidy-column-gap: 0px;         /* 左中右三栏间距 */

  --moidy-main-image-height: 554px; /* 主图高度：620 - 56缩略图列 - 10间距 = 554 */


  max-width: var(--moidy-page-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;

  display: grid !important;
  grid-template-columns:
    var(--moidy-gallery-width)
    minmax(0, 1fr)
    var(--moidy-buybox-width) !important;
  column-gap: var(--moidy-column-gap) !important;
  align-items: start !important;
}

/* ===== 02 左中右三栏基础 ===== */
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery-col,
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-info-col,
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-buybox-col {
  min-width: 0 !important;
}

.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-buybox-col {
  width: var(--moidy-buybox-width) !important;
  max-width: var(--moidy-buybox-width) !important;
}

/* ===== 03 图库：左缩略图，右主图 ===== */
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .woocommerce-product-gallery {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  gap: 10px !important;
  width: 100% !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ===== 04 缩略图列表 ===== */
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .flex-control-thumbs {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .flex-control-thumbs li {
  width: 52px !important;
  height: 52px !important;
  flex: 0 0 52px !important;
  margin: 0 !important;
  float: none !important;
  list-style: none !important;
}

.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .flex-control-thumbs img {
  width: 52px !important;
  height: 52px !important;
  object-fit: cover !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 7px !important;
  padding: 2px !important;
  background: #fff !important;
  opacity: 1 !important;
  cursor: pointer !important;
  transition: none !important;
  animation: none !important;
}

.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .flex-control-thumbs img.flex-active,
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .flex-control-thumbs img:hover {
  border-color: #f08804 !important;
  box-shadow: 0 0 0 2px rgba(240, 136, 4, .28) !important;
}

/* ===== 05 主图切换：配合 JS，只显示当前图 ===== */
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .woocommerce-product-gallery__wrapper {
  transform: none !important;
  transition: none !important;
  width: 100% !important;
}

.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .woocommerce-product-gallery__image {
  display: none !important;
  width: 100% !important;
  float: none !important;
  margin-right: 0 !important;
}

.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .woocommerce-product-gallery__image.moidy-active-slide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ===== 06 主图盒子：防止图片过高/显示不完整 ===== */
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .flex-viewport {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  height: var(--moidy-main-image-height) !important;
  min-height: var(--moidy-main-image-height) !important;
  max-height: var(--moidy-main-image-height) !important;
  overflow: hidden !important;
  transition: none !important;
}

.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .woocommerce-product-gallery__image,
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .woocommerce-product-gallery__image a {
  height: var(--moidy-main-image-height) !important;
  overflow: hidden !important;
}

.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .woocommerce-product-gallery__image img {
  max-width: 100% !important;
  max-height: var(--moidy-main-image-height) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  transition: none !important;
}

/* ===== 07 多余缩略图隐藏，只显示 +N ===== */
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .flex-control-thumbs li.moidy-extra-thumb {
  display: none !important;
}

.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .moidy-thumb-more-li,
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .moidy-thumb-more {
  width: 52px !important;
  height: 52px !important;
}

.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .moidy-thumb-more {
  border: 1px solid #d5d9d9 !important;
  border-radius: 7px !important;
  padding: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  position: relative !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
}

.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .moidy-thumb-more::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}

.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .moidy-thumb-more span {
  position: relative;
  z-index: 2;
}

/* ===== 08 右侧购买框 ===== */
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-buybox-card {
  width: 100% !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 8px !important;
  padding: 18px 18px 16px !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* ===== 09 弹窗背景 ===== */
.moidy-gallery-open {
  overflow: hidden;
}

.moidy-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  background: rgba(0,0,0,.65);
}

.moidy-gallery-modal.is-open {
  display: block;
}

/* ===== 10 弹窗主体：左大图，右标题+缩略图 ===== */
.moidy-gallery-dialog {
  position: fixed;
  inset: 24px 48px;
  background: #fff;
  border-radius: 6px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-rows: 56px minmax(0, 1fr);
  gap: 0 32px;
  padding: 0 28px 24px;
}

/* ===== 弹窗右上角关闭 X：亚马逊样式，小一点，贴弹窗右上角 ===== */
.moidy-gallery-close {
  position: absolute !important;
  right: 10px !important;        /* 离弹窗右边距离，想再往左就改 14px */
  top: 8px !important;           /* 离弹窗顶部距离，想再往下就改 12px */
  width: 20px !important;
  height: 20px !important;
  border: 0 !important;
  background: transparent !important;
  color: #111 !important;
  font-size: 20px !important;
  line-height: 24px !important;
  font-weight: 400 !important;
  cursor: pointer !important;
  z-index: 1000001 !important;
  padding: 0 !important;
  text-align: center !important;
}

/* ===== 12 弹窗顶部 IMAGES ===== */
.moidy-gallery-tabs {
  grid-column: 1 / -1;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: end;
}

.moidy-gallery-tabs button {
  height: 46px;
  border: 0;
  border-bottom: 2px solid #007185;
  background: transparent;
  color: #007185;
  font-size: 15px;
  cursor: pointer;
}

/* ===== 13 弹窗左侧大图 ===== */
.moidy-gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.moidy-gallery-main img {
  max-width: 100%;
  max-height: calc(100vh - 145px);
  object-fit: contain;
}

/* ===== 14 弹窗右侧标题和缩略图 ===== */
.moidy-gallery-side {
  padding-top: 32px;
}

.moidy-gallery-side h3 {
  font-size: 18px;
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 18px;
  color: #111;
}

.moidy-gallery-modal-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 54px);
  gap: 12px;
}

.moidy-gallery-modal-thumbs button {
  width: 54px;
  height: 54px;
  padding: 2px;
  border: 1px solid #d5d9d9 !important;
  background: #fff !important;
  cursor: pointer;
}

.moidy-gallery-modal-thumbs button.is-active {
  border-color: #007185 !important;
  box-shadow: 0 0 0 2px #c8f3fa !important;
}

.moidy-gallery-modal-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #fff !important;
}

/* ===== 弹窗顶部：整体像亚马逊，白底 + 灰色分割线 ===== */
.moidy-gallery-tabs {
  grid-column: 1 / -1 !important;
  height: 56px !important;
  display: flex !important;
  align-items: flex-end !important;
  gap: 28px !important;
  border-bottom: 1px solid #ddd !important;
  background: #fff !important;
  padding-left: 22px !important;
}

/* ===== 左上角 IMAGES：不要黑色背景，改成亚马逊 tab 样式 ===== */
.moidy-gallery-tabs button,
.moidy-gallery-tabs span {
  height: 46px !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-bottom: 2px solid #007185 !important;
  background: transparent !important;
  color: #007185 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 46px !important;
  cursor: pointer !important;
}

/* ===== 右上角关闭 X：改成亚马逊右上角位置和样式 ===== */
/* =========================================================
   弹窗 X 关闭按钮：固定在弹窗右上角，不跟浏览器乱跑
   只改这里的 top / right 就行
========================================================= */

/* 弹窗本体必须是定位父级 */
.moidy-gallery-dialog {
  position: fixed !important;
}

/* 关闭按钮：相对于弹窗定位 */
#moidy-gallery-modal-fixed .moidy-gallery-close {
  position: absolute !important;

  right: 18px !important;  /* X 距离弹窗右边，数字越大越往左 */
  top: 14px !important;    /* X 距离弹窗顶部，数字越大越往下 */

  left: auto !important;
  bottom: auto !important;
  transform: none !important;

  width: 36px !important;
  height: 26px !important;

  border: 0 !important;
  background: transparent !important;
  color: #111 !important;

  font-size: 34px !important;    /* X 大小 */
  line-height: 36px !important;
  font-weight: 400 !important;

  padding: 0 !important;
  cursor: pointer !important;
  z-index: 1000002 !important;
  text-align: center !important;
}

/* 平板尺寸 */
@media (max-width: 1024px) {
  #moidy-gallery-modal-fixed .moidy-gallery-close {
    right: 14px !important;
    top: 12px !important;
    font-size: 32px !important;
  }
}

/* 手机尺寸 */
@media (max-width: 767px) {
  #moidy-gallery-modal-fixed .moidy-gallery-close {
    right: 10px !important;
    top: 8px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 30px !important;
    line-height: 32px !important;
  }
}

/* ===== 弹窗右侧标题区域：和亚马逊一样靠右上，不要太挤 ===== */
.moidy-gallery-side {
  padding-top: 68px !important;
  padding-right: 18px !important;
}

.moidy-gallery-side h3 {
  font-size: 18px !important;
  line-height: 1.18 !important;
  font-weight: 400 !important;
  margin: 0 0 16px !important;
  color: #111 !important;
}

/* ===== 弹窗右侧缩略图网格：4列，白底，完整显示图片 ===== */
.moidy-gallery-modal-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, 54px) !important;
  gap: 12px !important;
  align-items: start !important;
}

/* ===== 单个缩略图方框 ===== */
.moidy-gallery-modal-thumbs button {
  width: 54px !important;
  height: 54px !important;
  padding: 2px !important;
  border: 1px solid #d5d9d9 !important;
  background: #fff !important;
  cursor: pointer !important;
  overflow: hidden !important;
}

/* ===== 当前选中的缩略图 ===== */
.moidy-gallery-modal-thumbs button.is-active {
  border-color: #007185 !important;
  box-shadow: 0 0 0 2px #c8f3fa !important;
}

/* ===== 缩略图图片：完整显示，不裁切，不变黑 ===== */
.moidy-gallery-modal-thumbs img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  background: #fff !important;
  opacity: 1 !important;
  filter: none !important;
}




/* =========================================================
   点击缩略图后的大图弹窗尺寸控制
========================================================= */
.moidy-gallery-dialog {
  inset: auto !important;                 /* 关闭原来的 inset: 24px 48px */
  width: min(94vw, 1810px) !important;    /* 弹窗宽度：1500px 可改，越大越宽 */
  height: min(90vh, 1250px) !important;    /* 弹窗高度：860px 可改，越大越高 */
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;

  grid-template-columns: minmax(0, 1fr) 320px !important;
  /* 右侧标题+缩略图栏宽度：320px 可改，想右栏宽一点改 360px */

  grid-template-rows: 56px minmax(0, 1fr) !important;
  padding: 0 28px 24px !important;
}

/* 弹窗左侧大图区域 */
.moidy-gallery-main {
  min-height: 0 !important;
  overflow: hidden !important;
}

/* 弹窗大图图片最大高度 */
.moidy-gallery-main img {
  max-width: 100% !important;
  max-height: calc(min(90vh, 860px) - 110px) !important;
  /* 这里的 860px 要和上面弹窗 height 的 860px 保持一致 */
  object-fit: contain !important;
}

/* 弹窗右上角关闭按钮位置 */
.moidy-gallery-close {
  right: calc((100vw - min(94vw, 1500px)) / 2 + 14px) !important;
  top: calc((100vh - min(90vh, 860px)) / 2 + 10px) !important;
}

/* 删除左侧产品图区域外框/底部空白框线 */
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery,
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .elementor-widget-container,
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .woocommerce-product-gallery,
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .flex-viewport,
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .woocommerce-product-gallery__wrapper,
.elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-gallery .woocommerce-product-gallery__image {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}



/* ===== 15 中屏适配 ===== */
@media (max-width: 1200px) {
  .elementor-501 .elementor-element.elementor-element-2c5590a {
    --moidy-gallery-width: 480px;
    --moidy-buybox-width: 280px;
    --moidy-column-gap: 22px;
    --moidy-main-image-height: 460px;
  }
}

/* ===== 16 手机适配 ===== */
@media (max-width: 767px) {
  .elementor-501 .elementor-element.elementor-element-2c5590a {
    display: block !important;
    max-width: 100% !important;
  }

  .elementor-501 .elementor-element.elementor-element-2c5590a .moidy-product-buybox-col {
    width: 100% !important;
    max-width: 100% !important;
  }

  .moidy-gallery-dialog {
    inset: 12px;
    grid-template-columns: 1fr;
    grid-template-rows: 50px minmax(0, 1fr) auto;
    padding: 0 14px 18px;
  }

  .moidy-gallery-modal-thumbs {
    grid-template-columns: repeat(5, 48px);
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-c68fc20 *//* =========================================================
   Moidy 产品详情区 - 响应式整理版
   结构：
   moidy-product-detail-section
   └── moidy-product-detail-inner
       ├── moidy-detail-content  -> Product Content 小组件，显示后台详情大图
       └── moidy-detail-specs    -> Product Data Tabs 小组件，只显示后台属性参数表
========================================================= */

/* =========================================================
   00 可调参数
   后期只改这里，别到处改
========================================================= */
.moidy-product-detail-section {
  --moidy-detail-max-width: 1480px;       /* 整个详情区最大宽度，想更宽就改这里 */
  --moidy-detail-image-width: 1280px;     /* 详情大图最大宽度 */
  --moidy-detail-spec-width: 1280px;      /* 参数表最大宽度 */
  --moidy-detail-top-gap: 36px;           /* 详情区距离上方 About 的距离 */
  --moidy-detail-line-gap: 24px;          /* 顶部分割线和详情图之间距离 */
  --moidy-detail-spec-gap: 24px;          /* 图片和参数表之间距离 */
  --moidy-detail-side-padding: 16px;      /* 桌面端左右内边距 */
}

/* =========================================================
   01 详情区整体
========================================================= */
.moidy-product-detail-section {
  width: 100% !important;
  max-width: none !important;
  margin: var(--moidy-detail-top-gap) auto 0 !important;
  padding: 0 !important;
  background: #fff !important;
  position: relative !important;
  overflow-x: clip !important;            /* 防止 100vw 横线造成横向偏移 */
}

/* 详情区顶部全屏分割线 */
.moidy-product-detail-section::before {
  content: "" !important;
  display: block !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 1px !important;
  background: #d5d9d9 !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 0 var(--moidy-detail-line-gap) !important;
}

/* 详情区内容容器 */
.moidy-product-detail-inner {
  width: 100% !important;
  max-width: var(--moidy-detail-max-width) !important;
  margin: 0 auto !important;
  padding: 0 var(--moidy-detail-side-padding) !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* =========================================================
   02 Product Content 详情大图区域
========================================================= */
.moidy-detail-content {
  width: 100% !important;
  max-width: var(--moidy-detail-image-width) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
  clear: both !important;
}

/* 清掉后台图片可能带来的浮动，避免手机端参数表往上跑 */
.moidy-detail-content::after {
  content: "" !important;
  display: block !important;
  clear: both !important;
}

/* 后台详情图：强制上下排列、宽度跟随容器 */
.moidy-detail-content img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
}

/* 清掉 WordPress / Elementor 图片外层默认间距和宽度限制 */
.moidy-detail-content p,
.moidy-detail-content figure,
.moidy-detail-content .aligncenter,
.moidy-detail-content .alignleft,
.moidy-detail-content .alignright,
.moidy-detail-content .wp-caption,
.moidy-detail-content .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
}

/* =========================================================
   03 Product Data Tabs 参数表区域
========================================================= */
.moidy-detail-specs {
  width: 100% !important;
  max-width: var(--moidy-detail-spec-width) !important;
  margin: var(--moidy-detail-spec-gap) auto 0 !important;
  padding: 0 0 44px !important;
  box-sizing: border-box !important;
  display: block !important;
  clear: both !important;                 /* 关键：防止手机端跑到图片上 */
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* 隐藏 Product Data Tabs 顶部标签按钮 */
.moidy-detail-specs .wc-tabs,
.moidy-detail-specs ul.tabs,
.moidy-detail-specs ul.tabs::before,
.moidy-detail-specs ul.tabs::after {
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* 隐藏 WooCommerce 默认标题 */
.moidy-detail-specs h2 {
  display: none !important;
}

/* 隐藏描述和评论，只让这个小组件显示属性参数 */
.moidy-detail-specs #tab-description,
.moidy-detail-specs #tab-reviews,
.moidy-detail-specs .woocommerce-Tabs-panel--description,
.moidy-detail-specs .woocommerce-Tabs-panel--reviews {
  display: none !important;
}

/* 显示后台属性信息 */
.moidy-detail-specs #tab-additional_information,
.moidy-detail-specs .woocommerce-Tabs-panel--additional_information {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* 禁用外层标题，避免出现两个 What You'll Love */
.moidy-detail-specs::before,
.moidy-detail-specs .elementor-widget-container::before {
  content: none !important;
  display: none !important;
}

/* 真正的参数表标题：只保留这一个 */
.moidy-detail-specs #tab-additional_information::before,
.moidy-detail-specs .woocommerce-Tabs-panel--additional_information::before {
  content: "What You'll Love" !important;
  display: block !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #111 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  letter-spacing: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* =========================================================
   04 参数表样式
========================================================= */
.moidy-detail-specs table.shop_attributes {
  width: 100% !important;
  margin: 0 auto !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #fff !important;
  font-size: 13px !important;
}

/* 桌面端：参数表两列 */
.moidy-detail-specs table.shop_attributes tbody {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 22px !important;
  width: 100% !important;
}

.moidy-detail-specs table.shop_attributes tr {
  display: grid !important;
  grid-template-columns: 42% 58% !important;
  min-height: 34px !important;
  border: 1px solid #e5e7eb !important;
  border-bottom: 0 !important;
  background: #fff !important;
}

/* 两列时最后两行补底线 */
.moidy-detail-specs table.shop_attributes tr:nth-last-child(1),
.moidy-detail-specs table.shop_attributes tr:nth-last-child(2) {
  border-bottom: 1px solid #e5e7eb !important;
}

.moidy-detail-specs table.shop_attributes th,
.moidy-detail-specs table.shop_attributes td {
  display: block !important;
  padding: 8px 12px !important;
  border: 0 !important;
  background: #fff !important;
  color: #111 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}

.moidy-detail-specs table.shop_attributes th {
  font-weight: 700 !important;
  border-right: 1px solid #e5e7eb !important;
}

.moidy-detail-specs table.shop_attributes td {
  font-weight: 400 !important;
}

.moidy-detail-specs table.shop_attributes td p {
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================================================
   05 平板端：768px - 1024px
========================================================= */
@media (min-width: 768px) and (max-width: 1024px) {
  .moidy-product-detail-section {
    --moidy-detail-top-gap: 32px;          /* 平板详情区上方距离 */
    --moidy-detail-line-gap: 20px;         /* 平板分割线和图片距离 */
    --moidy-detail-spec-gap: 22px;         /* 平板图片和参数表距离 */
    --moidy-detail-side-padding: 14px;     /* 平板左右边距 */
  }

  .moidy-product-detail-inner,
  .moidy-detail-content,
  .moidy-detail-specs {
    max-width: 100% !important;
  }

  .moidy-detail-specs table.shop_attributes tbody {
    gap: 0 14px !important;
  }
}

/* =========================================================
   06 手机端：767px 以下
========================================================= */
@media (max-width: 767px) {
  .moidy-product-detail-section {
    --moidy-detail-top-gap: 28px;          /* 手机详情区上方距离 */
    --moidy-detail-line-gap: 18px;         /* 手机分割线和图片距离 */
    --moidy-detail-spec-gap: 18px;         /* 手机图片和参数表距离，标题偏移就改这里 */
    --moidy-detail-side-padding: 10px;     /* 手机左右边距 */
    overflow-x: hidden !important;
  }

  .moidy-product-detail-inner,
  .moidy-detail-content,
  .moidy-detail-specs {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 手机端图片保持满宽上下排列 */
  .moidy-detail-content img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* 手机端参数区必须清浮动并正常在图片下面 */
  .moidy-detail-specs {
    clear: both !important;
    margin-top: var(--moidy-detail-spec-gap) !important;
    padding-bottom: 34px !important;
    transform: none !important;
  }

  .moidy-detail-specs #tab-additional_information::before,
  .moidy-detail-specs .woocommerce-Tabs-panel--additional_information::before {
    margin: 0 0 10px !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  /* 手机端参数表改成一列 */
  .moidy-detail-specs table.shop_attributes tbody {
    display: block !important;
    width: 100% !important;
  }

  .moidy-detail-specs table.shop_attributes tr {
    display: grid !important;
    grid-template-columns: 42% 58% !important;
    width: 100% !important;
    border-bottom: 0 !important;
  }

  .moidy-detail-specs table.shop_attributes tr:last-child {
    border-bottom: 1px solid #e5e7eb !important;
  }

  .moidy-detail-specs table.shop_attributes th,
  .moidy-detail-specs table.shop_attributes td {
    padding: 8px 10px !important;
    font-size: 12px !important;
    word-break: break-word !important;
  }
}

/* =========================================================
   07 参数表下方留白微调区
   用途：控制 What You'll Love 参数表下面，到详情大图之间的空白。
   调法：
   1. 想让图片更靠近参数表：把 --moidy-spec-image-gap 改小，比如 8px。
   2. 想保留更多呼吸感：把 --moidy-spec-image-gap 改大，比如 24px。
   3. 如果空白主要来自参数区自身底部：调 --moidy-spec-bottom-padding。
========================================================= */
.moidy-product-detail-section {
  --moidy-spec-bottom-padding: 0px;        /* 参数表区域底部内边距，原来偏大时会撑出空白 */
  --moidy-spec-image-gap: 14px;            /* 参数表到下面详情大图的距离，主要微调这里 */
}

/* 压缩参数表区域底部空白 */
.moidy-detail-specs {
  padding-bottom: var(--moidy-spec-bottom-padding) !important;
  margin-bottom: var(--moidy-spec-image-gap) !important;
}

/* 如果详情大图紧跟在参数表后面，清掉图片区域额外上边距 */
.moidy-detail-specs + .moidy-detail-content {
  margin-top: 0 !important;
}

.moidy-detail-specs + .moidy-detail-content .elementor-widget-container,
.moidy-detail-specs + .moidy-detail-content p,
.moidy-detail-specs + .moidy-detail-content figure {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  .moidy-product-detail-section {
    --moidy-spec-bottom-padding: 6px;      /* 手机端参数表底部留白 */
    --moidy-spec-image-gap: 12px;          /* 手机端参数表到详情图的距离 */
  }
}/* End custom CSS */