.prd-lst-unit {
  margin-bottom: 10px;  /* ← 余白を明示的に追加 */
}
.prd-lst {
  margin-left: -10px;   /* グリッド間隔を狭めるための調整 */
  margin-right: -10px;
}
.slider {
  display: none !important;
}

/* スマホ用：画像に商品名・価格を重ねる */
@media screen and (max-width: 767px) {
  .recommend-items .img-wrapper {
    position: relative;
    overflow: hidden;
  }

  .recommend-items .overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.85);
    padding: 6px 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #444;
  }

  .recommend-items .overlay-name {
    font-weight: 500;
    display: block;
  }

  .recommend-items .overlay-price {
    font-size: 12px;
    color: #888;
  }

  /* 商品名・価格の従来表示を非表示にする */
  .recommend-items .prd-lst-cap {
    display: none;
  }
}

/* PC：画像上の表示を非表示に */
@media screen and (min-width: 768px) {
  .recommend-items .overlay-info {
    display: none !important;
  }
}

/* スマホ表示用：画像上に半透明黒背景＋白文字 */
@media screen and (max-width: 767px) {
  .recommend-items .prd-lst-unit {
    position: relative;
  }

  .recommend-items .overlay-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.015); /* 半透明黒 */
    color: #fff; /* 白文字 */
    font-size: 13px;
    text-align: center;
    padding: 8px 4px;
    z-index: 2;
  }

  .recommend-items .overlay-info span {
    display: block;
    line-height: 1.4;
  }
}
