/* catalogList_template.css */

/* ===========================================
   1. テキスト（商品名・価格・ブランド名）
   =========================================== */

:where(.catalogList)>li{
  /* 上書き前提のデフォルト */
  width:130px;
}

.catalogList .product-text {
  padding-top: 10px;
}
.product-text .brandName {
  display: block;
  font-size: calc(var(--font-s) - 1px);
  font-weight:600;
  line-height: 1.1;
  color: var(--text);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  position: relative;
  margin-bottom:.5em;
}
.site_fashionwalker .product-text .brandName{
  font-weight:400;
}

/* quickview.cssの影響を打ち消す */
html .catalogList .brandNameLine{
  margin-bottom:0;
}

.product-text .brandName:has(.trgMute:hover) {
  background: var(--color-base-grey-light-high);
  border-radius: 4px;
}

.product-text .commodityName {
  display: inline-block;
  width: 100%;
  font-size: calc(var(--font-xs));
  line-height: 1.1;
  color: var(--text-lighter);
  overflow: hidden;
  overflow-x: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: .65em;
}
.product-text .priceLine {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.product-text .priceLine > p {
  width: 100%;
}
@media (max-width: 769px) {
.site_reebok .product-text .priceLine > p {
  width: initial;
}
}
.product-text .regular_price,
.product-text .special_price {
  font-size: var(--font-s);
  font-weight:600;
  line-height: 1;
  letter-spacing: .04em;
  margin-bottom: .5em;
}
.site_fashionwalker :is(.product-text .regular_price, .product-text .special_price) {
  font-weight:400;
}
.site_docomo .product-text :is(.regular_price, .special_price){
  font-size: calc(var(--font-size-s) + 2px);
}
.product-text .special_price .-proper {
  display: none;
  font-size: .9em;
  color: #999;
  text-decoration-line: line-through;
}
.product-text .priceLine .icon-favItemAdd {
  position: absolute;
  right: 0;
}
.product-text .regular_price {
  color: var(--text);
}
.product-text .special_price {
  color: #FF0030;
}
.product-text .suffixTax {
  display: inline-block;
  margin-left: 2px;
  font-size: 10px;
  transform-origin: center left;
}
.catalogList_item>a:hover .product-text {
  opacity: .6;
}
.catalogList .regular_price .suffixTax {
  color: #999;
}
.catalogList .special_price .suffixTax {
  color: rgba(199, 0, 11, .8);
}
/* 付与ポイント */
.acquisition_point{
  font-size: 11px;
  font-weight: 500;
  color: #cc0033;
}


/* デスクトップビューポート (769px以上) */
@media (min-width: 769px) {
.catalogList .product-text {
  padding-right: 8px;
  padding-left:.2em !important;
}

  .product-text .brandNameLine {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

/* CRE_DEV-569: PC 4列サイトでプロパー価格打ち消し表示時、.priceLine の右側に
   trgQuickView (30×30 absolute, right:0) 分の余白を確保し、価格テキストとアイコンの
   重なりを解消する。4列以外（3列デフォルト / 5列 brandeli・fashionwalker・magaseek）は対象外 */
:is(
  .site_fascinate,
  .site_waja,
  .site_grande,
  .site_raboki,
  .site_mej,
  .site_harleydavidson,
  .site_orobianco,
  .site_royal
) .product-text .priceLine:has(.special_price .-proper) {
  padding-right: 32px;
}
  
}

/* モバイルビューポート (769px以下) */
@media (max-width: 769px) {
  .product-text {
    width: 100%;
    padding: 8px 8px 0 .2em;
    font-feature-settings: "palt" 1;
    letter-spacing:.07em;
  }
  .search-result .product-text {
    padding-left:8px;
  }
  .product-text .brandNameLine {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .product-text .brandName {
    letter-spacing: .04em;
  }
  body:not(:has(#searchBrandName)) .product-text .brandName {
    width: calc(100% - 0px);
  }

  /* 価格行 */
  .product-text .priceLine {
    justify-content: flex-start;
  }
  .search-result .product-text .priceLine{
    font-size: var(--font-s);
  }
  .site_docomo .search-result .priceLine :is(.regular_price, .special_price){
    margin-bottom: .6em;
  }
  .regular_price.special_price{
    color: #c03;
  }

  .product-text .special_price,
  .product-text .regular_price {
    letter-spacing: .02em;
    font-feature-settings: "palt";
  }
  .catalogList_item>a:hover .product-text {
    opacity: 1;
  }
}


/* ===========================================
   2. 画像トリミング
   - コンテナ比率: _vars.css の --ratio で制御
   - トリミング可否: --img-fit で制御（デフォルト cover）
   =========================================== */

/* リスト単位でトリミング制御（カテゴリ配列による判定） */
/* オプトイン: square_itemList を活かすサイトのみ列挙 */
:is(
  .site_brandeli,
  .site_fashionwalker,
  .site_waja,
  .site_magaseek
) .square_itemList {
  --ratio: 1 / 1;
  --img-fit: contain;
}

/* アイテム単位でトリミング制御（SKUコードに基づく） */
/* コンテナの比率は変えず、表示方法だけ変える */
:is(
  .site_brandeli,
  .site_fashionwalker,
  .site_fineoutlet,
  .site_waja,
  .site_lapine,
  .site_orobianco,
  .site_magaseek
) .-square {
  --img-fit: contain;
}

/* コンテナ */
.catalogList .product-image {
  box-sizing: border-box;
  background-color: #fefefe;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: var(--ratio, 1/1) !important;
}

/* オーバーレイ */
.catalogList .product-image::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: var(--ratio, 1/1) !important;
  background-color: rgba(0, 0, 0, .02);
  position: absolute;
  top: 0;
  left: 0;
}
/* カート投入モーダル内は catalogList 流用のため画像オーバーレイを抑止 */
#modal_cartInBtn .catalogList .product-image::before {
  content: none;
}
.catalogList .product-image.-square:hover::before {
  opacity: 0;
}

/* 画像 */
.catalogList .product-image > img {
  width: 100% !important;
  height: auto;
  max-width: initial !important;
  margin: 0 !important;
  aspect-ratio: var(--ratio, 1/1) !important;
  object-fit: var(--img-fit, cover) !important;
}
#catalog_list .catalogList .product-image > img,
#catalog_list.catalogList .product-image > img{
  width: 100% !important;
}

/* ===========================================
   3. レイアウト（ランキング・Swiper・アイコン）
   =========================================== */

/* ランキング順位 */
:where(
  #brand_ranking_list,
  #brand_category_ranking,
  #category_ranking_list
) .catalogList > li{
  position:relative;
}
:where(
  #brand_ranking_list,
  #brand_category_ranking,
  #category_ranking_list
) .badge {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  background: #666;
  color: #fff;
  width: 20px;
  height: 20px;
  font-size:12px;
}
.catalogList li:nth-of-type(1) .badge {
  background-color: #FC0;
  color: #222;
}
.catalogList li:nth-of-type(2) .badge {
  background: #87ACAC;
}
.catalogList li:nth-of-type(3) .badge {
  background: #94684D;
}
.catalogList .badge em{
  font-style:normal;
}

.site_docomo :is(
  #brand_ranking_list,
  #brand_category_ranking,
  #category_ranking_list
) .catalogList .badge{
  display: flex !important;
}

/* swiper-button */
#brand_category_ranking,
#recently_viewed_item,
#brand_ranking_list,
#category_ranking_list,
#history,
#cart_ranking,
#cartRemind,
#orderComplete_recommend,
#zeroResult_recommend_item,
.wrap_catalogList{
  position:relative;
}
.cms-catalog-list{
  position:relative;
}
.swiper ~ [class^="swiper-button-"]{
  background-color:red;
  z-index:10;
  border-radius: 50%;
  background: rgba(34, 34, 34, 0.7);
  width: 40px;
  height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;

  top:112px;
  transition:.2s;
}
:is(
  #brand_ranking_list,
  #category_ranking_list,
  #history,
  #cart_ranking,
  #cartRemind,
  #orderComplete_recommend) 
  [class^="swiper-button-"]
{
  top:124px
}
:is(.cms-catalog-list) [class^="swiper-button-"]{
  top:168px;
}

.swiper ~ .swiper-button-prev{
  left:0;
  transform:translateX(-50%);
}
.swiper ~ .swiper-button-next{
  right:0;
  transform:translateX(50%);
}
.swiper ~ [class^="swiper-button-"] svg{
  display: none;
}
.swiper ~ [class^="swiper-button-"]:after{
  content: "arrow_forward_ios";
  font-family: "Material Symbols Outlined";
  position: absolute;
  top: 50%;
  transform: translate(10%, -50%);
  font-size: 20px;
  color: #fff;
}
.swiper ~ .swiper-button-prev:after{
  transform: translate(-10%, -50%) rotate(180deg);
}
.swiper ~ .swiper-button-disabled{
  opacity:0 !important;
}

/* ランキングのミュート お気に入りアイコン */
.section-ranking .-login .catalog-myBrandBtnSet{
  display: inline-flex;/* ログイン */
  visibility:visible !important;
  gap:0 4px;
  right:3px !important;
}
.site_fashionwalker .section-ranking .catalog-myBrandBtnSet{
  transform:translateY(-75%);
}
.site_waja .section-ranking .catalog-myBrandBtnSet{
  transform:translateY(-20%);
}
/* デスクトップビューポート (769px以上) */
@media (min-width: 769px) {
  .section-ranking .-login .catalog-myBrandBtnSet{
    gap:0 0;
    right:3px !important;
  }
  .site_fashionwalker .section-ranking .catalog-myBrandBtnSet{
    transform:translateY(-90%);
  }
  .site_waja .section-ranking .catalog-myBrandBtnSet{
    transform:translateY(-30%);
  }
}

.section-ranking .catalog-myBrandBtnSet span {
  cursor: pointer;
}
.section-ranking .catalog-myBrandBtnSet span i{
  /* color: #aaa;
  width: 20px;
  height: 20px;
  font-size: 20px;
  background: transparent; */
}
.section-ranking .catalog-myBrandBtnSet span i:hover{
  opacity:.7;
}
.section-ranking .catalog-myBrandBtnSet{
  display: none;/* 未ログイン */
  position:absolute;
  right: 2px;
  bottom: 2px;
}
.section-ranking .btn_addMyBrand i:before,
.section-ranking .btn_addMuteBrand i:before{
  content:"";
  display: block;
  background-image: url(//media.aws.locondo.jp/contents/img/common/topPage/icon_ranking_btnMyBrand.png);
  width: 21px;
  height: 21px;
  background-size: 130%;
  background-position:center;
  cursor: pointer;
}
.section-ranking .btn_addMuteBrand i:before{
  background-image:url('https://media.aws.locondo.jp/contents/img/common/topPage/icon_ranking_btnMuteBrand.png');
}




/* マイブランド・ミュートブランドの表示 */
/* ※マイページのfavorite-listに従う */
/* ※マイブランド: トップあり・カタログなし */
/* ※ミュートブランド: トップ・カタログあり */

/* マイブランドありサイト - !isOneBrand */



/* ミュートブランドありサイト - magaseek, brandeli, royal, fashionwalker, waja, docomo */
/*-- (カタログ) ミュートブランドはデフォルト非表示--*/
#catalog_list .trgMute {
  visibility:hidden;
  background-size: contain;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  transition: all .3s ease;
}
#catalog_list .trgMute::before {
  content:"";
  display:block;
  width:16px;
  height:16px;
  background: url(//media.aws.locondo.jp/contents/img/common/icon_mutebrand_cross.svg) no-repeat;
  background-size: 12px;
  background-position: center;
}
/* デスクトップビューポート (769px以上) */
@media (min-width: 769px) {

:is(.site_magaseek,.site_brandeli,.site_royal, .site_fashionwalker,.site_waja, .site_docomo) 
  #catalog_list a:hover .trgMute {
  visibility:visible;
  opacity: .4;
}
body:not(:has(#searchBrandName)):is(.site_magaseek,.site_brandeli,.site_royal, .site_fashionwalker,.site_waja, .site_docomo) 
  a:hover .product-text .brandNameLine .brandName{
  width: calc(100% - 16px);
}
#catalog_list a:hover .trgMute::before {
  opacity: 1;
}
#catalog_list a .trgMute:hover {
  opacity: 1 !important;
  transform:scale(1.5);
}

}
/* モバイルビューポート (769px以下) */
@media (max-width: 769px) {
:is(.site_magaseek,.site_brandeli,.site_royal, .site_fashionwalker,.site_waja, .site_docomo) 
  #catalog_list .trgMute {
  visibility:visible;
  opacity: .4;
  transform:translateY(-10%);
}
  #catalog_list .trgMute::before{
    opacity: .4;
  }
  :is(
    .site_magaseek,
    .site_brandeli,
    .site_royal,
    .site_fashionwalker,
    .site_waja,
    .site_docomo):not(:has(#searchBrandName)) #catalog_list .product-text .brandName {
    width: calc(100% - 20px);
  }

}

/* ===========================================
   5. 直営系サイト用 カタログ美化（CRE_DEV-597 移植: [data-icon-layout="below-price"] スコープでラップ）
      content-catalog-koichi.css / smp-content-catalog-koichi.css から集約。
      catalogList が出力される全ページ（search / catalog / commodity / cart / mypage 等）で適用される。
   =========================================== */
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-text {
  margin-top: 0;
  padding-top: 10px;
}
/* refined: system font を当てる対象から reebok は除外（5/26 ユーザー指示）。
   reebok は base の NeuePlakText 系を維持。fashionwalker は base ヒラギノ系より
   refined の system font 指定が好ましいため含める（5/26 ユーザー指示） */
[data-icon-layout="below-price"]:not(.site_reebok) :is(.catalogList, .catalog_bottom_contents) .product-text {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo",
    sans-serif;
}
[data-icon-layout="below-price"] .product-text .brandNameLine {
  margin-bottom: 6px;
}
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-text .brandName {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0;
  margin-bottom: 4px;
}
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-text .commodityName {
  color: #333;
  margin-bottom: 6px;
  /* font-size: 10px; */
  letter-spacing: normal;
}
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-text .regular_price,
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-text .special_price,
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-text .member_price,
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-text .regular_price.special_price,
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-text .regular_price.member_price,
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-text .special_price.member_price {
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.5;
  margin-bottom: 0;
}
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-text .regular_price {
  color: #333;
}
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .regular_price .suffixTax,
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-text .suffixTax {
  color: #333;
}
/* Phase C (CRE_DEV-597、5/26 実施): refined モード .product-icon の scale チェーンと固定 height、
   および PC .catalog-campaignGroup の scale(15/16) translateY(-4px) (Phase B 残課題) を撤去。
   - .product-icon container: height: 17.5px 固定を削除し li/span のサイズに自動 fit
   - .product-icon > li/span: 直接 height/font-size を指定 (SP 14/9、PC 15/10)
   - SP の transform: none は維持 (base smp-content-catalog-koichi.css の .product-icon { scale(.9) } 打ち消し)
   プラン: ~/.claude/plans/glittery-coalescing-crescent.md */
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-icon,
[data-icon-layout="below-price"] .cart-favorite .product-icon {
  position: static;
  margin: 0 0 1.5px;
  /* CRE_DEV-569: 空(アイコン無)時も行高を予約してカード間の高さズレを防ぐ。Phase C で外した固定 height の代替。
     height だと複数アイコン折返し時にクリップするため min-height で。
     LD(contents) 基準に合わせ SP 14px / PC 16px（PC は @media min-769 で上書き）。>li も同値(SP14/PC16)。 */
  min-height: 14px;
}
/* CRE_DEV-569: 実DOMは product-icon → favsize の順（product-icon が favsize の先行兄弟）。
   旧 .favsize:has(~ .product-icon)（favsize の後続に product-icon）は順序不一致で不発火だったため、
   .product-icon ~ .favsize（product-icon の後の favsize）に修正。favsize に margin 4px 0 が乗り、
   product-icon〜カートボタン間の最小間隔を確保する。※カートボタンは margin-top:auto で下端固定のため、
   余白の主因はカード高の余り(flex free space)。最終的な間隔は QA 実機で要確認。 */
[data-icon-layout="below-price"] .cart-favorite .product-icon ~ .favsize {
  margin: 4px 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
}
/* PC: <ul.product-icon><li>...</li></ul>, SP: <div.product-icon><span>...</span></div> */
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-icon > li,
[data-icon-layout="below-price"] .cart-favorite .product-icon > li,
[data-icon-layout="below-price"] .cart-favorite .product-icon > span,
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-icon > span {
  background: rgba(155, 173, 185, .7);
}
/* Phase C: .product-icon > li/span の直接サイジング（SP デフォルト、PC は @media min-769 で override）。
   旧 SP @media 内の scale(.74) + transform-origin を撤去し、視覚高さ 15px/font 9px に直接揃える。
   PC は 15px/font 10px で .catalog-campaignGroup と同寸に。
   5/26: SP も h=15 に統一（旧 h=14 だと .catalog-campaignGroup h=15 と 1px 差で上ズレ。問題 #3） */
[data-icon-layout="below-price"] .catalogList .product-icon > li:not(.icon-manual),
[data-icon-layout="below-price"] .catalog_bottom_contents .product-icon > li[data-icon-code^="auto-"],
[data-icon-layout="below-price"] .cart-favorite .product-icon > li:not(.icon-manual),
[data-icon-layout="below-price"] .catalogList .product-icon > span:not(.icon-manual),
[data-icon-layout="below-price"] .catalog_bottom_contents .product-icon > span[data-icon-code^="auto-"],
[data-icon-layout="below-price"] .cart-favorite .product-icon > span:not(.icon-manual) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 .3em;
  min-width: 39px;
  width: auto;
  height: 14px;
  line-height: 14px;
  font-size: 8.4px;
  letter-spacing: .05em;
  text-align: center;
  white-space: nowrap;
  color: #fff;
  border: none;
  text-indent: 0;
  /* base PC 3 ファイル (_assets/css/pc/common-commodityItem.css:193 /
     content-catalog-search-result.css:224 / content-catalog.css:1188) の
     transform: scale(.9) を refined で打ち消し（5/26 追加、問題 #1）。
     SP は L655-657 の .product-icon container 側打ち消しと併せて二重で安全に。 */
  transform: none;
}
[data-icon-layout="below-price"] .catalogList .product-icon > li.icon-manual,
[data-icon-layout="below-price"] .cart-favorite .product-icon > li.icon-manual,
[data-icon-layout="below-price"] .catalogList .product-icon > span.icon-manual,
[data-icon-layout="below-price"] .cart-favorite .product-icon > span.icon-manual {
  transform: none;
  height: 16px;
  line-height: 16px;
  font-size: 9px;
  /* CRE_DEV-569: 手動アイコンにも border 打ち消しを適用（auto は L649 の :not(.icon-manual) ブロックで border:none 済）。
     検索結果一覧 SP の <span class="icon-manual"> に base CSS のボーダーが残る問題を全サイト共通で解消。 */
  border: none;
}
/* SP のみ icon-manual を 14px に上書き（PC は直上ブロックの 16px/9px を維持）。
   CRE_DEV-569 案B(2026-06-19): font-size 9px→8.4px。SP は auto(:not(.icon-manual))が 8.4px(L639) なのに
   手動だけ 9px で 0.6px ズレていたため、LD(contents)同値（SP 手動=auto=8.4px / PC=9px）に揃える。PC は base(L659) 9px 維持。 */
@media (max-width: 769px) {
  [data-icon-layout="below-price"] .catalogList .product-icon > li.icon-manual,
  [data-icon-layout="below-price"] .cart-favorite .product-icon > li.icon-manual,
  [data-icon-layout="below-price"] .catalogList .product-icon > span.icon-manual,
  [data-icon-layout="below-price"] .cart-favorite .product-icon > span.icon-manual {
    transform: none;
    height: 14px;
    line-height: 13px;
    font-size: 8.4px;
  }
}
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .icon_discountRate,
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .icon_discountRate_timeSale {
  background-color: rgba(237, 20, 61, .8);
}
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .icon_couponRate {
  background-color: rgba(255, 218, 31, .8);
}
[data-icon-layout="below-price"] .catalog-campaignGroup {
  top: 0;
}
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents):has(.catalog-campaignGroup) .product-text {
  margin-top: 0;
}
/* groupByModel 未選択時はカラーチップリストを隠す */
[data-icon-layout="below-price"]:has(#groupByModel[value=""]) .config-colortip_list,
[data-icon-layout="below-price"]:has(#groupByModel:not([value])) .config-colortip_list {
  display: none;
}

/* デスクトップビューポート (769px以上) */
@media (min-width: 769px) {
  [data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-discountIcon {
    transform: translateY(-2px);
  }
  /* CRE_DEV-569: 空アイコン予約高も PC は LD(contents) 同値 16px（SP は上部の 14px を継承）。
     .cart-favorite も同値（margin-top:4px は favsize の margin-bottom:4px と相殺し間隔4px維持） */
  [data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-icon,
  [data-icon-layout="below-price"] .cart-favorite .product-icon {
    min-height: 16px;
    margin-top: 4px;
  }
  /* CRE_DEV-569: .product-icon > li/span を PC は LD(contents) 同値 16px/font 9px に上書き（旧 15px/font10px）。
     .cart-favorite も同値（mypage favorite_list の 16px/9px 統一と整合） */
  [data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-icon > li:not(.icon-manual),
  [data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-icon > span:not(.icon-manual),
  [data-icon-layout="below-price"] .cart-favorite .product-icon > li:not(.icon-manual),
  [data-icon-layout="below-price"] .cart-favorite .product-icon > span:not(.icon-manual) {
    height: 16px;
    line-height: 16px;
    font-size: 9px;
  }
}

/* モバイルビューポート (769px以下) */
@media (max-width: 769px) {
  [data-icon-layout="below-price"] .catalogList_item a {
    padding-bottom: 24px;
  }
  [data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-discountIcon {
    transform: translateY(-4px);
  }
  /* BOEM smp-content-catalog-koichi/temp の .product-icon { transform: scale(.9) } を打ち消す。
     Phase C で > li/span の scale(.74) を撤去し直接サイジングに移行したため、
     0.9×.74=.66 倍の二重縮小は不要に。.product-icon container 単体の scale(.9) は base SP 用なので
     refined では transform: none で打ち消し継続。 */
  [data-icon-layout="below-price"] .product-icon {
    transform: none;
  }
  /* Phase C: 旧 SP > li/span ブロック (width: 56px / height: 20px / scale(.74) ...) は撤去。
     直接サイジング (height 14 / font 9) は L589-607 のデフォルトブロックでカバー済 */
}

/* カタログ下部のコンテンツ調整 */
/* auto- 系（自動付与アイコン: data-icon-code="auto-hot" 等）は幅制限せず、手動アイコンのみ省略表示 */
[data-icon-layout="below-price"] .catalogList .product-icon > li:not([data-icon-code^="auto-"]),
[data-icon-layout="below-price"] .catalog_bottom_contents .product-icon > li:not([data-icon-code^="auto-"]) {
  max-width: 6em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
}
/* CRE_DEV-569: SP 検索結果一覧のみ手動アイコンが <div class="product-icon -bottom"><span class="icon-manual"> で
   描画される（共通 elm_product_icon.jsp / jquery.search-boem-sp.js）。直上 L739 の `> li` 限定省略・auto限定色(L624) が
   span に当たらず、手動が色なし・省略なしになる。
   ★ブラスト半径を最小化するため > span のみ対象（> li は既存挙動を一切変更しない＝PC検索・関連・カート横ランキング・reco 等
     検証済みの全 li ケースに無影響）。col/省略/inline-block は SP 検索の span にだけ補完する。 */
[data-icon-layout="below-price"] .catalogList .product-icon > span.icon-manual,
[data-icon-layout="below-price"] .catalog_bottom_contents .product-icon > span.icon-manual {
  display: inline-block;
  max-width: 6em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
}

[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-icon > li.icon_besthit,
[data-icon-layout="below-price"] :is(.catalogList, .catalog_bottom_contents) .product-icon > span.icon_besthit {
  /* CRE_DEV-569: besthit の固定幅を撤去し他アイコン(:not(.icon-manual))と同じ content-fit へ。
     LD(contents) は besthit を :not(.icon-manual) に畳んで余白過多を解消済。それに合わせる。 */
  width: auto;
  min-width: 39px;
  max-width: initial;
}

/* CRE_DEV-569: reco・お気に入り・履歴系の product-icon をコンテナ単位で below-price 整形（いずれも #catalogList_template 等で <ul><li> 描画）。
   対象コンテナ:
     .viewerRecoList     … 商品詳細 viewerReco（この商品を見た人は）
     .reco_topsellers    … 商品詳細 人気アイテム（PC .product_detail_reco・SP #reco_brand を内包）
     .reco_topsellers_category … 商品詳細 人気アイテム カテゴリ別（SP #reco_category を内包。PC はカテゴリ別/全体とも .reco_topsellers クラスに集約されるため SP のみ別コンテナ）
     .cart-recentry      … カート 最近チェックしたアイテム（PC）
     .cart-recently      … カート 最近チェックしたアイテム（SP）。⚠️ PC は cart-recentry（-ry）/ SP は cart-recently（-ly）と綴り違いのため両方列挙
     .cart-ranking       … カート 人気アイテム（PC/SP とも #cart_ranking 内包＝<ul.catalogList>。overlay 面は L820 ブロックで別途対応）
     .viewHistoryList    … 閲覧履歴（履歴ページ）
     .cart-favorite      … カート横お気に入り（既存 below-price ルールに auto/manual サイジングはあるが手動の 6em cap が無いため、ここで cap を付与）
     .history_item       … 商品詳細 最近チェックしたアイテム（PC .history_item / SP .product_detail_reco.history_item。#catalogList_template 描画＝<ul.catalogList>）
     .related_product    … 商品詳細 関連アイテム（<ul.catalogList> 直書き）
   ※ .history_item / .related_product は <ul.catalogList> を描画するため auto サイジング・6em cap は .catalogList ルール（L624/738）で当たるが、
     手動の白文字色は L652（.catalogList .icon-manual）がサイジングのみで抜ける（白は L624 の :not(.icon-manual)=auto 専用）。
     SP は .product_detail_reco を持つため #39（content-product-koichi.css）で色補完されるが PC .history_item / .related_product は当たらないため、ここで bg+白+cap を一括付与し統一。
   既存の catalog/cart-favorite below-price ルールに含まれない or 手動アイコンの cap が無い面を統一する。
   auto は content-fit、手動は正準 .icon-manual のまま（:not(.icon-manual) 除外で未整形だった分を）inline-block + max-width:6em + ellipsis で整形。
   SP は 14px(手動 line-height13)、PC(@media min-769) は 16px。container の scale 打ち消しは L729 の below-price 全体ルールでカバー済。
   ※ 人気アイテムの font-weight:bold 漏洩は magaseek_common-style.css の .site_magaseek .product_detail_reco ul li ルール自体を撤去して解消（ソース側で対応）。 */
[data-icon-layout="below-price"] :is(.viewerRecoList, .reco_topsellers, .reco_topsellers_category, .cart-recentry, .cart-recently, .cart-ranking, .viewHistoryList, .cart-favorite, .history_item, .related_product) .product-icon > li {
  background: rgba(155, 173, 185, .7);
}
[data-icon-layout="below-price"] :is(.viewerRecoList, .reco_topsellers, .reco_topsellers_category, .cart-recentry, .cart-recently, .cart-ranking, .viewHistoryList, .cart-favorite, .history_item, .related_product) .product-icon > li:not(.icon-manual) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 .3em;
  min-width: 39px;
  width: auto;
  height: 14px;
  line-height: 14px;
  font-size: 8.4px;
  letter-spacing: .05em;
  text-align: center;
  white-space: nowrap;
  color: #fff;
  border: none;
  text-indent: 0;
  transform: none;
}
[data-icon-layout="below-price"] :is(.viewerRecoList, .reco_topsellers, .reco_topsellers_category, .cart-recentry, .cart-recently, .cart-ranking, .viewHistoryList, .cart-favorite, .history_item, .related_product) .product-icon > li.icon-manual {
  display: inline-block;
  width: auto;
  max-width: 6em;
  margin: 0;
  padding: 0 .3em;
  box-sizing: border-box;
  height: 14px;
  line-height: 13px;
  font-size: 8.4px; /* CRE_DEV-569 案B: SP 手動=auto=8.4px(LD同値)。PC は下の @media(min-769) で 9px に戻す */
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  border: none;
  transform: none;
}
[data-icon-layout="below-price"].site_mango :is(.viewerRecoList, .reco_topsellers, .reco_topsellers_category, .cart-recentry, .cart-recently, .cart-ranking, .viewHistoryList, .cart-favorite, .history_item, .related_product, #orderComplete_recommend) .product-icon > li:not(.icon-manual),
[data-icon-layout="below-price"].site_mango :is(.viewerRecoList, .reco_topsellers, .reco_topsellers_category, .cart-recentry, .cart-recently, .cart-ranking, .viewHistoryList, .cart-favorite, .history_item, .related_product, #orderComplete_recommend) .product-icon > li.icon-manual {
  padding: 1px .3em 0;
}
@media (min-width: 769px) {
  [data-icon-layout="below-price"] :is(.viewerRecoList, .reco_topsellers, .reco_topsellers_category, .cart-recentry, .cart-recently, .cart-ranking, .viewHistoryList, .cart-favorite, .history_item, .related_product) .product-icon > li:not(.icon-manual) {
    height: 16px;
    line-height: 16px;
    font-size: 9px;
  }
  [data-icon-layout="below-price"] :is(.viewerRecoList, .reco_topsellers, .reco_topsellers_category, .cart-recentry, .cart-recently, .cart-ranking, .viewHistoryList, .cart-favorite, .history_item, .related_product) .product-icon > li.icon-manual {
    height: 16px;
    line-height: 16px;
    font-size: 9px; /* CRE_DEV-569 案B: PC 手動は 9px 維持（base の 8.4px は SP 用） */
  }
}

/* CRE_DEV-569: カート横ランキング(#cart_ranking)・カートお気に入り(#fav) の product-icon 行制御（コンテナ単位・カート画面限定）。
   #catalogList_template(handlebars) / jquery.load-favorite-items.js は li 無くても空 <ul class="product-icon"> を常設するため、
   below-price では空ULが行を占有する。ただし「コンテナ内に1つでもアイコン(.product-icon > li)があれば、空ULも行高予約のため残す」
   （個別に消すとアイコン有/無カードで縦ズレ）。そこで【コンテナ全体に .product-icon > li が1つも無い時だけ】全 .product-icon を非表示にする。
   ※ スコープはカート画面(.cartPage = cart-top-area.jsp の #contents_ver4/#smp_main_content)に限定。
   ※ :empty 不可（handlebars 出力に改行が残る）。コンテナ単位の :has で「1つも li が無い」を判定。 */
[data-icon-layout="below-price"] .cartPage #cart_ranking:not(:has(.product-icon > li)) .product-icon,
[data-icon-layout="below-price"] .cartPage #fav:not(:has(.product-icon > li)) .product-icon {
  display: none;
}


/* CRE_DEV-569: overlay サイトの新規追加エリア（cart-ranking / reco 等、content-catalog.css・
   common-commodityItem.css が読み込まれない面）で product-icon を可視化＋画像左上にオーバーレイ配置する。
   案Y（6/12 ばんしょう確定）: WIP の .product_main 限定を解除し overlay × .catalogList 全体へ共通化。
   catalogList_template.css は全 overlay 面で読まれるため1箇所で全 overlay サイトに効く。

   ★ specificity 設計（6/12 ばんしょう指示）: [data-icon-layout="overlay"] を :where() で包み、
     各セレクタの specificity を .catalogList .product-icon = (0,2,0) に抑える（:where は 0 寄与）。
     これにより、サイト個別CSS（descente_common-style.css / descentefes_common-style.css の
     `.catalogList .product-icon{display:none}` = (0,2,0)・CRE_DEV-569 6/11 コミット a3dc981de6）が
     **カスケード順（site CSS は本ファイルより後に読まれる）で後勝ち**し、descente / descentefes は
     非表示を維持する。display:none を持たない fitfit / oasys では本ルールが効いて product-icon が表示される。
     ＝サイト列挙なしで「opt-out 方式（非表示にしたいサイトは自前の display:none を後置）」を実現。

   値の出典（既存カタログ面の値に揃える・独自値の発明なし）:
     - .product-image{position:relative}        ← _assets/css/pc/content-catalog.css:1154-1158
     - .product-icon{position:absolute;top;left} ← content-catalog.css:1168-1172 / common-commodityItem.css:173-177
     - .product-icon>li{...}(PC)                 ← content-catalog.css:1175-1189 / common-commodityItem.css:180-194
     - .product-icon>li{...}(SP @media)          ← _assets/css/sp/smp-content-catalog.css:109-123
   display:block / list-style:none は ul のカタログ面 computed（block / グローバル reset の none）と同値。
   新規エリアでの非表示継承を打ち消すが、(0,2,0) のため後置の site display:none には負ける（＝opt-out 成立）。 */
:where([data-icon-layout="overlay"]) .catalogList .product-image {
  position: relative;
}
[data-icon-layout="overlay"].site_underarmour .catalogList a:has( > .product-image) {
  position: relative;
}
/* #88 エリア2+5(案B): reco系9コンテナ限定で <a> を relative 化。overlay の .product-icon(absolute) は product-image の【兄弟】で、
   UA だけ上の rule で <a> relative を持つ。descente 等の他 overlay はアンカー基準が無く container 全体に積む(position:relative漏れ)。
   検索一覧の icon-favItemAdd は search-result.jsp のみ出力でこの9コンテナには無いため、<a> relative 追加は安全(#85裏取り)。
   :where()=specificity 0 寄与・#id...a=(1,1,1)。[data-icon-layout="overlay"] で below-price 排他。注文完了(#orderComplete_recommend)=エリア5も同根で集約。
   #reco_category=商品詳細SP カテゴリ人気アイテム(elm_reco_topsellers_category.jsp:45 で同じ #catalogList_template handlebars 描画。追加対応)。 */
:where([data-icon-layout="overlay"]) :is(#category_ranking_list, #brand_ranking_list, #reco_brand, #reco_category, #related_product, #cart_ranking, #cartRemind, #history, #orderComplete_recommend) .catalogList_item > a {
  position: relative;
}
:where([data-icon-layout="overlay"]) .catalogList .product-icon {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  list-style: none;
}
:where([data-icon-layout="overlay"]) .catalogList .product-icon > li {
  margin: 0;
  /* width は content-catalog-search-result.css:212 の min-width:47.5px(content-fit) に揃える。
     固定 width にすると検索/一覧面で search-result の content-fit を上書きしてしまう（リグレ）。 */
  min-width: 47.5px;
  height: 17.5px;
  line-height: 17.5px;
  padding: 0 .3em 0 .3em;
  font-size: 10px;
  letter-spacing: .05em;
  text-align: center;
  color: #fff;
  background: rgba(155, 173, 185, .5);
  text-indent: 0;
  overflow: initial;
  transform-origin: 0 0;
  transform: scale(.9);
}
/* SP: smp-content-catalog.css:109-123 と同値（PC とサイズ・scale・背景透明度が異なる） */
@media (max-width: 769px) {
  :where([data-icon-layout="overlay"]) .catalogList .product-icon > li {
    min-width: 56px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    background: rgba(155, 173, 185, .4);
    transform: scale(.7);
    border: none;
  }
}

/* CRE_DEV-569 #54: overlay サイトの manual icon コンテナ (.-bottom) を通常フローに戻す。
   auto icons は上の :where() overlay ルールで画像左上配置。
   manual icons は below-price テキストラベルとして表示。
   specificity: [attr].class.class.class = (0,4,0) > :where() (0,2,0) で確実に勝つ。 */
[data-icon-layout="overlay"] .catalogList .product-icon.-bottom {
  position: relative;
  top: auto;
  left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
[data-icon-layout="overlay"] .catalogList .product-icon.-bottom > li {
  background: transparent;
  color: #666;
  font-size: 10px;
  min-width: auto;
  height: auto;
  line-height: 1.4;
  transform: none;
  border: 1px solid #ccc;
  padding: 1px 6px;
}
@media (max-width: 769px) {
  [data-icon-layout="overlay"] .catalogList .product-icon.-bottom > li {
    font-size: 10px;
    transform: none;
    background: transparent;
  }
}

/* CRE_DEV-569 #39: 注文完了 reco（#orderComplete_recommend）の below-price icon-manual に文字色/背景を付与。
   #catalogList_template が #orderComplete_recommend 直下に ul.catalogList を描画する。auto は上の
   :not(.icon-manual) で付与済だが icon-manual は L637 のサイジングのみで色が抜けていた。content-product は
   注文完了ページに読み込まれないため、当ページで読み込まれる当CSSに追加。catalog/search への波及回避のため
   #orderComplete_recommend に限定（catalog/search の icon-manual は content-catalog 系で色付与済）。 */
[data-icon-layout="below-price"] #orderComplete_recommend .product-icon > .icon-manual {
  color: #fff;
  background: rgba(155, 173, 185, .7);
  padding: 0 0.3em;
}

/* CRE_DEV-569: reco 面 auto-sale 非表示（Lambda が icon_css_classes 未供給のため icon-auto-sale フォールバック対策）
   正典クラス icon_sale には既に非表示指定あり。旧クラスにも同等の非表示を適用して SALE leak を防止。
   below-price 横断 OFF ポリシー（v1.5）の CSS 側セーフティネット。 */
.product-icon .icon-auto-sale {
  display: none !important;
}

/* CRE_DEV-569: カート追加モーダル(#modal_cartInBtn)内 reco（よく一緒に買われているアイテム）の product-icon 背景（モーダル reco 限定）。
   画像 overlay の自動アイコン(:not(.-bottom))は写真の上に乗るため白背景で視認させる。画像下の手動アイコン(.-bottom)は白モーダル上のため背景なし（文字のみ）。
   #modal_cartInBtn の ID 指定(=高 specificity)で UA 既定 pill を上書き。 */
#modal_cartInBtn .product-icon:not(.-bottom) > li,
#modal_cartInBtn .product-icon:not(.-bottom) > span {
  background: #fff;
}
#modal_cartInBtn .product-icon.-bottom > li,
#modal_cartInBtn .product-icon.-bottom > span {
  background: transparent;
}

/* UA product-icon 共通 */
[data-icon-layout="overlay"].site_underarmour .catalogList .product-icon > li,
[data-icon-layout="overlay"].site_underarmour .catalogList .product-icon > span {
  border: none;
  background: #fff;
  color: #ACBBC9;
  font-size: 9px;
  font-weight: 600;
}
[data-icon-layout="overlay"].site_underarmour .catalogList .product-icon:not(.-bottom) {
  margin: 5px 0 0 5px;
  display: inline-flex;
  gap: 0;
}
[data-icon-layout="overlay"].site_underarmour .catalogList .product-icon.-bottom {
  margin: 0 0 4px;
  display: inline-flex;
  gap: 0;
}
[data-icon-layout="overlay"].site_underarmour .catalogList .product-icon.-bottom > li,
[data-icon-layout="overlay"].site_underarmour .catalogList .product-icon.-bottom > span {
  padding: 0;
  margin: 0 10px 0 0;
}
[data-icon-layout="overlay"].site_underarmour .catalogList .product-icon.-bottom > li:last-child,
[data-icon-layout="overlay"].site_underarmour .catalogList .product-icon.-bottom > span:last-child {
  margin: 0;
}


[data-icon-layout="overlay"].site_underarmour .catalogList .product-icon:has(.icon-manual),
[data-icon-layout="overlay"].site_underarmour .catalogList .product-icon > .icon-manual,
[data-icon-layout="overlay"].site_underarmour .item-icons .icon-manual {
  max-width: initial;
  width: auto;
}
@media (max-width: 769px) {
  [data-icon-layout="overlay"].site_underarmour .catalogList .product-icon > li {
    transform: scale(.9);
  }
}

/* CRE_DEV-569: カート画面お気に入り(.cart-favorite)の UA アイコンを UA カタログ overlay と同じ「白pill＋#ACBBC9」＋画像左上 overlay に統一（UA面統一）。
   .cart-favorite は .catalogList を持たず、auto は .lc-item__body 内（画像 .lc-item__image とは別ノード）に出力されるため、
   auto(.product-icon:not(.-bottom)) を .lc-item__link 基準で絶対配置し画像左上へ重ねる（白背景の本文上だと白pillが埋もれるため、写真の上に置く）。
   その際 .lc-item__body の position:relative を static に戻して絶対配置の基準を .lc-item__link(=画像位置) にする。manual(-bottom)は本文に in-flow 維持。値は catalog UA(L900/981/999) 同値。 */
[data-icon-layout="overlay"].site_underarmour .cart-favorite .lc-item__link {
  position: relative;
}
[data-icon-layout="overlay"].site_underarmour .cart-favorite .lc-item__body {
  position: static;
}
[data-icon-layout="overlay"].site_underarmour .cart-favorite .product-icon:not(.-bottom) {
  position: absolute;
  top: 0;
  left: 0;
  /* CRE_DEV-569: catalog UA(:not(.-bottom)) 同様、画像左上から左+上に余白を取る */
  margin: 5px 0 0 5px;
  z-index: 2;
}
[data-icon-layout="overlay"].site_underarmour .cart-favorite .product-icon {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
}
[data-icon-layout="overlay"].site_underarmour .cart-favorite .product-icon > li,
[data-icon-layout="overlay"].site_underarmour .cart-favorite .product-icon > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 47.5px;
  height: 17.5px;
  line-height: 17.5px;
  margin: 0;
  padding: 0 .3em;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .05em;
  text-align: center;
  white-space: nowrap;
  color: #ACBBC9;
  background: #fff;
  border: none;
  text-indent: 0;
  transform: scale(.9);
  transform-origin: 0 0;
}
/* 手動アイコン(-bottom)は本文(白地)上の text ラベル。狭いカード幅でも横に並ぶよう pill 幅(min-width)・scale を解除して content 幅に詰める。 */
[data-icon-layout="overlay"].site_underarmour .cart-favorite .product-icon.-bottom {
  flex-wrap: wrap;
}
[data-icon-layout="overlay"].site_underarmour .cart-favorite .product-icon.-bottom > li,
[data-icon-layout="overlay"].site_underarmour .cart-favorite .product-icon.-bottom > span {
  min-width: 0;
  padding: 0;
  margin: 0 6px 0 0;
  transform: none;
}
@media (max-width: 769px) {
  [data-icon-layout="overlay"].site_underarmour .cart-favorite .product-icon > li,
  [data-icon-layout="overlay"].site_underarmour .cart-favorite .product-icon > span {
    min-width: 56px;
    height: 20px;
    line-height: 20px;
    transform: scale(.7);
  }
}

/* #88 エリア3: 非UA overlay(fitfit/oasys等)のカート横お気に入り(.cart-favorite)に画像左上 overlay を付与（ばんしょう判断=表示）。
   .cart-favorite は .catalogList を持たず、product-icon は .lc-item__body 内(画像 .lc-item__image とは別ノード・価格の後ろ)に出力される。
   .lc-item__body は base(style_boem.css:6137 / style_father.css:6187)で position:relative のため、絶対配置のままだと本文側にアンカーする。
   UA(L1045-)同様 .lc-item__body を static に戻し、.lc-item__link を relative にして絶対配置基準を画像へ移す。可視化は catalog overlay(L908-928)同等の灰pill。
   descente/descentefes は各 descente CSS の #fav .product-icon{display:none}(1,1,0) で opt-out hide(BOEM共通 product-icon の leak 抑止・descente_product-icon は表示)＝この灰pill route は (0,2,0) で負けるため descente には出ない。
   UA は L1045- の .site_underarmour 専用ルール(高specificity)で従来どおり白pill。below-price は :where([data-icon-layout="overlay"]) で属性排他。 */
:where([data-icon-layout="overlay"]) .cart-favorite .lc-item__link {
  position: relative;
}
:where([data-icon-layout="overlay"]) .cart-favorite .lc-item__body {
  position: static;
}
:where([data-icon-layout="overlay"]) .cart-favorite .product-icon {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  list-style: none;
  z-index: 2;
}
:where([data-icon-layout="overlay"]) .cart-favorite .product-icon > li {
  min-width: 47.5px;
  height: 17.5px;
  line-height: 17.5px;
  margin: 0;
  padding: 0 .3em;
  font-size: 10px;
  letter-spacing: .05em;
  text-align: center;
  color: #fff;
  background: rgba(155, 173, 185, .5);
  text-indent: 0;
  transform-origin: 0 0;
  transform: scale(.9);
}
@media (max-width: 769px) {
  :where([data-icon-layout="overlay"]) .cart-favorite .product-icon > li {
    min-width: 56px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    background: rgba(155, 173, 185, .4);
    transform: scale(.7);
  }
}