:root {
  --bg: #F9F9F6;
  --text: #2B2B2B;
  --main: #4C6B5C;
  --accent: #579180;
  --hi: #D6EADF;
  --white: #fff;
  --muted: #6b7280;
  --danger: #e11d48;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

html,
body {
  background: var(--bg);
  color: var(--text)
}

* {
  box-sizing: border-box
}

main.page {
  padding-top: 72px
}

/* ============ Toast ============ */
.toast {
  position: fixed;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 20px 28px;
  border-radius: 8px;
  z-index: 9999;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  opacity: 0;
  animation: cart-toast-in 0.3s ease forwards;
  border: 3px solid var(--white);
  font-size: 16px;
}

/* OK時とNG時で色だけ変える */
.toast.ok {
  background-color: var(--accent);
}
.toast.ng {
  background-color: var(--danger);
}

/* 登場アニメーション：上から下へ */
@keyframes cart-toast-in {
  from { opacity: 0; transform: translate(-50%, -30px); }
  to   { opacity: 1; transform: translate(-50%, 30px); }
}

/* 退場アニメーション：下から上へ */
@keyframes cart-toast-out {
  from { opacity: 1; transform: translate(-50%, 0); }
  to   { opacity: 0; transform: translate(-50%, -30px); }
}

/* フェードアウト用クラス */
.toast.fade-out {
  animation: cart-toast-out 0.3s ease forwards;
}

.toast .badge {
  background: var(--hi);
  color: var(--main);
  border-radius: 999px;
  padding: .1rem .5rem
}

.toast__actions {
  display: flex;
  gap: .4rem
}

*/ .btn {
  background: var(--main);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: .55rem .9rem;
  cursor: pointer
}

.btn--ghost {
  background: transparent;
  color: var(--main)
}

@keyframes rise {
  from {
    transform: translateY(8px);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

/* ============ Modal ============ */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1100
}

.modal[aria-hidden="false"] {
  display: block
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35)
}

.modal__dialog {
  position: relative;
  z-index: 1;
  margin: 10vh auto 0;
  max-width: 560px;
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow)
}

.modal__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem
}

.checkbox {
  display: flex;
  gap: .5rem;
  align-items: center
}

/* ============ Toolbar ============ */
.toolbar {
  position: sticky;
  top: 60px;
  z-index: 900;
  background: var(--bg);
  border-bottom: 1px solid #e5e7eb;
  padding: .6rem .8rem
}

.filters {
  max-width: 1100px;
  margin: 0 auto
}

/* 共通フォーム入力 */
.filters input[type="search"],
.filters select {
  min-height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: var(--white);
  padding: .55rem .8rem;
  font-size: .95rem;
  outline: none
}

.filters input[type="search"]:focus,
.filters select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(163, 201, 168, .25)
}

/* 検索バー（常に全幅） */
.filters__search {
  margin-bottom: .4rem
}

.filters__search input {
  width: 100%;
  display: block
}

/* ドロップダウン群 */
.filters__selects {
  display: flex;
  gap: .4rem;
  margin-bottom: .2rem
}

.filters__selects select {
  flex: 1;
  min-width: 0
}

/* セクション見出し */
.filters__section {
  padding: .3rem 0
}

.filters__section-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: .25rem;
  padding-left: .1rem
}

/* カテゴリチップ */
.chips {
  display: flex;
  gap: .45rem;
  overflow-x: auto;
  padding: .2rem .1rem .4rem;
  -webkit-overflow-scrolling: touch
}

.chip {
  flex: 0 0 auto;
  text-decoration: none;
  color: #1f2937;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: .35rem .75rem;
  font-size: .9rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s, border-color .15s
}

.chip.is-active {
  background: var(--hi);
  color: var(--main);
  border-color: var(--accent)
}

/* こだわり条件チェックボックス */
.quick {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .2rem 0;
  color: #374151
}

.quick__item {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .6rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: var(--white);
  font-size: .9rem;
  cursor: pointer;
  transition: background .15s, border-color .15s
}

.quick__item:has(input:checked) {
  background: var(--hi);
  border-color: var(--accent)
}

/* 価格帯フィルター */
.price-range {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .2rem 0
}

.price-range__field {
  display: flex;
  align-items: center;
  gap: .25rem
}

.price-range input {
  width: 100px;
  min-height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: .4rem .5rem;
  font-size: .95rem;
  background: var(--white);
  outline: none;
  text-align: right
}

.price-range input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(163, 201, 168, .25)
}

.price-range__unit {
  font-size: .85rem;
  color: #374151;
  white-space: nowrap
}

/* 結果件数 + フィルタークリア */
.filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .35rem .1rem;
  font-size: .85rem;
  color: #6b7280
}

.filter-summary__count {
  font-weight: 500
}

.filter-summary__clear {
  color: var(--white);
  background: #9ca3af;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  padding: .25rem .7rem;
  border-radius: 6px;
  transition: background .15s
}

.filter-summary__clear:hover {
  background: #6b7280
}

/* 折りたたみトグル（PC・モバイル共通） */
.filters__toggle {
  display: flex;
  align-items: center;
  gap: .4rem;
  width: 100%;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: .45rem .7rem;
  margin-top: .3rem;
  font-size: .9rem;
  color: var(--text);
  cursor: pointer;
  transition: background .15s
}

.filters__toggle:hover {
  background: #f9fafb
}

.filters__toggle-icon {
  margin-left: auto;
  font-size: .6rem;
  color: #9ca3af
}

.filters__toggle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3em;
  height: 1.3em;
  background: var(--accent);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0 .3rem
}

.filters__collapsible.is-collapsed {
  display: none
}

/* ===== 配送先 複数選択パネル ===== */
.pref-picker {
  position: relative
}

.pref-picker__btn {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: .4rem .7rem;
  font-size: .9rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color .15s
}

.pref-picker__btn:hover,
.pref-picker__btn[aria-expanded="true"] {
  border-color: var(--accent)
}

.pref-picker__placeholder {
  color: #9ca3af
}

.pref-picker__selected {
  color: var(--text);
  font-weight: 500
}

.pref-picker__arrow {
  margin-left: auto;
  font-size: .6rem;
  color: #9ca3af
}

.pref-picker__panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 950;
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  max-height: 360px;
  overflow-y: auto;
  padding: .5rem
}

.pref-picker__actions {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: 0 .2rem .4rem;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: .3rem
}

.pref-picker__actions .pref-picker__apply {
  margin-left: auto
}

.pref-picker__action {
  background: none;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: .25rem .6rem;
  font-size: .8rem;
  color: #6b7280;
  cursor: pointer;
  transition: background .15s
}

.pref-picker__action:hover {
  background: #f3f4f6
}

.pref-picker__region {
  padding: .3rem 0
}

.pref-picker__region-name {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: #9ca3af;
  padding: .1rem .2rem;
  margin-bottom: .15rem
}

.pref-picker__items {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem
}

.pref-picker__item {
  display: flex;
  align-items: center;
  gap: .2rem;
  padding: .2rem .5rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: .85rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  white-space: nowrap
}

.pref-picker__item:has(input:checked) {
  background: var(--hi);
  border-color: var(--accent)
}

.pref-picker__item input {
  width: 1rem;
  height: 1rem;
  margin: 0
}

.pref-picker__apply {
  padding: .25rem .7rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .15s
}

.pref-picker__apply:hover {
  opacity: .85
}

/* ===== モバイル (720px以下) ===== */
@media(max-width:720px) {
  .toolbar {
    padding: .5rem .4rem
  }

  /* ドロップダウンを2列グリッドに */
  .filters__selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem
  }

  .filters__selects select:last-child:nth-child(odd) {
    grid-column: 1 / -1
  }

  .filters select {
    font-size: .85rem;
    padding: .45rem .5rem
  }

  /* チップを少し小さく */
  .chip {
    padding: .3rem .6rem;
    font-size: .85rem
  }

  /* こだわり条件を2列に */
  .quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .35rem
  }

  .quick__item {
    font-size: .85rem;
    padding: .35rem .5rem
  }

  /* 価格帯を縦積みに */
  .price-range {
    flex-direction: column;
    align-items: stretch;
    gap: .3rem
  }

  .price-range__field {
    display: flex;
    align-items: center;
    gap: .3rem
  }

  .price-range input {
    flex: 1;
    width: auto;
    min-height: 42px
  }

  .price-range__unit {
    flex: 0 0 auto;
    min-width: 3em
  }

  /* 配送先パネルを画面幅いっぱいに */
  .pref-picker__panel {
    position: fixed;
    left: .5rem;
    right: .5rem;
    top: auto;
    max-height: 50vh
  }
}

/* ============ Rails (横スクロール) ============ */
.rail {
  max-width: 1100px;
  margin: 1.2rem auto 1.6rem;
  padding: 0 1rem
}

.rail__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .6rem
}

.rail__head h2 {
  font-size: 1.15rem;
  margin: 0
}

.link {
  color: var(--main);
  text-decoration: none
}

.link:hover {
  text-decoration: underline
}

.rail__track {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: .4rem 0 .6rem
}

/* カード（横スクロール用・コンパクト） */
.card {
  flex: 0 0 auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 280px;
  overflow: hidden;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: all 0.3s ease;
}

.rail__track > .card, .ranking-panel > .card {
  width: 210px;
}

.card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.card:active {
  transform: translateY(-2px);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card__body {
  padding: 0.6rem 0.7rem 0.7rem;
}

.card__name {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 0.2rem;
  line-height: 1.35;
}

.card__meta {
  display: flex;
  justify-content: space-between;
  color: #374151;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

/* 出品者名 */
.card__seller {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.3;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid #f3f4f6;
}

.card__seller-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  stroke: var(--muted);
  opacity: 0.7;
}

/* 出品者アイコン画像 */
.card__seller-icon-img {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  min-width: 24px;
  min-height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  border: 2px solid #f3f4f6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.card:hover .card__seller-icon-img {
  border-color: #e5e7eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.card__seller-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  font-weight: 500;
  color: #4b5563;
}

.badge--new {
  position: absolute;
  top: .5rem;
  left: .5rem;
  background: #ef4444;
  color: #fff;
  font-weight: 700;
  font-size: .75rem;
  padding: .15rem .4rem;
  border-radius: 6px
}

.badge--low {
  position: absolute;
  top: .6rem;
  left: .5rem;
  background: #f59e0b;
  color: #fff;
  font-weight: 700;
  font-size: .75rem;
  padding: .15rem .4rem;
  border-radius: 6px
}
.badge--low.zero {
  background-color: var(--danger);
}

/* 対象ユーザーバッジ（商品カード：タイトル下インライン） */
.badge--audience {
  display: inline-block;
  font-weight: 700;
  font-size: .65rem;
  padding: .15rem .4rem;
  border-radius: 4px;
  color: #fff;
  line-height: 1;
  margin-top: .2rem;
}
.badge--all {
  background: #10b981;
}
.badge--individual {
  background: #3b82f6;
}
.badge--corporate {
  background: #8b5cf6;
}

/* 順位バッジ */
.badge--rank {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9;
  border: 2px solid;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-weight: 800;
  font-size: 0.7rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  line-height: 1;
}

.badge--rank__icon {
  flex-shrink: 0;
}

.badge--rank--1 {
  border-color: #f59e0b;
  color: #b45309;
  background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
}

.badge--rank--1 .badge--rank__icon {
  stroke: #d97706;
}

.badge--rank--2 {
  border-color: #94a3b8;
  color: #475569;
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
}

.badge--rank--2 .badge--rank__icon {
  stroke: #64748b;
}

.badge--rank--3 {
  border-color: #cd7c2f;
  color: #9a3412;
  background: linear-gradient(145deg, #fff7ed 0%, #fed7aa 50%, #fdba74 100%);
}

.badge--rank--3 .badge--rank__icon {
  stroke: #c2410c;
}

.badge--rank--other {
  border-color: var(--muted);
  color: var(--text);
  background: var(--white);
  font-size: 0.72rem;
  flex-direction: row;
}

/* ランキングタブ */
.ranking-tabs {
  display: flex;
  gap: 4px;
  padding: 2px;
  border-radius: 999px;
  background: #f3f4f6;
}

.ranking-tab {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--muted);
  transition: all 0.15s ease;
  border: none;
  background: transparent;
  cursor: pointer;
}

.ranking-tab:hover {
  background: rgba(255, 255, 255, 0.5);
  color: var(--text);
}

.ranking-tab.is-active {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.ranking-panel {
  display: none;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  flex-wrap: nowrap;
}

.ranking-panel.is-active {
  display: flex;
}

.rail__track .ranking-panel {
  padding: 0;
  margin: 0;
}

/* ランキングカードの統計情報 */
.card__stats {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card__favorite-count {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* コレクション */
.collection {
  flex: 0 0 auto;
  width: 240px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow)
}

.collection img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.8)
}

.collection span {
  position: relative;
  z-index: 1;
  padding: .6rem .7rem;
  font-weight: 800
}

/* ============ グリッド（一覧） ============ */
.grid-wrap {
  max-width: 1100px;
  margin: 1rem auto 2rem;
  padding: 0 .6rem
}

.grid-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: .2rem 0 .8rem
}

.grid-head h2 {
  margin: 0;
  font-size: 1.15rem
}

.grid-head .count {
  color: var(--muted);
  font-size: .95rem
}

.grid {
  display: grid;
  gap: .6rem;
  grid-template-columns: repeat(2, 1fr);
}

@media(min-width:720px) {
  .grid-wrap {
    padding: 0 1rem;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: .9rem;
  }
}

@media(min-width:1024px) {
  .grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

.card--tall {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative
}

.card--tall img {
  width: 100%;
  height: 160px;
  object-fit: cover
}

.card--tall .body {
  padding: .8rem .9rem 1rem
}

.card--tall .name {
  font-weight: 800;
  margin: 0 0 .2rem;
  font-size: 1rem
}

.card--tall .producer {
  color: var(--muted);
  font-size: .9rem;
  margin: 0 0 .4rem
}

.card--tall .price {
  font-weight: 800;
  font-size: 1.05rem
}

.card--tall .unit {
  color: #374151;
  font-size: .9rem
}

.card--tall .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .6rem
}

.fav {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem
}

.add {
  background: var(--main);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: .5rem .7rem;
  cursor: pointer
}

.add:hover {
  filter: brightness(.95)
}

/* 空状態 */
.empty {
  background: var(--white);
  border: 1px dashed #d1d5db;
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center
}

/* ページネーション */
.pagination {
  display: flex;
  gap: .4rem;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 0
}

.pagination .page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  text-decoration: none;
  color: #111827;
  background: var(--white);
  border: 1px solid #e5e7eb;
}

.pagination .page:hover {
  border-color: var(--accent)
}

.pagination .page.is-active {
  background: var(--hi);
  color: var(--main);
  border-color: var(--accent);
  font-weight: 800
}

.pagination .page.is-disabled {
  opacity: .45;
  pointer-events: none
}

/* 信頼シグナル */
.trust {
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  display: grid;
  gap: .6rem;
  grid-template-columns: repeat(2, 1fr)
}

@media(min-width:720px) {
  .trust {
    grid-template-columns: repeat(4, 1fr)
  }
}

.trust__item {
  background: var(--white);
  border-radius: 10px;
  padding: .7rem .8rem;
  text-align: center;
  box-shadow: var(--shadow)
}

/* ユーティリティ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.buy {
  padding: 0 .6rem .6rem;
}

.qty {
  display: block;
  margin: 0 0 .6rem
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  height: 36px;
}

.stepper__btn {
  background: #f3f4f6;
  border: none;
  padding: .55rem .7rem;
  cursor: pointer
}

.stepper input {
  width: 50px;
  border: none;
  text-align: center;
  padding: .55rem 0;
  outline: none
}

.cta {
  display: flex;
  gap: .6rem;
  align-items: center
}

.btn {
  border: none;
  border-radius: 10px;
  padding: .7rem 1rem;
  cursor: pointer
}

.btn--buy {
  background: var(--main);
  color: #fff;
  font-size: 12px;
}

.btn--buy:disabled {
  opacity: .5;
  cursor: not-allowed
}

.btn--wish {
  background: #f3f4f6;
  color: #111827
}

/* お気に入りボタン */
.favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.favorite-btn:hover {
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: scale(1.1);
}

.favorite-btn:active {
  transform: scale(0.95);
}

.favorite-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.favorite-icon {
  width: 24px;
  height: 24px;
  stroke: var(--muted);
  fill: none;
  transition: all 0.2s ease;
}

.favorite-btn.is-favorited .favorite-icon {
  fill: var(--danger);
  stroke: var(--danger);
}

.favorite-btn--guest {
  text-decoration: none;
  color: inherit;
}

.favorite-btn--guest:hover {
  background: var(--white);
}

@media (max-width: 720px) {
  .sp-flex-column {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 3px !important;
  }
}