/* ========= SLC Cart Cards – all breakpoints ========= */

/* 既存テーブルはカード準備完了時に非表示（全幅） */
.slc-amz-ready #cart_table,
.slc-amz-ready #cart table {
  display: none !important;
}

/* カードコンテナ */
#slc-cart-cards{
  max-width: 1000px;
  margin: 16px auto;
  padding: 0 12px;
  display: grid;
  gap: 10px;
}

/* 1枚のカード */
.slc-card{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
  padding: 16px;
}

/* 画像 */
.slc-card__img img{
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* 本文 */
.slc-card__body{ 
  flex: 1; min-width: 0; 
}
.slc-card__title{ 
  font-weight: 600; line-height: 1.4; margin-bottom: 4px; 
}
.slc-card__price{ 
  font-weight: 700; margin: 4px 0; 
}

/* コントロール（数量・削除） */
.slc-card__ctrl{
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* ± と数量 */
.slc-qty-btn{
  width: 30px; 
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}
.slc-qty-input{
  width: 56px; 
  height: 31px;
  text-align: center;
  border: 2px solid #ffd100!important;
  border-radius: 18px;
}

/* 削除 */
.slc-del{
  margin-left: auto;
  border: 0;
  background-color:#fff;
  color: #d33;
  padding: 6px 10px;
}

/* 広い幅では画像を少し大きく */
@media (min-width: 768px){
  .slc-card__img img{ 
	 width: 128px; height: 128px; 
	}
}
/* ---- summary ---- */
.slc-summary{
  /* ackground:#fff;
  border:1px solid #eee;
  border-radius:12px;
  box-shadow:0 2px 8px rgba(0,0,0,.03); */
  padding: 16px 16px 0;
}
.slc-summary__row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:12px;
  font-size:15px;
}
.slc-summary__value strong{ font-size:18px; }
.slc-summary__go{
  width:100%;
  height:44px;
  border-radius:999px;
  border:none;
  background:#FFD100;
  color:#111;
  font-size: larger;
  font-weight:700;
  cursor:pointer;
}
/* カード領域で番号カウンタや箇条書き記号を出さない（1,2,3対策） */
#slc-cart-cards,
#slc-cart-cards * {
  counter-reset: none !important;
  list-style: none !important;
}
#slc-cart-cards .slc-card::before { 
  content: none !important; 
}

/* テーブルを隠すのは、JSがreadyフラグを立てた時だけ */
body.slc-amz-ready #cart_table { 
  display: none !important; 
}

/* --- Free shipping progress bar --- */
.slc-free-ship-note{
  margin: 8px 0 -15px 5px;
  font-size:12px;
  color:#444;
}
.slc-free-ship-bar{ margin:6px 0 10px; }
.slc-free-ship-bar__track{
  height:8px;
  background:#eee;
  border-radius:999px;
  overflow:hidden;
}
.slc-free-ship-bar__fill{
  height:100%;
  width:0%;
  background:linear-gradient(90deg,#008cd6,#aee3ff);
  transition:width .4s ease;
}
.slc-free-ship-bar.is-free .slc-free-ship-bar__fill{
  background:#3eff47;
}
.slc-free-ship-bar__label{
  margin-top: 5px;
  font-size: 11px;
  color: #666;
  margin-right: 5px;
  text-align: right;
}
@media (prefers-reduced-motion: reduce){
  .slc-free-ship-bar__fill{ transition:none; }
}
