@charset "UTF-8";

/*!
Theme Name: Famima.life Cocoon Child
Description: famima.life renewal child theme for Cocoon.
Theme URI: https://famima.life/
Author: famima.life
Template: cocoon-master
Version: 2026.05.08.01
*/

:root {
  --fm-blue: #00a0e9;
  --fm-blue-dark: #0076b6;
  --fm-green: #00a86b;
  --fm-green-dark: #08784f;
  --fm-lime: #b7d968;
  --fm-bg: #f7faf8;
  --fm-surface: #ffffff;
  --fm-surface-soft: #f2f7f5;
  --fm-text: #1f2a2e;
  --fm-muted: #65737a;
  --fm-line: #dde8e4;
  --fm-line-strong: #b8cdc6;
  --fm-warn: #f5a623;
  --fm-shadow: 0 12px 30px rgba(31, 42, 46, 0.08);
}

body {
  background: var(--fm-bg);
  color: var(--fm-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fm-site {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0, var(--fm-bg) 460px, #ffffff 100%);
}

.fm-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(221, 232, 228, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.fm-header-shell,
.fm-footer-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.fm-header-shell {
  display: grid;
  min-height: 74px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.fm-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fm-blue-dark);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.fm-brand-mark {
  display: grid;
  width: 24px;
  height: 18px;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.fm-brand-mark span {
  border-radius: 2px;
  background: var(--fm-blue);
}

.fm-brand-mark span:nth-child(2),
.fm-brand-mark span:nth-child(5) {
  background: var(--fm-green);
}

.fm-brand-mark span:nth-child(3),
.fm-brand-mark span:nth-child(6) {
  background: var(--fm-lime);
}

.fm-global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 800;
}

.fm-global-nav a {
  position: relative;
  padding: 25px 0 23px;
  color: #26343a;
  text-decoration: none;
}

.fm-global-nav a.is-active {
  color: var(--fm-blue-dark);
}

.fm-global-nav a.is-active::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--fm-blue);
  content: "";
}

.fm-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fm-icon-button {
  display: inline-flex;
  min-width: 54px;
  min-height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: #fff;
  color: #243238;
  font-weight: 800;
  text-decoration: none;
}

.fm-icon-button span {
  font-size: 22px;
  line-height: 1;
}

.fm-icon-button small {
  font-size: 10px;
  font-weight: 700;
}

.fm-site-main {
  overflow: hidden;
}

.fm-page {
  color: var(--fm-text);
  font-size: 15px;
  line-height: 1.75;
}

.fm-page *,
.fm-page *::before,
.fm-page *::after {
  box-sizing: border-box;
}

.fm-page a {
  color: inherit;
  text-decoration: none;
}

.fm-page a:hover {
  color: var(--fm-blue-dark);
}

.fm-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
}

.fm-section {
  margin: 34px 0;
}

.fm-section-head,
.fm-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.fm-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: var(--fm-green-dark);
  font-size: 12px;
  font-weight: 700;
}

.fm-section h2,
.fm-list-head h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: 0;
}

.fm-section-note,
.fm-muted {
  color: var(--fm-muted);
  font-size: 13px;
}

.fm-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fm-blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.fm-link::after {
  content: ">";
  color: var(--fm-green);
}

.fm-hero {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 48px 0 42px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 255, 0.82)),
    #f5fbff;
  box-shadow: none;
}

.fm-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 86px;
  background: linear-gradient(180deg, rgba(255,255,255,0), var(--fm-bg));
  content: "";
  pointer-events: none;
}

.fm-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
  align-items: center;
  gap: 34px;
}

.fm-hero h1 {
  max-width: 680px;
  margin: 0 0 14px;
  font-size: 48px;
  line-height: 1.18;
  letter-spacing: 0;
}

.fm-hero h1 strong {
  color: var(--fm-green);
}

.fm-hero-copy {
  max-width: 630px;
  margin: 0 0 24px;
  color: #334148;
  font-size: 16px;
}

.fm-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(680px, 100%);
  padding: 8px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: var(--fm-surface);
  box-shadow: 0 10px 22px rgba(31, 42, 46, 0.07);
}

.fm-search input[type="search"] {
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--fm-text);
  font-size: 15px;
  outline: 0;
}

.fm-search button,
.fm-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px;
  border: 1px solid var(--fm-green);
  border-radius: 8px;
  background: var(--fm-green);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.fm-detail-copy a.fm-button,
.fm-detail-copy a.fm-button:visited,
.fm-detail-copy a.fm-button:hover,
.fm-official-check-panel a.fm-button,
.fm-official-check-panel a.fm-button:visited,
.fm-official-check-panel a.fm-button:hover {
  color: #fff;
}

.fm-detail-copy .fm-fact-table + p {
  margin-top: 18px;
}

.fm-detail-copy a.fm-button {
  margin-top: 2px;
}

.fm-detail-copy a.fm-button--ghost,
.fm-detail-copy a.fm-button--ghost:visited,
.fm-detail-copy a.fm-button--ghost:hover {
  color: var(--fm-green-dark);
}

.fm-official-check-panel a.fm-button {
  margin-top: 14px;
}

.fm-search button:hover,
.fm-button:hover {
  background: var(--fm-green-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 168, 107, 0.18);
}

.fm-button--ghost {
  background: #fff;
  color: var(--fm-green-dark);
}

.fm-button--ghost:hover {
  background: var(--fm-surface-soft);
  color: var(--fm-green-dark);
}

.fm-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.fm-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--fm-line);
  border-radius: 999px;
  background: #fff;
  color: #27353a;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.fm-chip:hover,
.fm-chip.is-active {
  border-color: rgba(0, 168, 107, 0.38);
  background: #effaf5;
  color: var(--fm-green-dark);
}

.fm-hero-scene {
  position: relative;
  min-height: 355px;
}

.fm-hero-product {
  position: absolute;
  display: block;
  width: 42%;
  min-height: 120px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.fm-hero-product img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.fm-hero-product span {
  display: block;
  overflow: hidden;
  margin-top: 8px;
  color: #243238;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fm-hero-product--1 {
  top: 20px;
  left: 24%;
  width: 32%;
}

.fm-hero-product--2 {
  top: 62px;
  right: 4%;
  width: 34%;
}

.fm-hero-product--3 {
  top: 130px;
  left: 2%;
  width: 36%;
}

.fm-hero-product--4 {
  right: 18%;
  bottom: 10px;
  width: 38%;
}

.fm-hero-product--5 {
  right: 0;
  bottom: 70px;
  width: 28%;
}

.fm-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.fm-stat {
  padding: 12px 14px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.fm-stat strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.fm-stat span {
  color: var(--fm-muted);
  font-size: 12px;
}

.fm-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.fm-category-card,
.fm-tool-card,
.fm-guide-card {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: var(--fm-surface);
  box-shadow: 0 10px 24px rgba(31, 42, 46, 0.05);
}

.fm-category-card:hover,
.fm-tool-card:hover,
.fm-guide-card:hover {
  border-color: rgba(0, 160, 233, 0.38);
  box-shadow: 0 14px 30px rgba(31, 42, 46, 0.09);
  transform: translateY(-1px);
}

.fm-category-card {
  min-height: 170px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.fm-category-image {
  display: flex;
  width: 100%;
  height: 88px;
  align-items: center;
  justify-content: center;
}

.fm-category-image img {
  width: 100%;
  height: 86px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.fm-category-mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #edf8ff;
  color: var(--fm-blue-dark);
  font-weight: 800;
}

.fm-category-card strong,
.fm-tool-card strong,
.fm-guide-card strong {
  display: block;
  font-size: 17px;
}

.fm-category-card span,
.fm-tool-card span,
.fm-guide-card span {
  display: block;
  margin-top: 4px;
  color: var(--fm-muted);
  font-size: 12px;
}

.fm-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.fm-product-carousel {
  display: grid;
  grid-auto-columns: minmax(180px, 1fr);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-snap-type: x mandatory;
}

.fm-product-carousel .fm-product-card {
  min-width: 180px;
  scroll-snap-align: start;
}

.fm-product-grid.is-list {
  grid-template-columns: 1fr;
}

.fm-product-card {
  position: relative;
  display: grid;
  min-height: 100%;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: var(--fm-surface);
  box-shadow: 0 10px 24px rgba(31, 42, 46, 0.05);
}

.fm-product-card:hover {
  border-color: rgba(0, 168, 107, 0.42);
  box-shadow: 0 16px 30px rgba(31, 42, 46, 0.1);
  transform: translateY(-1px);
}

.fm-product-grid.is-list .fm-product-card {
  grid-template-columns: 150px 1fr;
  grid-template-rows: auto;
}

.fm-product-thumb {
  position: relative;
  display: flex;
  min-height: 175px;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 8px;
  background: #fbfdfc;
}

.fm-product-grid.is-list .fm-product-thumb {
  min-height: 145px;
}

.fm-product-thumb img {
  display: block;
  width: 100%;
  max-height: 145px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.fm-no-image {
  display: flex;
  width: 100%;
  min-height: 130px;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--fm-line-strong);
  border-radius: 8px;
  color: var(--fm-muted);
  font-size: 12px;
  text-align: center;
}

.fm-badge-row {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fm-badge {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--fm-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.fm-badge--green {
  background: var(--fm-green);
}

.fm-badge--category {
  background: var(--fm-blue);
  color: #fff !important;
  text-decoration: none;
}

.fm-badge--category:visited,
.fm-badge--category:hover {
  color: #fff !important;
  text-decoration: none;
}

.fm-badge--orange {
  background: var(--fm-warn);
}

.fm-product-body {
  position: relative;
  padding: 14px;
}

.fm-product-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 24px;
}

.fm-product-item-card {
  padding: 18px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: #fff;
}

.fm-product-item-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.45;
}

.fm-product-item-card dl {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
}

.fm-product-item-card dt,
.fm-product-item-card dd {
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid var(--fm-line);
  font-size: 13px;
  line-height: 1.6;
}

.fm-product-item-card dt {
  background: #f2f8f6;
  color: var(--fm-muted);
  font-weight: 800;
}

.fm-product-item-card dd {
  background: #fff;
}

.fm-product-item-card dt:last-of-type,
.fm-product-item-card dd:last-of-type {
  border-bottom: 0;
}

.fm-product-title {
  display: -webkit-box;
  overflow: hidden;
  min-height: 45px;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fm-product-price {
  display: block;
  color: var(--fm-text);
  font-size: 15px;
  font-weight: 800;
}

.fm-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.fm-product-meta span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 7px;
  border: 1px solid var(--fm-line);
  border-radius: 999px;
  background: #fff;
  color: var(--fm-muted);
  font-size: 11px;
}

.fm-card-heart {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fm-line);
  border-radius: 999px;
  background: #fff;
  color: #8b9aa0;
  font-weight: 800;
}

.fm-ranking-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.fm-ranking-card {
  position: relative;
}

.fm-rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--fm-warn);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.fm-campaign-band {
  display: grid;
  min-height: 176px;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: 28px 34px;
  border: 1px solid #f7cad5;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.94), rgba(255,255,255,0.5)),
    #ffe9ef;
}

.fm-campaign-band h2 {
  margin: 0 0 6px;
  color: #d93665;
  font-size: 42px;
  letter-spacing: 0;
}

.fm-campaign-band p {
  margin: 0 0 18px;
  color: #5f3f49;
}

.fm-campaign-products {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.fm-campaign-products img {
  width: 110px;
  height: 130px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.fm-trend-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.fm-trend-card {
  overflow: hidden;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 42, 46, 0.05);
}

.fm-trend-card img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.fm-trend-card strong {
  display: block;
  padding: 12px 14px 3px;
  font-size: 14px;
}

.fm-trend-card span {
  display: block;
  padding: 0 14px 14px;
  color: var(--fm-muted);
  font-size: 12px;
}

.fm-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: var(--fm-surface);
}

.fm-view-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: var(--fm-surface-soft);
}

.fm-view-toggle button {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--fm-muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.fm-view-toggle button[aria-pressed="true"] {
  background: #fff;
  color: var(--fm-green-dark);
  box-shadow: 0 3px 10px rgba(31, 42, 46, 0.08);
}

.fm-archive-hero,
.fm-page-hero {
  padding: 28px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: var(--fm-surface);
  box-shadow: var(--fm-shadow);
}

.fm-category-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.fm-category-rail .fm-category-card {
  min-height: 132px;
  padding: 12px;
}

.fm-category-rail .fm-category-card.is-active {
  border-color: var(--fm-green);
  box-shadow: inset 0 0 0 1px var(--fm-green);
}

.fm-category-rail .fm-category-image {
  height: 66px;
}

.fm-category-rail .fm-category-image img {
  height: 64px;
}

.fm-category-rail .fm-category-label span {
  display: none;
}

.fm-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.fm-filter-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: #fff;
  color: #26343a;
  font-size: 13px;
  font-weight: 800;
}

.fm-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--fm-muted);
  font-size: 12px;
}

.fm-detail .fm-breadcrumb {
  margin-top: 26px;
}

.fm-detail-search-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 18px 0;
}

.fm-detail-search-panel p.fm-detail-search-panel__title {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--fm-text);
  font-weight: 900;
}

.fm-detail-search-panel p {
  margin: 0;
  color: var(--fm-muted);
  font-size: 13px;
  line-height: 1.7;
}

.fm-detail-search-panel .fm-search {
  width: 100%;
  margin: 0;
}

.fm-archive-hero h1,
.fm-page-hero h1 {
  margin: 0 0 10px;
  font-size: 36px;
  letter-spacing: 0;
}

.fm-detail-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: var(--fm-surface);
  box-shadow: var(--fm-shadow);
}

.fm-detail-image {
  position: relative;
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: #fbfdfc;
}

.fm-detail-thumbs {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
}

.fm-detail-thumbs span {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: #fff;
}

.fm-detail-thumbs img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.fm-detail-image img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.fm-detail-copy h1 {
  margin: 10px 0 12px;
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: 0;
}

.fm-detail-lead {
  color: #334148;
  font-size: 16px;
}

.fm-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.fm-detail-price {
  font-size: 22px;
}

.fm-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fm-mini-list {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0;
  margin: 0;
}

.fm-mini-list dt,
.fm-mini-list dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--fm-line);
}

.fm-mini-list dt {
  color: var(--fm-muted);
  font-weight: 700;
}

.fm-allergen-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fm-allergen-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #a7d6f1;
  border-radius: 8px;
  background: #f0f9ff;
  color: var(--fm-blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.fm-product-combo {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fm-review-row {
  padding: 14px 0;
  border-top: 1px solid var(--fm-line);
}

.fm-review-row p {
  margin: 4px 0 0;
  color: #405158;
}

.fm-fact-table {
  display: grid;
  grid-template-columns: 150px 1fr;
  overflow: hidden;
  margin: 22px 0 0;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: #fff;
}

.fm-fact-table dt,
.fm-fact-table dd {
  min-height: 44px;
  margin: 0;
  padding: 11px 14px;
  border-bottom: 1px solid var(--fm-line);
}

.fm-fact-table dt {
  background: var(--fm-surface-soft);
  color: var(--fm-muted);
  font-size: 13px;
  font-weight: 700;
}

.fm-fact-table dd {
  font-weight: 700;
}

.fm-fact-missing {
  color: var(--fm-muted);
  font-weight: 700;
}

.fm-fact-table dt:last-of-type,
.fm-fact-table dd:last-of-type {
  border-bottom: 0;
}

.fm-badge--quality {
  border-color: #c9dfeb;
  background: #eef8fd;
  color: var(--fm-blue-dark);
}

.fm-official-status {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin: 12px 0 0;
  padding: 0 12px;
  border: 1px solid var(--fm-line);
  border-radius: 999px;
  background: var(--fm-surface-soft);
  color: var(--fm-muted);
  font-size: 13px;
  font-weight: 800;
}

.fm-content-panel {
  margin: 24px 0;
  padding: 26px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: var(--fm-surface);
}

.fm-content-panel h2 {
  margin-top: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.fm-quality-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
}

.fm-quality-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.fm-quality-head h2 {
  margin-bottom: 6px;
}

.fm-quality-head p {
  margin: 0;
  color: #405158;
}

.fm-quality-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.fm-quality-badge--tier-a {
  background: #e9f8ef;
  color: var(--fm-green-dark);
}

.fm-quality-badge--tier-b {
  background: #eef8fd;
  color: var(--fm-blue-dark);
}

.fm-quality-badge--tier-c {
  background: #fff6e6;
  color: #9a6500;
}

.fm-quality-list {
  margin-top: 8px;
}

.fm-missing-note {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fffaf0;
  color: #7b5a13;
}

.fm-summary-points {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.fm-summary-points__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.fm-summary-points__head h2 {
  margin: 4px 0 8px;
}

.fm-summary-points__head p {
  margin: 0;
  color: #405158;
}

.fm-summary-points__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.fm-summary-point {
  min-width: 0;
  padding: 16px;
  border: 1px solid #d8edf6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 95, 140, 0.06);
}

.fm-summary-point__label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  color: var(--fm-blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.fm-summary-point strong {
  display: block;
  color: var(--fm-ink);
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.fm-summary-point p {
  margin: 8px 0 0;
  color: #5a6a70;
  font-size: 13px;
  line-height: 1.7;
}

.fm-summary-points__checked {
  margin: 14px 0 0;
  color: var(--fm-muted);
  font-size: 13px;
  font-weight: 700;
}

.fm-related-search-links p {
  margin: 0 0 16px;
  color: #405158;
}

.fm-related-search-links__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fm-related-search-links__grid a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #d8edf6;
  border-radius: 8px;
  background: #fff;
  color: var(--fm-blue-dark);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.fm-related-search-links__grid a:hover {
  border-color: var(--fm-blue);
  color: var(--fm-green-dark);
}

.fm-two-column-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fm-two-column-list h3 {
  margin: 0 0 10px;
  font-size: 17px;
  letter-spacing: 0;
}

.fm-two-column-list ul {
  margin: 0;
  padding-left: 1.1em;
}

.fm-two-column-list li + li {
  margin-top: 8px;
}

.fm-official-missing {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid #d9e8ef;
  border-radius: 8px;
  background: #f7fbfd;
}

.fm-official-missing p {
  margin: 6px 0 12px;
  color: #405158;
}

.fm-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid #d6e9e1;
  border-radius: 8px;
  background: #f2fbf7;
}

.fm-notice-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--fm-green-dark);
  font-weight: 900;
}

.fm-notice strong {
  display: block;
  margin-bottom: 3px;
}

.fm-notice p {
  margin: 0;
  color: #405158;
  font-size: 13px;
}

.fm-tools-grid,
.fm-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.fm-guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fm-guide-card {
  min-height: auto;
  gap: 0;
}

.fm-guide-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  border-top: 1px solid var(--fm-line);
  color: var(--fm-blue-dark);
  font-weight: 700;
}

.fm-guide-card a::after {
  content: ">";
}

.fm-empty {
  padding: 28px;
  border: 1px dashed var(--fm-line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--fm-muted);
  text-align: center;
}

.fm-pagination {
  margin: 28px 0;
}

.fm-page-content {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: #fff;
}

.fm-site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--fm-line);
  background: #fff;
}

.fm-footer-shell {
  padding: 34px 0 28px;
}

.fm-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--fm-line);
}

.fm-footer-top p {
  max-width: 520px;
  margin: 0;
  color: var(--fm-muted);
  font-size: 13px;
}

.fm-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding: 26px 0;
}

.fm-footer-columns strong,
.fm-footer-columns a {
  display: block;
}

.fm-footer-columns strong {
  margin-bottom: 10px;
}

.fm-footer-columns a {
  margin: 5px 0;
  color: #42545c;
  font-size: 13px;
}

.fm-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--fm-line);
  padding-top: 18px;
  color: var(--fm-muted);
  font-size: 12px;
}

/* Mockup proximity refinements. */
.fm-header-shell,
.fm-footer-shell,
.fm-shell {
  width: min(1064px, calc(100vw - 40px));
}

.fm-header-shell {
  min-height: 66px;
  gap: 20px;
}

.fm-brand {
  font-size: 18px;
}

.fm-brand-mark {
  width: 22px;
  height: 17px;
}

.fm-global-nav {
  gap: 24px;
  font-size: 13px;
}

.fm-global-nav a {
  padding: 22px 0 20px;
}

.fm-global-nav a.is-active::after {
  bottom: 9px;
  height: 2px;
}

.fm-icon-button {
  min-width: 50px;
  min-height: 50px;
  box-shadow: 0 8px 20px rgba(31, 42, 46, 0.04);
}

.fm-icon-button span {
  font-size: 20px;
}

.fm-hero {
  padding: 36px 0 30px;
  border-bottom: 1px solid rgba(221, 232, 228, 0.7);
  background:
    linear-gradient(90deg, #ffffff 0%, #fbfdff 43%, #e9f7ff 100%),
    #f5fbff;
}

.fm-hero::before {
  position: absolute;
  top: 28px;
  right: max(22px, calc((100vw - 1064px) / 2 + 34px));
  width: 46px;
  height: 18px;
  border-radius: 18px 3px;
  background: #a7d960;
  box-shadow: -74px 48px 0 #b9e17b, -24px 92px 0 #9fd861, 92px 64px 0 #c4e78d;
  content: "";
  opacity: 0.82;
  transform: rotate(-18deg);
}

.fm-hero::after {
  height: 58px;
}

.fm-hero-grid {
  grid-template-columns: minmax(500px, 0.94fr) minmax(390px, 1.06fr);
  gap: 28px;
}

.fm-section-kicker {
  color: var(--fm-blue-dark);
  font-weight: 800;
}

.fm-hero h1 {
  max-width: 540px;
  margin-bottom: 12px;
  font-size: 42px;
  line-height: 1.14;
}

.fm-hero-title-line {
  display: block;
  white-space: nowrap;
}

.fm-hero-copy {
  max-width: none;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.fm-search {
  min-height: 58px;
  padding: 7px;
  border-color: #d4e5ee;
  box-shadow: 0 14px 28px rgba(0, 118, 182, 0.08);
}

.fm-search input[type="search"] {
  height: 42px;
  padding-left: 8px;
  font-size: 14px;
}

.fm-search button,
.fm-button {
  min-height: 42px;
  min-width: 94px;
  font-size: 13px;
}

.fm-chip-row {
  gap: 9px;
  margin-top: 15px;
}

.fm-chip {
  min-height: 35px;
  padding: 0 14px;
  border-color: #d6e9f4;
  color: #314047;
  box-shadow: 0 8px 18px rgba(31, 42, 46, 0.04);
}

.fm-chip::before {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--fm-blue);
  content: "";
}

.fm-chip:nth-child(2)::before,
.fm-chip:nth-child(6)::before {
  background: #ff7a45;
}

.fm-chip:nth-child(3)::before,
.fm-chip:nth-child(7)::before {
  background: var(--fm-green);
}

.fm-chip:nth-child(4)::before,
.fm-chip:nth-child(8)::before {
  background: #54a9ff;
}

.fm-stats {
  display: none;
}

.fm-hero-scene {
  display: grid;
  min-height: 278px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  padding-top: 20px;
}

.fm-hero-product {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 0;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 18px 14px rgba(31, 42, 46, 0.12));
}

.fm-hero-product img {
  height: 148px;
  mix-blend-mode: multiply;
}

.fm-hero-product span {
  display: none;
}

.fm-hero-product--1 {
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: auto;
}

.fm-hero-product--1 img {
  height: 186px;
}

.fm-hero-product--2 {
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: auto;
}

.fm-hero-product--3 {
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: auto;
}

.fm-hero-product--4 {
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: auto;
}

.fm-hero-product--5 {
  display: none;
}

.fm-section {
  margin: 36px 0;
}

.fm-section-head,
.fm-list-head {
  margin-bottom: 14px;
}

.fm-section h2,
.fm-list-head h2 {
  font-size: 24px;
}

.fm-category-grid {
  gap: 12px;
}

.fm-category-card {
  min-height: 168px;
  padding: 16px 14px;
  border-color: #dbeaf2;
  box-shadow: 0 12px 26px rgba(0, 118, 182, 0.06);
}

.fm-category-image {
  height: 92px;
}

.fm-category-image img {
  height: 90px;
}

.fm-category-card strong,
.fm-tool-card strong,
.fm-guide-card strong {
  font-size: 15px;
}

.fm-product-grid,
.fm-ranking-row,
.fm-trend-grid,
.fm-tools-grid {
  gap: 12px;
}

.fm-product-carousel {
  grid-auto-columns: 170px;
  gap: 12px;
  padding-bottom: 14px;
}

.fm-product-carousel .fm-product-card {
  min-width: 170px;
}

.fm-product-card {
  border-color: #dceaf1;
  box-shadow: 0 12px 26px rgba(0, 118, 182, 0.055);
}

.fm-product-thumb {
  min-height: 148px;
  padding: 14px 14px 6px;
  background: #fff;
}

.fm-product-thumb img {
  max-height: 126px;
}

.fm-product-body {
  padding: 11px 12px 13px;
}

.fm-product-title {
  min-height: 39px;
  margin-bottom: 7px;
  font-size: 13px;
  line-height: 1.5;
}

.fm-product-price {
  font-size: 13px;
}

.fm-product-meta {
  margin-top: 8px;
}

.fm-product-meta span {
  min-height: 21px;
  font-size: 10px;
}

.fm-card-heart {
  width: 24px;
  height: 24px;
  right: 10px;
  bottom: 10px;
}

.fm-badge {
  min-height: 20px;
  padding: 0 7px;
  font-size: 10px;
}

.fm-rank-badge {
  width: 26px;
  height: 26px;
}

.fm-campaign-band {
  min-height: 168px;
  grid-template-columns: minmax(0, 1fr) 340px;
  padding: 24px 34px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.28)),
    linear-gradient(135deg, #fff5f8 0%, #ffdbe7 54%, #fff7fb 100%);
}

.fm-campaign-band h2 {
  font-size: 40px;
}

.fm-campaign-band h2 a {
  color: #d93665;
}

.fm-campaign-band .fm-button,
.fm-campaign-band .fm-button:hover {
  color: #fff;
}

.fm-campaign-products img {
  width: 104px;
  height: 124px;
}

.fm-tool-card {
  min-height: 104px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.fm-tool-card .fm-category-mark {
  flex: 0 0 auto;
}

.fm-trend-card img {
  height: 118px;
}

.fm-archive-hero,
.fm-page-hero,
.fm-detail-hero,
.fm-content-panel {
  border-color: #dceaf1;
  box-shadow: 0 14px 32px rgba(0, 118, 182, 0.055);
}

.fm-archive-hero {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 62%, #edf9ff 100%);
}

.fm-archive-hero::after {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 36px;
  height: 15px;
  border-radius: 15px 3px;
  background: #b9e17b;
  box-shadow: -48px 36px 0 #9fd861, 46px 62px 0 #c4e78d;
  content: "";
  opacity: 0.75;
  transform: rotate(-18deg);
}

.fm-archive-hero .fm-search {
  margin-top: 18px;
}

.fm-category-rail {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.fm-category-rail .fm-category-card {
  min-height: 124px;
  padding: 12px;
}

.fm-toolbar {
  padding: 11px;
  border-color: #dceaf1;
  box-shadow: 0 10px 22px rgba(0, 118, 182, 0.045);
}

.fm-view-toggle {
  background: #f7fbfd;
}

.fm-detail-hero {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  padding: 32px;
}

.fm-detail-image {
  min-height: 340px;
  padding: 18px;
  border-color: #dceaf1;
  background: #fff;
}

.fm-detail-image img {
  width: min(100%, 460px);
  height: auto;
  max-height: none;
}

.fm-detail-copy h1 {
  font-size: 34px;
}

.fm-detail-info-grid {
  gap: 16px;
}

.fm-content-panel {
  padding: 24px;
}

.fm-recent-row {
  display: grid;
  grid-auto-columns: 160px;
  grid-auto-flow: column;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 16px;
  scroll-snap-type: x mandatory;
}

.fm-recent-row .fm-product-card {
  min-width: 160px;
  scroll-snap-align: start;
}

.fm-recent-row .fm-product-thumb {
  min-height: 122px;
}

.fm-recent-row .fm-product-thumb img {
  max-height: 100px;
}

.fm-newsletter-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 20px 0 24px;
  padding: 22px 28px;
  border: 1px solid #dceaf1;
  border-radius: 8px;
  background: linear-gradient(90deg, #f7fbff 0%, #ffffff 100%);
  box-shadow: 0 14px 32px rgba(0, 118, 182, 0.055);
}

.fm-newsletter-icon {
  position: relative;
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #b7dccd;
  border-radius: 999px;
  background: #effaf5;
  color: transparent;
}

.fm-newsletter-icon::before,
.fm-newsletter-icon::after {
  position: absolute;
  content: "";
}

.fm-newsletter-icon::before {
  top: 17px;
  left: 13px;
  width: 28px;
  height: 20px;
  border: 2px solid var(--fm-green);
  border-radius: 3px;
}

.fm-newsletter-icon::after {
  top: 15px;
  left: 16px;
  width: 22px;
  height: 22px;
  border-right: 2px solid var(--fm-green);
  border-bottom: 2px solid var(--fm-green);
  transform: translateY(-6px) rotate(45deg);
}

.fm-newsletter-band strong,
.fm-newsletter-band span {
  display: block;
}

.fm-newsletter-band strong {
  font-size: 18px;
}

.fm-newsletter-band span {
  color: var(--fm-muted);
  font-weight: 700;
}

.fm-landing .fm-page-hero {
  margin-top: 24px;
}

.fm-landing-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.fm-landing-link-card {
  min-height: 112px;
}

.fm-landing .fm-content-panel .fm-search {
  margin-top: 14px;
}

/* Product discovery refinements. */
.fm-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  width: min(620px, 100%);
  min-height: 56px;
  padding: 0;
  border: 1px solid #cfe1eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 118, 182, 0.08);
  overflow: hidden;
}

.fm-search::before {
  display: none;
  content: none;
}

.fm-search input[type="search"] {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--fm-text);
  font-size: 15px;
  outline: 0;
}

.fm-search button {
  position: relative;
  min-width: 64px;
  min-height: 56px;
  border-radius: 0;
  color: #fff;
  font-size: 0;
}

.fm-search-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
}

.fm-search-icon::before {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border: 3px solid #fff;
  border-radius: 999px;
  content: "";
}

.fm-search-icon::after {
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: center;
  content: "";
}

.fm-search-label {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.fm-hero-grid {
  grid-template-columns: minmax(500px, 0.95fr) minmax(430px, 1.05fr);
}

.fm-hero-scene {
  display: grid;
  width: min(100%, 372px);
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  justify-self: center;
  gap: 0;
  padding: 0;
  border-radius: 8px;
  background: transparent;
}

.fm-hero-product,
.fm-hero-product--1,
.fm-hero-product--2,
.fm-hero-product--3,
.fm-hero-product--4 {
  position: relative;
  inset: auto;
  display: flex;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(214, 232, 240, 0.86);
  background: rgba(255, 255, 255, 0.9);
  filter: none;
}

.fm-hero-product:first-child {
  border-radius: 8px 0 0 0;
}

.fm-hero-product:nth-child(2) {
  border-radius: 0 8px 0 0;
}

.fm-hero-product:nth-child(3) {
  border-radius: 0 0 0 8px;
}

.fm-hero-product:nth-child(4) {
  border-radius: 0 0 8px 0;
}

.fm-hero-product img,
.fm-hero-product--1 img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.fm-product-card--summary .fm-product-title {
  min-height: 39px;
  margin-bottom: 7px;
}

.fm-product-summary {
  display: -webkit-box;
  overflow: hidden;
  min-height: 48px;
  margin: 0 0 8px;
  color: #506168;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.fm-product-carousel .fm-product-card--summary {
  min-width: 184px;
}

.fm-product-carousel {
  grid-auto-columns: 184px;
}

.fm-tool-card {
  min-height: 118px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  flex-direction: row;
  justify-content: flex-start;
}

.fm-tool-eyecatch {
  display: inline-flex !important;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  margin-top: 0 !important;
  border-radius: 8px;
  background: #eaf6ff;
  color: var(--fm-blue-dark) !important;
  font-size: 18px !important;
  font-weight: 900;
}

.fm-tool-eyecatch--image {
  overflow: hidden;
  background: #f1f8fc;
}

.fm-tool-eyecatch--image img {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.fm-tool-card--store .fm-tool-eyecatch {
  background: #e9f7ff;
}

.fm-tool-card--pay .fm-tool-eyecatch {
  background: #edf9f3;
  color: var(--fm-green-dark) !important;
}

.fm-tool-card--calendar .fm-tool-eyecatch {
  background: #eef6ff;
}

.fm-tool-card--nutrition .fm-tool-eyecatch {
  background: #f0f8ee;
  color: var(--fm-green-dark) !important;
}

.fm-tool-copy {
  display: flex !important;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-top: 0 !important;
  color: inherit !important;
}

.fm-tool-copy strong {
  font-size: 16px;
  line-height: 1.55;
}

.fm-tool-copy span {
  margin-top: 0 !important;
  color: var(--fm-muted) !important;
  font-size: 12px !important;
  line-height: 1.6;
}

.fm-gateway-panel {
  margin-top: 30px;
}

.fm-gateway-action {
  margin: 22px 0 0;
}

.fm-gateway-action .fm-button,
.fm-gateway-action .fm-button:hover {
  color: #fff;
}

.fm-landing-link-card .fm-tool-eyecatch--image {
  background: #f2f9ff;
}

.fm-landing-link-card--calendar .fm-tool-eyecatch--image img {
  width: 88%;
  height: 88%;
}

.fm-landing--categories .fm-category-card {
  min-height: 192px;
}

.fm-landing--categories .fm-category-image {
  height: 120px;
}

.fm-landing--categories .fm-category-image img {
  height: 118px;
}

.fm-landing--ranking .fm-product-thumb {
  min-height: 210px;
  padding: 20px 18px 10px;
}

.fm-landing--ranking .fm-product-thumb img {
  max-height: 176px;
}

.fm-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.fm-sitemap-group {
  padding: 22px;
  border: 1px solid var(--fm-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 42, 46, 0.05);
}

.fm-sitemap-group h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.fm-sitemap-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
}

.fm-sitemap-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #42545c;
  font-size: 13px;
  font-weight: 700;
}

.fm-sitemap-links a::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 999px;
  background: var(--fm-green);
  content: "";
}

.fm-article-panel + .fm-article-panel {
  margin-top: 18px;
}

.fm-article-lead {
  margin: 0;
  color: #26343a;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.fm-article-panel h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: 0;
}

.fm-article-panel p {
  margin: 0;
  color: #42545c;
  line-height: 1.9;
}

.fm-article-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 1.2em;
  color: #42545c;
  font-weight: 700;
  line-height: 1.7;
}

.fm-article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media screen and (max-width: 1023px) {
  .fm-header-shell {
    grid-template-columns: auto auto;
  }

  .fm-global-nav {
    display: none;
  }

  .fm-hero-grid,
  .fm-detail-hero,
  .fm-detail-search-panel {
    grid-template-columns: 1fr;
  }

  .fm-product-grid,
  .fm-category-grid,
  .fm-tools-grid,
  .fm-landing-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fm-category-rail,
  .fm-ranking-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fm-campaign-band {
    grid-template-columns: 1fr;
  }

  .fm-hero::before,
  .fm-archive-hero::after {
    display: none;
  }
}

@media screen and (max-width: 834px) {
  .fm-header-shell,
  .fm-footer-shell,
  .fm-shell {
    width: min(100% - 22px, 720px);
  }

  .fm-hero {
    padding: 28px 0 22px;
  }

  .fm-hero h1 {
    font-size: 34px;
  }

  .fm-hero-copy {
    white-space: normal;
  }

  .fm-section h2,
  .fm-list-head h2,
  .fm-content-panel h2 {
    font-size: 22px;
  }

  .fm-campaign-band h2 {
    font-size: 32px;
  }

  .fm-detail-copy h1,
  .fm-archive-hero h1,
  .fm-page-hero h1 {
    font-size: 30px;
  }

  .fm-archive-hero,
  .fm-page-hero,
  .fm-detail-hero,
  .fm-detail-search-panel,
  .fm-content-panel {
    padding: 20px;
  }

  .fm-product-grid,
  .fm-category-grid,
  .fm-product-items,
  .fm-tools-grid,
  .fm-trend-grid,
  .fm-detail-info-grid,
  .fm-product-combo,
  .fm-guide-grid,
  .fm-landing-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fm-stats {
    grid-template-columns: 1fr;
  }

  .fm-hero-scene {
    min-height: 260px;
  }

  .fm-newsletter-band {
    grid-template-columns: auto 1fr;
  }

  .fm-newsletter-band .fm-button {
    grid-column: 1 / -1;
  }

  .fm-footer-top,
  .fm-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .fm-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }

  .fm-footer-columns > div:last-child {
    grid-column: 1 / -1;
  }

  .fm-footer-columns > div:last-child a {
    display: inline-block;
    margin-right: 16px;
  }

  .fm-sitemap-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .fm-page {
    font-size: 14px;
  }

  .fm-hero h1 {
    font-size: 30px;
  }

  .fm-section h2,
  .fm-list-head h2,
  .fm-content-panel h2 {
    font-size: 20px;
  }

  .fm-detail-copy h1,
  .fm-archive-hero h1,
  .fm-page-hero h1 {
    font-size: 26px;
  }

  .fm-section-head,
  .fm-list-head,
  .fm-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .fm-search {
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr) 56px;
  }

  .fm-search button {
    width: 56px;
    min-width: 56px;
  }

  .fm-hero-products {
    grid-template-columns: 1fr;
  }

  .fm-header-actions {
    gap: 4px;
  }

  .fm-icon-button {
    min-width: 44px;
    min-height: 44px;
  }

  .fm-icon-button small {
    display: none;
  }

  .fm-hero-product {
    position: static;
    width: auto;
    height: auto;
  }

  .fm-hero-product img {
    height: 100%;
  }

  .fm-hero-scene {
    display: grid;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .fm-product-grid,
  .fm-category-rail,
  .fm-ranking-row,
  .fm-trend-grid,
  .fm-detail-info-grid,
  .fm-product-combo,
  .fm-guide-grid,
  .fm-landing-link-grid {
    grid-template-columns: 1fr;
  }

  .fm-category-grid,
  .fm-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .fm-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .fm-product-items {
    grid-template-columns: 1fr;
  }

  .fm-product-card {
    min-height: 232px;
  }

  .fm-product-thumb {
    min-height: 118px;
    padding: 12px 10px 6px;
  }

  .fm-product-thumb img {
    max-height: 104px;
  }

  .fm-no-image {
    min-height: 94px;
    font-size: 10.5px;
  }

  .fm-product-body {
    padding: 10px;
  }

  .fm-product-title {
    min-height: 38px;
    margin-bottom: 6px;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .fm-product-price {
    font-size: 12.5px;
  }

  .fm-product-meta {
    gap: 4px;
    margin-top: 8px;
  }

  .fm-product-meta span {
    min-height: 20px;
    padding: 0 6px;
    font-size: 10px;
  }

  .fm-card-heart {
    display: none;
  }

  .fm-category-card {
    min-height: 138px;
    gap: 7px;
    padding: 12px 8px;
  }

  .fm-category-image {
    height: 66px;
  }

  .fm-category-image img {
    height: 64px;
  }

  .fm-category-card strong {
    font-size: 14px;
    line-height: 1.35;
  }

  .fm-category-card span {
    font-size: 10.5px;
    line-height: 1.45;
  }

  .fm-landing--categories .fm-category-card {
    min-height: 154px;
  }

  .fm-landing--categories .fm-category-image {
    height: 80px;
  }

  .fm-landing--categories .fm-category-image img {
    height: 78px;
  }

  .fm-landing--ranking .fm-product-thumb {
    min-height: 188px;
  }

  .fm-landing--ranking .fm-product-thumb img {
    max-height: 156px;
  }

  .fm-product-grid.is-list .fm-product-card {
    grid-template-columns: 1fr;
  }

  .fm-fact-table {
    grid-template-columns: 1fr;
  }

  .fm-fact-table dt {
    border-bottom: 0;
  }

  .fm-quality-head,
  .fm-summary-points__head,
  .fm-two-column-list {
    grid-template-columns: 1fr;
  }

  .fm-summary-points__grid {
    grid-template-columns: 1fr;
  }

  .fm-related-search-links__grid {
    grid-template-columns: 1fr;
  }

  .fm-quality-badge {
    justify-content: center;
    white-space: normal;
  }

  .fm-recent-row {
    grid-auto-columns: 72%;
  }

  .fm-newsletter-band {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .fm-newsletter-band .fm-button {
    width: 100%;
  }

  .fm-tool-card {
    flex-direction: column;
    align-items: center;
    min-height: 156px;
    justify-content: center;
    padding: 14px 10px;
    text-align: center;
  }

  .fm-tool-eyecatch {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .fm-tool-copy {
    align-items: center;
    gap: 3px;
  }

  .fm-tool-copy strong {
    font-size: 14px;
    line-height: 1.45;
  }

  .fm-tool-copy span {
    font-size: 10.5px !important;
    line-height: 1.45;
  }

  .fm-article-lead {
    font-size: 15px;
  }

  .fm-article-links .fm-button {
    width: 100%;
  }

  .fm-footer-shell {
    padding: 26px 0 22px;
  }

  .fm-footer-top {
    gap: 10px;
    padding-bottom: 18px;
  }

  .fm-footer-top p {
    font-size: 12px;
    line-height: 1.6;
  }

  .fm-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
    padding: 20px 0;
  }

  .fm-footer-columns strong {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .fm-footer-columns a {
    margin: 6px 0;
    font-size: 12px;
    line-height: 1.35;
  }

  .fm-footer-columns > div:last-child {
    grid-column: 1 / -1;
  }

  .fm-footer-columns > div:last-child a {
    display: inline-block;
    margin-right: 14px;
  }

  .fm-footer-bottom {
    gap: 6px;
    padding-top: 14px;
    font-size: 11px;
  }

  .fm-sitemap-group {
    padding: 18px;
  }

  .fm-sitemap-links {
    grid-template-columns: 1fr;
  }
}
