/* ===== momo トップページ ===== */
#momo-home {
  --mh-pink: #ff9ec4;
  --mh-rose: #c96b82;
  --mh-rose-dark: #9e4d62;
  --mh-text: #3b3532;
  --mh-sub: #7a716c;
  --mh-tint: #fbf1f3;
  --mh-card: #ffffff;
  --mh-line: #eadfdc;
  color: var(--mh-text);
  font-family: Arial, "Helvetica Neue", sans-serif;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 16px 24px;
  box-sizing: border-box;
}
#momo-home a { color: inherit; text-decoration: none; }
#momo-home img { display: block; max-width: 100%; }

/* お知らせバー */
.mh-ticker { background: var(--mh-rose); color: #fff; overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: bold; margin: 0 -16px; }
.mh-ticker-track { display: inline-block; padding: 8px 0; animation: mh-ticker 32s linear infinite; }
.mh-ticker-track span { margin: 0 28px; }
@keyframes mh-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* メインバナー */
.mh-hero { margin: 16px -16px 0; }
.mh-hero-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 9%; scrollbar-width: none; }
.mh-hero-track::-webkit-scrollbar { display: none; }
.mh-banner { flex: 0 0 82%; scroll-snap-align: center; border-radius: 18px; overflow: hidden; display: flex; align-items: stretch; min-height: 200px; position: relative; }
.mh-banner--a { background: linear-gradient(135deg, #ffe3ec, #ffc4d8); }
.mh-banner--b { background: linear-gradient(135deg, #e7e3ff, #c9d6ff); }
.mh-banner--c { background: linear-gradient(135deg, #e6f2ec, #c7e3d4); }
.mh-banner--d { background: linear-gradient(135deg, #fff1db, #ffd9a8); }
.mh-banner-text { flex: 1 1 52%; padding: 22px 0 22px 20px; display: flex; flex-direction: column; justify-content: center; gap: 8px; z-index: 1; }
.mh-banner-text small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mh-rose-dark); font-weight: bold; }
.mh-banner-text strong { font-family: Georgia, serif; font-size: 22px; line-height: 1.2; }
.mh-banner-cta { align-self: flex-start; background: var(--mh-text); color: #fff; font-size: 12px; font-weight: bold; padding: 7px 14px; border-radius: 999px; margin-top: 4px; }
.mh-banner-img { flex: 1 1 48%; background-size: contain; background-repeat: no-repeat; background-position: center; margin: 12px 12px 12px 0; border-radius: 12px; background-color: rgba(255,255,255,.6); }
.mh-banner-img--icon { display: flex; align-items: center; justify-content: center; font-size: 64px; background: rgba(255,255,255,.5); }
.mh-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.mh-dots span { width: 7px; height: 7px; border-radius: 50%; background: #d9cfcc; transition: background .2s, transform .2s; }
.mh-dots span.is-active { background: var(--mh-rose); transform: scale(1.25); }

/* 検索 */
.mh-search { background: var(--mh-tint); margin: 18px -16px 0; padding: 16px; }
.mh-search input[type=search] { width: 100%; box-sizing: border-box; border: 1px solid var(--mh-line); border-radius: 999px; padding: 12px 18px 12px 42px; font-size: 15px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%237a716c' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='m13 13 4 4'/%3E%3C/svg%3E") no-repeat 16px center; }
.mh-keywords { display: flex; gap: 14px; overflow-x: auto; white-space: nowrap; margin-top: 12px; font-size: 13px; scrollbar-width: none; }
.mh-keywords::-webkit-scrollbar { display: none; }
.mh-keywords-label { font-weight: bold; }
.mh-keywords a { color: var(--mh-rose-dark) !important; }

/* 安心ポイント */
.mh-trust { margin-top: 20px; }
.mh-trust-points { display: grid; gap: 10px; }
.mh-trust-point { display: flex; gap: 12px; align-items: center; background: var(--mh-card); border: 1px solid var(--mh-line); border-radius: 14px; padding: 12px 14px; }
.mh-trust-point strong { display: block; font-size: 15px; }
.mh-trust-point small { color: var(--mh-sub); font-size: 12px; }
.mh-trust-icon { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--mh-tint); color: var(--mh-rose); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; }
.mh-ebay { margin-top: 12px; background: linear-gradient(135deg, #fff4f7, #fff); border: 1px solid var(--mh-line); border-radius: 16px; padding: 16px; }
.mh-ebay-score { display: flex; flex-direction: column; gap: 2px; }
.mh-ebay-score small { line-height: 1.4; }
.mh-ebay-score strong { display: block; font-size: 17px; }
.mh-ebay-score small { color: var(--mh-sub); font-size: 12px; }
.mh-ebay-stars { color: #f2a93b; font-size: 20px; letter-spacing: 1px; }
.mh-reviews { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 12px -4px 0; padding: 0 4px 4px; scrollbar-width: none; }
.mh-reviews::-webkit-scrollbar { display: none; }
.mh-reviews blockquote { flex: 0 0 78%; scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--mh-line); border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.5; font-style: normal; }
.mh-reviews cite { display: block; margin-top: 8px; color: var(--mh-sub); font-size: 11px; font-style: normal; }
.mh-ebay-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; align-items: center; margin-top: 10px; }
.mh-ebay-foot small { color: var(--mh-sub); font-size: 11px; }
.mh-ebay-foot a { color: var(--mh-rose-dark) !important; font-weight: bold; font-size: 13px; }

/* セクション共通 */
.mh-section { margin-top: 34px; }
.mh-section--tint { background: var(--mh-tint); margin-left: -16px; margin-right: -16px; padding: 26px 16px; }
.mh-title { font-family: Georgia, serif; font-size: 28px; letter-spacing: .02em; color: var(--mh-rose-dark); margin: 0 0 16px; line-height: 1.1; }
.mh-title span { font-family: Arial, sans-serif; font-size: 13px; color: var(--mh-text); font-weight: bold; margin-left: 8px; letter-spacing: 0; }
.mh-more { display: block; text-align: center; border: 2px solid var(--mh-rose); color: var(--mh-rose-dark) !important; font-weight: bold; border-radius: 999px; padding: 12px; margin: 18px auto 0; max-width: 360px; background: #fff; }

/* カテゴリー */
.mh-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 10px; }
.mh-cat { text-align: center; font-size: 12px; font-weight: bold; color: var(--mh-rose-dark); }
.mh-cat-img { aspect-ratio: 1; border-radius: 18px; background: var(--mh-tint) center / 78% no-repeat; margin-bottom: 6px; }

/* ブランド */
.mh-brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mh-brand { background: #fff; aspect-ratio: 3 / 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6px; border-radius: 6px; }
.mh-brand strong { font-family: Georgia, serif; font-size: 17px; line-height: 1.15; }
.mh-brand small { color: var(--mh-sub); font-size: 11px; margin-top: 4px; }

/* タブ */
.mh-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; scrollbar-width: none; }
.mh-tabs::-webkit-scrollbar { display: none; }
.mh-tabs button { flex: 0 0 auto; border: 0; border-radius: 999px; padding: 8px 16px; background: #f1ebe9; color: var(--mh-text); font-weight: bold; font-size: 13px; cursor: pointer; }
.mh-tabs button.is-active { background: var(--mh-rose); color: #fff; }

/* 商品カード */
.mh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
.mh-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
.mh-row::-webkit-scrollbar { display: none; }
.mh-row .mh-product { flex: 0 0 42%; scroll-snap-align: start; }
.mh-product { position: relative; font-size: 13px; }
.mh-product-img { aspect-ratio: 1; background: #fff center / contain no-repeat; border-radius: 12px; border: 1px solid var(--mh-line); }
.mh-product-name { margin-top: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.mh-product-price { font-weight: bold; font-size: 15px; margin-top: 4px; }
.mh-product-soldout { color: var(--mh-sub); font-size: 11px; font-weight: normal; margin-left: 6px; }
.mh-rank { position: absolute; top: 6px; left: 6px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; font-size: 14px; background: #a39a96; box-shadow: 0 2px 4px rgba(0,0,0,.15); }
.mh-rank--1 { background: #c9a64b; }
.mh-rank--2 { background: #a8adb4; }
.mh-rank--3 { background: #b07a52; }
.mh-skeleton { background: linear-gradient(90deg, #f3eeec 25%, #faf6f5 50%, #f3eeec 75%); background-size: 200% 100%; animation: mh-shine 1.2s infinite; border-radius: 12px; aspect-ratio: 1; }
@keyframes mh-shine { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* 購入方法 */
.mh-cards2 { display: grid; gap: 10px; }
.mh-card2 { background: #fff; border-radius: 14px; padding: 16px; display: block; }
.mh-card2 strong { display: block; font-size: 16px; }
.mh-card2 small { display: block; color: var(--mh-sub); margin: 4px 0 8px; }
.mh-card2 span { color: var(--mh-rose-dark); font-weight: bold; font-size: 13px; }
.mh-social { display: flex; justify-content: center; gap: 22px; margin-top: 16px; font-weight: bold; }
.mh-social a { color: var(--mh-rose-dark) !important; }

/* よくある質問 */
.mh-faq { border-bottom: 1px solid var(--mh-line); padding: 12px 0; }
.mh-faq summary { font-weight: bold; cursor: pointer; list-style: none; position: relative; padding-right: 24px; }
.mh-faq summary::-webkit-details-marker { display: none; }
.mh-faq summary::after { content: "+"; position: absolute; right: 4px; color: var(--mh-rose); font-size: 18px; line-height: 1; }
.mh-faq[open] summary::after { content: "−"; }
.mh-faq p { margin: 8px 0 0; color: var(--mh-sub); font-size: 14px; line-height: 1.6; }

/* スマホ下部の固定メニュー */
.mh-bottom-nav { display: none; }
@media (max-width: 689.98px) {
  .mh-bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #fff; border-top: 1px solid var(--mh-line, #eadfdc); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
  .mh-bottom-nav a { flex: 1; text-align: center; font-size: 10px; color: #3b3532 !important; text-decoration: none; }
  .mh-bottom-nav svg { display: block; margin: 0 auto 2px; width: 22px; height: 22px; stroke: #c96b82; }
  body { padding-bottom: 64px; }
}

/* パソコン */
@media (min-width: 690px) {
  .mh-ticker, .mh-hero, .mh-search, .mh-section--tint { margin-left: 0; margin-right: 0; }
  .mh-ticker { border-radius: 0; }
  .mh-hero-track { padding: 0 4%; }
  .mh-banner { flex-basis: 46%; min-height: 260px; }
  .mh-banner-text strong { font-size: 28px; }
  .mh-search { border-radius: 18px; display: flex; align-items: center; gap: 24px; }
  .mh-search form { flex: 0 0 40%; }
  .mh-keywords { margin-top: 0; }
  .mh-trust { display: grid; grid-template-columns: 1fr 1.3fr; gap: 14px; align-items: start; }
  .mh-ebay { margin-top: 0; }
  .mh-ebay-score { flex-direction: row; align-items: center; gap: 12px; }
  .mh-reviews blockquote { flex-basis: 46%; }
  .mh-section--tint { border-radius: 22px; padding: 30px 28px; }
  .mh-title { font-size: 34px; }
  .mh-cat-grid { grid-template-columns: repeat(8, 1fr); }
  .mh-brand-grid { grid-template-columns: repeat(6, 1fr); }
  .mh-grid { grid-template-columns: repeat(5, 1fr); }
  .mh-row { margin-right: 0; padding-right: 0; }
  .mh-row .mh-product { flex-basis: calc(20% - 10px); }
  .mh-cards2 { grid-template-columns: 1fr 1fr; }
  .mh-faq-wrap { max-width: 760px; }
}

/* ===== ストア・カテゴリー・ブランド・検索結果のページ ===== */
.ms-filters { margin: 0 0 18px; }
.ms-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.ms-chips::-webkit-scrollbar { display: none; }
.ms-chips a { flex: 0 0 auto; padding: 8px 16px; border-radius: 999px; background: #f1ebe9; color: #3b3532 !important; font-weight: bold; font-size: 13px; text-decoration: none; }
.ms-chips a.is-active { background: #c96b82; color: #fff !important; }
.ms-chips--sub { margin-top: 8px; }
.ms-chips--sub a { padding: 6px 12px; font-size: 12px; background: #fff; border: 1px solid #eadfdc; }
.ms-chips--sub a.is-active { background: #fbf1f3; border-color: #c96b82; color: #9e4d62 !important; }
.ms-panel { border-top: 1px solid #eadfdc; border-bottom: 1px solid #eadfdc; margin-top: 12px; }
.ms-panel + .ms-panel { margin-top: 0; border-top: 0; }
.ms-panel summary { list-style: none; cursor: pointer; padding: 13px 4px; font-weight: bold; position: relative; }
.ms-panel summary::-webkit-details-marker { display: none; }
.ms-panel summary::after { content: "+"; position: absolute; right: 6px; color: #c96b82; font-size: 20px; line-height: 1; top: 12px; }
.ms-panel[open] summary::after { content: "−"; }
.ms-tree, .ms-tree ul { list-style: none; margin: 0; padding: 0; }
.ms-tree { padding: 0 4px 12px; }
.ms-tree > li { padding: 6px 0; }
.ms-tree > li > a { font-weight: bold; }
.ms-tree ul { padding-left: 14px; }
.ms-tree ul li { padding: 4px 0; }
.ms-tree a, .ms-brands a { color: #3b3532 !important; text-decoration: none; }
.ms-tree small, .ms-brands small { color: #7a716c; font-size: 11px; margin-left: 4px; }
.ms-brands { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 4px 14px; }
.ms-brands a { border: 1px solid #eadfdc; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; }

/* 商品カードの写真: 切り取らず正方形に収める */
body.archive ul.products .ct-media-container,
body.search ul.products .ct-media-container { aspect-ratio: 1 / 1 !important; background: #fff; border-radius: 12px; overflow: hidden; }
body.archive ul.products .ct-media-container img,
body.search ul.products .ct-media-container img { aspect-ratio: 1 / 1 !important; object-fit: contain !important; width: 100%; height: 100%; }

/* 大きな見出し画像をやめて、タイトルだけのコンパクトな見出しにする */
body.archive .hero-section[data-type="type-2"],
body.search .hero-section[data-type="type-2"] { min-height: 0 !important; height: auto !important; padding: 22px 0 !important; background: #fbf1f3 !important; }
body.archive .hero-section[data-type="type-2"] > figure,
body.search .hero-section[data-type="type-2"] > figure { display: none !important; }
body.archive .hero-section[data-type="type-2"] .entry-header,
body.search .hero-section[data-type="type-2"] .entry-header { position: static !important; min-height: 0 !important; padding: 0 16px !important; }
body.archive .hero-section .page-title,
body.search .hero-section .page-title { font-size: 26px !important; margin: 0 !important; color: #3b3532 !important; }

@media (max-width: 689.98px) {
  /* スマホは2列 */
  body.archive ul.products,
  body.search ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 12px !important; }
  body.archive ul.products .woocommerce-loop-product__title,
  body.search ul.products .woocommerce-loop-product__title { font-size: 13px !important; line-height: 1.4 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px !important; }
  body.archive ul.products .price,
  body.search ul.products .price { font-size: 14px !important; }
  body.archive ul.products .button,
  body.search ul.products .button { font-size: 12px !important; padding: 8px 10px !important; min-height: 0 !important; }
  /* スマホの商品カードは写真・名前・価格だけにする(カテゴリー名・カートボタン・お気に入りボタンは商品ページで) */
  body.archive ul.products .entry-meta,
  body.archive ul.products .ct-woo-card-actions,
  body.archive ul.products .yith-add-to-wishlist-button-block,
  body.search ul.products .entry-meta,
  body.search ul.products .ct-woo-card-actions,
  body.search ul.products .yith-add-to-wishlist-button-block { display: none !important; }
  /* 件数(「Mostrando 1–24 de 63 resultados」)をスマホでも表示 */
  .woo-listing-top .woocommerce-result-count.ct-hidden-sm { display: block !important; font-size: 13px; margin: 0; }
  .woo-listing-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
}
