@charset "utf-8";
/* ===== Shop Layout ===== */

.shop {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.shop__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.shop__controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* ===== Product Grid ===== */

.p-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* ===== Product Card ===== */

.p-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.p-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.p-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.p-card__body {
  padding: 1rem;
}

.p-card__title {
  font-size: 1rem;
  margin: 0 0 .25rem;
}

.p-card__desc {
  font-size: .875rem;
  color: #666;
  margin-bottom: .75rem;
}

.p-price {
  font-weight: bold;
}

.p-rating {
  font-size: .75rem;
  color: #666;
}


/* =========================
   Card fix (badge / link / media)
========================= */

/* バッジの基準を「カード内」にする */
.p-card__media {
  position: relative;
}

/* カードリンクを“UI”化（青/下線を消す） */
.p-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* クリック可能感を出す（任意） */
.p-card__link:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

/* 画像の枠 */
.p-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* タイトルなどの余白調整（任意） */
.p-card__title {
  color: #111;
  font-weight: 700;
}

/* 価格の見せ方（セール用） */
.p-price__compare {
  margin-left: .5rem;
  color: #777;
  text-decoration: line-through;
  font-weight: 400;
}

/* ===== Badge (Shop placement override) ===== */
.p-badge{
  top: .5rem;
  left: .5rem;
  font-size: .625rem;   /* shopは小さめ */
  border-radius: 4px;   /* shopは少し角を立てる */
}


/* ===== Button (Shop placement) ===== */
.p-btn{
  height: 40px;      /* shopは少し低め */
  font-size: 13px;
}




.shop-context{
  margin: 16px 0 18px;
  padding: 20px 22px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,244,239,.96));
  box-shadow: 0 10px 30px rgba(17, 24, 39, .06);
}

.shop-context__eyebrow{
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(90, 64, 46, .72);
}

.shop-context__title{
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.shop-context__lead{
  margin: 0;
  color: rgba(17, 24, 39, .72);
  line-height: 1.8;
}

.shop-context__list{
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.shop-context__list li{
  position: relative;
  padding-left: 18px;
  color: rgba(17, 24, 39, .82);
}

.shop-context__list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(111, 78, 55, .75);
  transform: translateY(-50%);
}

@media (max-width: 767px){
  .shop-context{
    padding: 18px 16px;
    border-radius: 18px;
  }
}

.shop__count{
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#resultLabel{
  letter-spacing: .04em;
}

body.is-subscription #resultLabel{
  color: rgba(111, 78, 55, .9);
}