/**
 * Shop (/shop) — minimal white / black UI (mobile-first)
 * 画像フルブリード + 固定ボトムバー + 商品紹介フェード
 */
:root {
  --shop-bg: #ffffff;
  --shop-text: #000000;
  --shop-muted: #666666;
  --shop-light: #999999;
  --shop-control-bg: #e0e0e0;
  --shop-image-well: #f5f5f5;
  --shop-font: "Inter", "Noto Sans JP", system-ui, sans-serif;
  --shop-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shop-bottom-h: 140px;
  /* 固定ヘッダー分のスクロール余白（実測に合わせてややタイト） */
  --shop-header-h: 58px;
  --shop-max-w: 480px;
}

body.shop-page-body {
  background: var(--shop-bg) !important;
}
.shop-page-body .content-wrapper {
  background: var(--shop-bg) !important;
}
.shop-page-body #app {
  background: var(--shop-bg) !important;
}
.shop-page-body .toggle_btn {
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.shop-page {
  max-width: var(--shop-max-w);
  margin: 0 auto;
  padding: 0 0 calc(var(--shop-bottom-h) + 1rem);
  min-height: 100vh;
  font-family: var(--shop-font);
  color: var(--shop-text);
}
.shop-page-body .container.home-page {
  padding: 0 !important;
  max-width: var(--shop-max-w) !important;
}

/* ── Header ── */
.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.75rem 0.2rem;
  position: fixed;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shop-max-w);
  z-index: 1050;
  pointer-events: none;
}
.shop-header > * {
  pointer-events: auto;
}
.shop-page {
  padding-top: calc(var(--shop-header-h) + 0.28rem);
}
/* style_common の .content-wrapper nav[aria-label="breadcrumb"]（padding-top 1.5rem 等）を打ち消す */
.shop-page-body .content-wrapper nav.shop-breadcrumb-wrap {
  margin-bottom: 0;
  padding: 0 1rem 0.2rem;
  font-size: inherit;
  background: transparent;
  border-radius: 0;
}
.shop-home-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--shop-muted);
  text-decoration: none;
  margin-bottom: 0;
}
.shop-home-back-link:hover {
  color: var(--shop-text);
  text-decoration: none;
}
.shop-home-back-link i {
  font-size: 0.62rem;
}
.shop-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.shop-header-menu {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; background: none; border: none;
  padding: 0; cursor: pointer; color: var(--shop-text);
}
.shop-header-menu span {
  display: block; width: 20px; height: 2px;
  background: currentColor; border-radius: 1px;
}
a.shop-header-menu { text-decoration: none; }
.shop-header-brand {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--shop-text); text-decoration: none;
}
.shop-cart-link {
  position: relative; width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  color: var(--shop-text); text-decoration: none; font-size: 1rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
}
.shop-cart-link i {
  transform: translateY(1px);
}
.shop-cart-link img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}
.shop-cart-count-badge {
  position: absolute; top: -4px; left: -4px;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: #f59e0b; color: #0f172a;
  border: 2px solid #fff;
  font-size: 10px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1; letter-spacing: 0;
  transform: translate(0, 0);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}

/* ── Search ── */
.shop-search-wrap { padding: 0 1rem 0.2rem; }
.shop-search-inner {
  border-bottom: 1px solid #e5e5e5;
  display: flex; align-items: center; gap: 0.5rem; padding-bottom: 0.28rem;
}
.shop-search-icon { color: var(--shop-muted); font-size: 0.85rem; }
.shop-search-input {
  flex: 1; border: none; background: transparent;
  font-size: 0.875rem; color: var(--shop-text); outline: none;
}
.shop-search-input::placeholder { color: #aaa; }

/* ── Filters ── */
.shop-filters {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0 1rem 0.35rem;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.shop-filters::-webkit-scrollbar { display: none; }
.shop-filter-pill {
  flex-shrink: 0; font-size: 0.875rem; font-weight: 400;
  color: var(--shop-muted); text-decoration: none; white-space: nowrap;
  transition: color 0.2s var(--shop-ease);
}
.shop-filter-pill:hover { color: var(--shop-text); }
.shop-filter-pill--active { font-weight: 700; color: var(--shop-text); }

/* style_common の .sns-share / .sns-share--top 余白をショップ一覧では詰める */
.shop-page .sns-share.sns-share--top {
  margin: 0.12rem 0 0.45rem;
}
.shop-page .sns-share-inner {
  gap: 0.32rem;
}

/* ── Carousel ── */
.shop-carousel-section {
  margin-top: 0;
  overflow: hidden;
}
.shop-carousel {
  width: 100%;
  overflow: visible;
  padding: 0.15rem 0 0.1rem;
}
.shop-carousel::-webkit-scrollbar { display: none; }
.shop-carousel .swiper-wrapper {
  align-items: stretch;
}
.shop-slide {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.shop-slide.swiper-slide-prev,
.shop-slide.swiper-slide-next {
  opacity: 0.85;
  transform: scale(0.96);
}
.shop-slide.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}
.shop-slide-inner {
  display: flex; flex-direction: column;
  /* ヘッダー+検索+フィルター+シェア(~88px) + ドット(~25px) + ボトムバー を引く */
  height: calc(100vh - 88px - 25px - var(--shop-bottom-h));
  height: calc(100dvh - 88px - 25px - var(--shop-bottom-h));
  min-height: 220px;
}

/* ── 商品写真：フルブリード ── */
.shop-slide-visual {
  background: var(--shop-image-well);
  width: 100%; flex: 1 1 0; min-height: 0;
  overflow: hidden; position: relative;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  transform: translateZ(0);
}

@media (min-width: 768px) {
  .shop-page {
    --shop-max-w: 560px;
  }
  .shop-page-body .container.home-page {
    max-width: var(--shop-max-w) !important;
  }
  .shop-carousel {
    padding: 0.35rem 0 0.2rem;
  }
}
.shop-slide-img-wrap {
  width: 100%; height: 100%;
  position: absolute; top: 0; left: 0;
}
.shop-slide-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.shop-slide-no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #ccc; font-size: 3rem;
}

/* ── 画像下部グラデーションオーバーレイ ── */
.shop-slide-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 3rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
}
.shop-slide-name {
  font-size: 1.15rem; font-weight: 700;
  margin: 0 0 0.15rem; color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.shop-slide-meta {
  font-size: 0.72rem; color: rgba(255,255,255,0.8);
  margin: 0;
}

/* ── Dots ── */
.shop-dots {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 0.45rem 0 0.1rem;
}
.shop-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: #d4d4d4; border: none; padding: 0; cursor: pointer;
  transition: all 0.25s var(--shop-ease);
}
.shop-dot--active { width: 20px; background: #000; }
.shop-swipe-hint {
  display: flex; align-items: center; justify-content: center;
  gap: 0.35rem; color: #bbb; font-size: 0.68rem; padding: 0.2rem 0;
}

/* ── 商品紹介エリア（カルーセル外） ── */
.shop-product-info {
  padding: 0.6rem 1.15rem 0.5rem;
}
.shop-product-info-inner {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.shop-product-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  border: 1px solid #eceef2;
  border-radius: 16px;
  padding: 0.95rem 0.95rem 0.9rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}
.shop-product-headline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  margin-bottom: 0.5rem;
}
.shop-product-card-title {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.shop-product-gallery-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 0.15rem 0 0.65rem;
  margin-bottom: 0.2rem;
}
.shop-product-gallery-item {
  flex: 0 0 132px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}
.shop-product-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-product-catch {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #4b5563;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.shop-product-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--shop-muted);
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.shop-product-desc p {
  margin: 0 0 0.4rem;
}
.shop-product-desc p:last-child {
  margin-bottom: 0;
}
.shop-product-story-block {
  margin-top: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px dashed #d1d5db;
}
.shop-product-story-block h4 {
  margin: 0 0 0.45rem;
  font-size: 0.77rem;
  font-weight: 700;
  color: #374151;
}
.shop-product-story {
  font-size: 0.8rem;
  line-height: 1.7;
  color: #4b5563;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.shop-product-story p {
  margin: 0 0 0.4rem;
}
.shop-product-story p:last-child {
  margin-bottom: 0;
}

/* ── つくり手セクション ── */
.shop-farmer-story {
  padding: 0.2rem 1.15rem 1.5rem;
}
.shop-farmer-story-inner {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.shop-farmer-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.shop-farmer-divider::before,
.shop-farmer-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}
.shop-farmer-divider span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--shop-light);
  letter-spacing: 0.1em;
}
.shop-farmer-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--shop-text);
}
.shop-farmer-link:hover {
  color: var(--shop-text);
  text-decoration: none;
}
.shop-farmer-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  border: 2px solid #e5e5e5;
}
.shop-farmer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-farmer-avatar i {
  font-size: 1.4rem;
  color: #ccc;
}
.shop-farmer-name {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.shop-farmer-sub {
  font-size: 0.7rem;
  color: var(--shop-light);
  margin-top: 0.15rem;
  text-align: center;
}
.shop-farmer-quote {
  margin: 0.75rem 0 0;
  padding: 0 0.25rem;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #555;
  text-align: center;
}
.shop-farmer-more {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #0f766e;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.01em;
}
.shop-farmer-more:hover {
  color: #0b5500;
  text-decoration: underline;
}

/* ── meHugの想い ── */
.shop-mission {
  padding: 0.2rem 1.15rem 1.8rem;
  text-align: center;
}
.shop-mission-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}
.shop-mission-divider::before,
.shop-mission-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}
.shop-mission-divider span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--shop-light);
  letter-spacing: 0.1em;
}
.shop-mission-headline {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--shop-text);
  margin: 0 0 0.9rem;
  letter-spacing: 0.02em;
}
.shop-mission-text {
  font-size: 0.8rem;
  line-height: 1.75;
  color: #555;
  margin: 0 0 0.7rem;
  text-align: center;
}
.shop-mission-highlight {
  color: #0f766e;
  font-weight: 700;
  background: linear-gradient(transparent 60%, rgba(13,148,136,0.12) 60%);
  padding: 0 0.1em;
  font-size: 1.5rem;
}
.shop-mission-closing {
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.75;
  color: #555;
  margin: 0.3rem 0 0;
}

/* ── 固定ボトムバー ── */
.shop-bottom-bar {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 480px;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.shop-bottom-row {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}
.shop-bottom-price {
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em;
}
.shop-bottom-tax {
  font-size: 0.65rem; font-weight: 400; color: var(--shop-muted);
  margin-left: 0.1rem;
}
.shop-bottom-stock {
  font-size: 0.7rem; font-weight: 600; color: #0b5500;
  background: #ecfdf5; border: 1px solid #bbf7d0;
  border-radius: 999px; padding: 0.12rem 0.5rem;
  margin-left: 0.4rem; white-space: nowrap;
}
.shop-bottom-stock.is-low {
  color: #dc2626; background: #fef2f2; border-color: #fecaca;
}
.shop-bottom-stock.is-out {
  color: #6b7280; background: #f3f4f6; border-color: #e5e7eb;
}
/* 寄付メッセージ */
.shop-bottom-donation {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  margin-bottom: 0.45rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border-radius: 8px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #15803d;
  min-height: 0;
  transition: all 0.25s ease;
}
.shop-bottom-donation:empty {
  display: none;
}
.shop-bottom-donation i {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: #16a34a;
}
.shop-bottom-donation strong {
  font-weight: 700;
}
.shop-bottom-form {
  margin: 0;
}
.shop-bottom-btn {
  display: block; width: 100%;
  padding: 0.8rem 1rem;
  background: #000; color: #fff !important;
  font-size: 0.95rem; font-weight: 700;
  text-align: center; text-decoration: none;
  border: none; border-radius: 10px;
  cursor: pointer; letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}
.shop-bottom-btn:hover { opacity: 0.88; color: #fff !important; }
.shop-bottom-btn:disabled,
.shop-bottom-btn--disabled {
  opacity: 0.4; cursor: not-allowed;
}

/* 数量コントロール（ボトムバー用） */
.shop-qty {
  display: flex; align-items: center; gap: 0.6rem;
}
.shop-qty-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: var(--shop-control-bg);
  color: var(--shop-text); font-size: 1.05rem; line-height: 1;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.shop-qty-btn:hover:not(:disabled) { background: #d0d0d0; }
.shop-qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.shop-qty-value {
  font-size: 1rem; font-weight: 600;
  min-width: 1.25rem; text-align: center;
}

/* ── Empty ── */
.shop-empty {
  padding: 4rem 1.5rem; text-align: center;
  color: var(--shop-muted); font-size: 0.9rem;
}
.shop-empty i {
  font-size: 2.5rem; color: #e5e5e5;
  margin-bottom: 1rem; display: block;
}

/* ── Pagination ── */
.shop-page .pagination { justify-content: center; margin-top: 0.5rem; }
.shop-page .page-link {
  background: #fff !important; border-color: #e5e5e5 !important;
  color: var(--shop-muted) !important; border-radius: 6px !important;
  margin: 0 2px; font-size: 0.8rem;
}
.shop-page .page-item.active .page-link {
  background: #000 !important; border-color: #000 !important; color: #fff !important;
}
.shop-page .page-link:hover {
  color: var(--shop-text) !important; border-color: #ccc !important;
}

/* ── 購入履歴フローティングボタン ── */
.shop-history-fab {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 0;
  outline: none;
  border-radius: 50%;
  /* box-shadow: 0 3px 12px rgba(0,0,0,0.14); */
  color: var(--shop-text);
  font-size: 0.95rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}
/* .shop-history-fab:hover {
  box-shadow: 0 3px 12px rgba(0,0,0,0.14);
  transform: none;
} */
.shop-history-fab:active {
  transform: none;
  box-shadow: 0 3px 12px rgba(0,0,0,0.14);
}

/* ── 購入履歴ボトムシート ── */
.shop-history-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--shop-ease);
}
.shop-history-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}
.shop-history-sheet {
  position: fixed;
  left: 50%;
  top: clamp(72px, 11vh, 120px);
  transform: translateX(-50%) translateY(20px);
  width: 100%; max-width: 480px;
  max-height: calc(100dvh - clamp(72px, 11vh, 120px) - 16px);
  background: #fff;
  border-radius: 20px;
  z-index: 1201;
  display: flex; flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s var(--shop-ease), opacity 0.28s var(--shop-ease);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.12);
  height: 100vh;
}
.shop-history-sheet.is-active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.shop-history-handle {
  width: 36px; height: 4px;
  background: #d4d4d4;
  border-radius: 999px;
  margin: 10px auto 0;
  flex-shrink: 0;
}
.shop-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem 0.6rem;
  flex-shrink: 0;
}
.shop-history-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--shop-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.shop-history-title i {
  font-size: 0.9rem;
  color: var(--shop-muted);
}
.shop-history-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #f5f5f5; border: none; border-radius: 50%;
  color: var(--shop-muted); font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.shop-history-close:hover { background: #ebebeb; }
.shop-history-body {
  flex: 1 1 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 1.15rem 1.5rem;
}

/* ── 注文カード ── */
.sh-order {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 0.85rem 0.9rem;
  margin-bottom: 0.65rem;
  transition: box-shadow 0.2s ease;
}
.sh-order:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.sh-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}
.sh-order-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--shop-muted);
}
.sh-status {
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  letter-spacing: 0.02em;
}
.sh-paid { background: #dcfce7; color: #166534; }
.sh-pending { background: #fef9c3; color: #92400e; }
.sh-canceled { background: #fee2e2; color: #b91c1c; }

/* ── 商品行 ── */
.sh-items {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.sh-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sh-item-img {
  width: 44px; height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: #f0f0f0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sh-item-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.sh-item-img i {
  font-size: 1rem;
  color: #ccc;
}
.sh-item-info {
  flex: 1;
  min-width: 0;
}
.sh-item-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--shop-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sh-item-detail {
  font-size: 0.72rem;
  color: var(--shop-muted);
  margin-top: 0.08rem;
}

/* ── 注文フッター ── */
.sh-order-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
  padding-top: 0.5rem;
  border-top: 1px solid #eeeeee;
}
.sh-shipping {
  font-size: 0.72rem;
  color: #0b5500;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.sh-shipping i { font-size: 0.7rem; }
.sh-total {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--shop-text);
}

/* ── すべて見るリンク ── */
.sh-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0f766e;
  text-decoration: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  transition: background 0.2s ease;
}
.sh-view-all:hover {
  background: #dcfce7;
  color: #0f766e;
  text-decoration: none;
}
.sh-view-all i { font-size: 0.65rem; }

/* ── 空状態 ── */
.sh-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  color: var(--shop-muted);
}
.sh-empty i {
  font-size: 2rem;
  color: #e5e5e5;
  margin-bottom: 0.7rem;
}
.sh-empty p {
  margin: 0;
  font-size: 0.85rem;
}

/* ── 割引価格表示 ── */
.shop-price-original { text-decoration: line-through; color: #9ca3af; font-size: 0.85em; margin-right: 0.2rem; }
.shop-price-sale { color: #dc2626; font-weight: 700; }
.shop-discount-badge { background: #dc2626; color: #fff; font-size: 0.65rem; font-weight: 700; border-radius: 4px; padding: 0.1rem 0.4rem; margin-left: 0.3rem; vertical-align: middle; }

/* ── ショップ専用：不要UI非表示 ── */
.shop-page-body .bottom-nav,
.shop-page-body .share-float-btn,
.shop-page-body #shareModal {
  display: none !important;
}
