/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.3
 Text Domain:  woodmart
*/
#slider-108.wd-section-container > .wd-carousel-inner > .wd-carousel {
  border-radius: 0;
  overflow: visible;
}
.home .wd-content-layout {
  padding-block: 0; 
}
.wd-loop-prod-thumb :is(.wd-product-img-link, .wd-product-img-hover) :is(picture, img) {
  width: 96%;
  margin: 0 2%;
}

.new-box {
  overflow: hidden; 
  
  transition: all 0.3s ease;
}


.elementor-widget-theme-post-featured-image {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden; /* 双重保险，确保内部也不撑开 */
}

.new-box img {
  display: block;
  width: 100%;
  height: 100%; /* 让图片填满刚才设定的固定高度容器 */
  object-fit: cover; /* 保证图片不变形，像背景图一样覆盖区域 */
  transform-origin: center; /* 从中心点放大 */
  transition: transform 0.5s ease; /* 放大的动画效果 */
}

/* 4. 鼠标悬停时，只放大图片 */
.new-box:hover img {
  transform: scale(1.1); /* 放大 1.1 倍 */
}

/* 仅商店/分类列表上的规格图 */
.wd-swatches-grid .wd-swatch.wd-bg {
  --wd-swatch-size: 30px !important;
}
.qlwapp__button.qlwapp__button--button {
  margin-right: 80px !important;
}
/* 移动端适配 WhatsApp 浮动按钮 */
@media (max-width: 768px) {
  .qlwapp__button.qlwapp__button--button {
    margin-bottom: 120px !important; /* 距离底部120px，避免被底部菜单栏遮挡 */
    padding: 8px !important;         /* 缩小内边距，让按钮更紧凑 */
    margin-right: 13px !important;   /* 距离右侧13px */
  }

  .qlwapp__text {
    display: none !important;        /* 隐藏按钮旁边的文字提示，只保留图标 */
  }
}
