.maroan-product-variants {
  margin: 0 0 1.5rem;
  padding: 1rem 1.05rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.maroan-product-variants__title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
}

.maroan-byoubu-spec-guide {
  margin: 0 0 1rem;
}

.maroan-byoubu-spec-guide__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.maroan-byoubu-spec-guide__table {
  width: 100%;
  min-width: 520px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.maroan-byoubu-spec-guide__table thead th {
  padding: 0.7rem 1rem;
  background: var(--mf-moss, #3a4b05);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.maroan-byoubu-spec-guide__table thead th + th {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.maroan-byoubu-spec-guide__table tbody td {
  width: 50%;
  vertical-align: top;
  padding: 0.95rem;
  background: #fffdf9;
}

.maroan-byoubu-spec-guide__table tbody td + td {
  border-left: 1px solid #e8dfd4;
}

.maroan-byoubu-spec-guide__figure {
  margin: 0 0 0.75rem;
}

.maroan-byoubu-spec-guide__figure img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(28, 36, 20, 0.1);
}

.maroan-byoubu-spec-guide__text {
  font-size: 0.84rem;
  line-height: 1.75;
  color: #475569;
}

.maroan-byoubu-spec-guide__name {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mf-ink, #1c2414);
}

.maroan-byoubu-spec-guide__text p {
  margin: 0 0 0.55rem;
}

.maroan-byoubu-spec-guide__text p:last-child {
  margin-bottom: 0;
}

.maroan-product-variants__lead {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #4b5563;
}

.maroan-product-variants__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.maroan-product-variants__pill,
.maroan-product-variants__pill.is-current {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.maroan-product-variants__pill {
  color: #1d4ed8;
  background: #fff;
  border: 1px solid #bfdbfe;
}

.maroan-product-variants__pill:hover,
.maroan-product-variants__pill:focus-visible {
  color: #1e3a8a;
  background: #eff6ff;
}

.maroan-product-variants__pill.is-current {
  color: #fff;
  background: #1d4ed8;
  border: 1px solid #1d4ed8;
}

.maroan-product-variants__table-wrap {
  overflow-x: auto;
}

.maroan-product-variants__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.maroan-product-variants__table--storage {
  min-width: 320px;
}

.maroan-product-variants__table--storage tbody th {
  text-align: left;
}

.maroan-product-variants__table th,
.maroan-product-variants__table td {
  padding: 0.55rem 0.65rem;
  border: 1px solid #dbe3ec;
  text-align: center;
  vertical-align: middle;
}

.maroan-product-variants__table thead th {
  background: #eef2f7;
  font-weight: 700;
  color: #334155;
}

.maroan-product-variants__table tbody th {
  background: #f8fafc;
  font-weight: 700;
  white-space: nowrap;
}

.maroan-product-variants__cell-link {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}

.maroan-product-variants__cell-link:hover,
.maroan-product-variants__cell-link:focus-visible {
  text-decoration: underline;
}

.maroan-product-variants__cell-current {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e3a8a;
  font-size: 0.78rem;
  font-weight: 700;
}

.maroan-product-variants__cell-empty {
  color: #94a3b8;
}

@media (max-width: 640px) {
  .maroan-product-variants {
    padding: 0.85rem 0.8rem;
  }

  .maroan-byoubu-spec-guide__table {
    min-width: 0;
  }

  .maroan-byoubu-spec-guide__table thead {
    display: none;
  }

  .maroan-byoubu-spec-guide__table tbody,
  .maroan-byoubu-spec-guide__table tr,
  .maroan-byoubu-spec-guide__table td {
    display: block;
    width: 100%;
  }

  .maroan-byoubu-spec-guide__table tbody td + td {
    border-left: 0;
    border-top: 1px solid #e8dfd4;
  }

  .maroan-byoubu-spec-guide__table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: var(--mf-moss, #3a4b05);
  }

  .maroan-product-variants__table {
    min-width: 460px;
    font-size: 0.8rem;
  }
}