/* Featured module in narrow columns: horizontal compact cards */
#column-right .xsrupb-industrial-module,
#column-left .xsrupb-industrial-module {
  margin-bottom: 20px;
}

#column-right .xsrupb-industrial-module .widget-title,
#column-left .xsrupb-industrial-module .widget-title {
  font-family: "Montserrat", Inter, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 14px;
  padding-bottom: 0;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 30px;
  text-align: center;
}

#column-right .xsrupb-industrial-module .widget-title span,
#column-left .xsrupb-industrial-module .widget-title span {
  border: none;
  padding: 0 4px;
  line-height: 1.2;
  background: #fff;
}

#column-right .xsrupb-industrial-module .widget-title::before,
#column-right .xsrupb-industrial-module .widget-title::after,
#column-left .xsrupb-industrial-module .widget-title::before,
#column-left .xsrupb-industrial-module .widget-title::after {
  content: "";
  display: block;
  flex: 1 1 auto;
  min-width: 14px;
  height: 1px;
  background: linear-gradient(to right, rgba(26, 26, 26, 0), rgba(26, 26, 26, 0.2));
}

#column-right .xsrupb-industrial-module .widget-title::before,
#column-left .xsrupb-industrial-module .widget-title::before {
  background: linear-gradient(to left, rgba(26, 26, 26, 0), rgba(26, 26, 26, 0.2));
}

#column-right .xsrupb-industrial-module .row,
#column-left .xsrupb-industrial-module .row {
  margin-left: 0;
  margin-right: 0;
}

#column-right .xsrupb-industrial-module .product-wrapper,
#column-left .xsrupb-industrial-module .product-wrapper {
  margin-left: 0;
  margin-right: 0;
}

#column-right .xsrupb-industrial-module .product-layout,
#column-left .xsrupb-industrial-module .product-layout {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  float: none !important;
  flex: 0 0 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 10px;
}

#column-right .xsrupb-industrial-module .product-layout:last-child,
#column-left .xsrupb-industrial-module .product-layout:last-child {
  margin-bottom: 0;
}

#column-right .xsrupb-industrial-module .product-industrial-card,
#column-left .xsrupb-industrial-module .product-industrial-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  padding: 12px 12px;
  margin: 0;
  min-width: 0;
  cursor: pointer;
  box-shadow: 3px 3px 10px rgba(15, 23, 42, 0.06),
    -2px -2px 8px rgba(255, 255, 255, 0.92);
}

#column-right .xsrupb-industrial-module .product-industrial-card:hover,
#column-left .xsrupb-industrial-module .product-industrial-card:hover {
  transform: translateY(-2px);
}

#column-right .xsrupb-industrial-module .product-industrial-card__media-link,
#column-left .xsrupb-industrial-module .product-industrial-card__media-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#column-right .xsrupb-industrial-module .product-industrial-card__image-wrap,
#column-left .xsrupb-industrial-module .product-industrial-card__image-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  min-width: 72px;
  margin: 0 12px 0 0;
  flex-shrink: 0;
}

/* 窄栏不再使用 ::after 蒙层（与主图区 overlay 二选一，避免叠层混乱） */
#column-right .xsrupb-industrial-module .product-industrial-card__image-wrap::after,
#column-left .xsrupb-industrial-module .product-industrial-card__image-wrap::after {
  display: none !important;
  content: none !important;
}

/* 侧栏缩略图小：隐藏「加入购物车」蒙层，避免与操作图标抢空间 */
#column-right .xsrupb-industrial-module .product-industrial-card__image-overlay,
#column-left .xsrupb-industrial-module .product-industrial-card__image-overlay {
  display: none !important;
}

/*
 * 操作图标必须固定在「缩略图」区域内，不能相对整张卡片 absolute（否则会盖住标题/价格）。
 * 主样式里 .product-industrial-card__actions 使用 right: -52px → 12px，必须用更高优先级覆盖。
 */
#column-right .xsrupb-industrial-module .product-industrial-card__actions,
#column-left .xsrupb-industrial-module .product-industrial-card__actions {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  transform: none !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.83, 0, 0.17, 1);
  z-index: 6;
}

#column-right .xsrupb-industrial-module .product-industrial-card:hover .product-industrial-card__actions,
#column-right .xsrupb-industrial-module .product-industrial-card:focus-within .product-industrial-card__actions,
#column-left .xsrupb-industrial-module .product-industrial-card:hover .product-industrial-card__actions,
#column-left .xsrupb-industrial-module .product-industrial-card:focus-within .product-industrial-card__actions {
  opacity: 1 !important;
  pointer-events: auto !important;
  right: auto !important;
  transform: none !important;
}

/* 侧栏不显示悬浮长标签（避免挤出窄栏） */
#column-right .xsrupb-industrial-module .product-industrial-card__tooltip,
#column-left .xsrupb-industrial-module .product-industrial-card__tooltip {
  display: none !important;
}

#column-right .xsrupb-industrial-module .product-industrial-card__action-btn,
#column-left .xsrupb-industrial-module .product-industrial-card__action-btn {
  width: 26px;
  height: 26px;
  font-size: 11px;
}

#column-right .xsrupb-industrial-module .product-industrial-card__img,
#column-left .xsrupb-industrial-module .product-industrial-card__img {
  max-width: 92%;
  max-height: calc(100% - 6px);
  object-position: center;
}

#column-right .xsrupb-industrial-module .product-industrial-card__body,
#column-left .xsrupb-industrial-module .product-industrial-card__body {
  flex: 1;
  min-width: 0;
  align-items: flex-start;
  text-align: left;
}

#column-right .xsrupb-industrial-module .product-industrial-card__rating,
#column-left .xsrupb-industrial-module .product-industrial-card__rating {
  display: none;
}

#column-right .xsrupb-industrial-module .product-industrial-card__title,
#column-left .xsrupb-industrial-module .product-industrial-card__title {
  margin: 0 0 6px;
  padding: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-align: left;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
}

/* flex 子项内单行省略：父级与链接都要 min-width:0，否则省略号不出现 */
#column-right .xsrupb-industrial-module .product-industrial-card__title-text,
#column-left .xsrupb-industrial-module .product-industrial-card__title-text {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  color: inherit;
  text-decoration: none;
}

#column-right .xsrupb-industrial-module .product-industrial-card__price,
#column-left .xsrupb-industrial-module .product-industrial-card__price {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  text-align: left;
  line-height: 1.2;
}

#column-right .xsrupb-industrial-module .product-industrial-card__price-old,
#column-left .xsrupb-industrial-module .product-industrial-card__price-old {
  font-size: 11px;
  margin-top: 4px;
}

#column-right .xsrupb-industrial-module .product-industrial-card__tax,
#column-left .xsrupb-industrial-module .product-industrial-card__tax {
  font-size: 10px;
  margin-top: 4px;
}

#column-right .xsrupb-industrial-module .product-industrial-card__btn,
#column-left .xsrupb-industrial-module .product-industrial-card__btn {
  display: none;
}
