@charset "UTF-8";
/* =========================================================
   大會租借服務 eventRental.asp 專用
   - 不修改既有 #tabsNav / .tab_content 樣式與切換邏輯
   - Tab 1~3：桌機 3 欄、手機 1 欄
   - Tab 4：單一防咬口罩置中顯示
   ========================================================= */
span.vip {
  position: absolute;
  left: 0;
  top: 0;
  width: 90px;
  height: 90px;
  background-image: url(../images/vip.png);
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
}
span.enlarge {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  bottom: 0;
  text-align: center;
  color: #fff;
}
/* ---------- Tab 1~3：推車卡片 ---------- */
#right .rentalProductGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 蓋掉 exhibitorSys.css 原本 .product li 的左圖右文設定 */
#right .rentalProductGrid > li,
#right .rentalProductGrid > li:first-child {
  float: none;
  display: block;
  width: auto;
  margin: 0;
  padding: 0 0 18px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

#right .rentalProductGrid > li .left {
  float: none;
  width: 100%;
  margin: 0;
  position: relative;
}

/* 圖片統一高度，三張排起來會整齊 */
#right .rentalProductGrid > li .squareThumb {
  width: 100%;
  height: 230px !important;
  padding-bottom: 0 !important;
  border: 0;
  background: #fff;
  box-sizing: border-box;
}

#right .rentalProductGrid > li .right {
  float: none;
  width: auto;
  margin: 0;
  padding: 14px 16px 0;
  box-sizing: border-box;
}

#right .rentalProductGrid > li .right h4 {
  margin: 0 0 8px;
  color: #0069b7;
  font-size: 18px;
  line-height: 1.45;
  font-weight: normal;
}

/* 原本用來拉空間的空白 divider 在卡片內不需要 */
#right .rentalProductGrid > li .right > p.divider {
  display: none;
}

#right .rentalProductGrid > li .right p {
  margin: 2px 0;
  line-height: 1.65;
}

/* 圖片下方「點擊看大圖」沿用原本樣式，只補高度與位置 */
#right .rentalProductGrid > li .enlarge {
  line-height: 26px;
}

/* ---------- Tab 4：只有一個防咬口罩 ---------- */
#right .rentalProductSingle {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#right .rentalProductSingle > li,
#right .rentalProductSingle > li:first-child {
  float: none;
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 0;
  border: 0;
}

#right .rentalProductSingle > li .left {
  float: none;
  width: 100%;
  margin: 0;
  position: relative;
}

#right .rentalProductSingle > li .squareThumb {
  width: 100%;
  height: 320px !important;
  padding-bottom: 0 !important;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
}

#right .rentalProductSingle > li .enlarge {
  line-height: 28px;
  border-radius: 0 0 8px 8px;
}

/* ---------- 手機 ---------- */
@media screen and (max-width: 800px) {
  #right .rentalProductGrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #right .rentalProductGrid > li .squareThumb {
    height: 260px !important;
  }

  #right .rentalProductGrid > li .right {
    padding: 12px 14px 14px;
  }

  #right .rentalProductGrid > li .right h4 {
    font-size: 17px;
  }

  #right .rentalProductSingle > li {
    max-width: 320px;
  }

  #right .rentalProductSingle > li .squareThumb {
    height: 280px !important;
  }
}
